//===-- ARMFeatures.h - Checks for ARM instruction features -----*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file contains the code shared between ARM CodeGen and ARM MC // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_ARM_ARMFEATURES_H #define LLVM_LIB_TARGET_ARM_ARMFEATURES_H #include "MCTargetDesc/ARMMCTargetDesc.h" namespace llvm { template<typename InstrType> // could be MachineInstr or MCInst bool IsCPSRDead(const InstrType *Instr); template<typename InstrType> // could be MachineInstr or MCInst inline bool isV8EligibleForIT(const InstrType *Instr) { … } } #endif