13#ifndef LLVM_LIB_TARGET_ARM_ARMFEATURES_H
14#define LLVM_LIB_TARGET_ARM_ARMFEATURES_H
20template<
typename InstrType>
23template<
typename InstrType>
25 switch (Instr->getOpcode()) {
79 return Instr->getOperand(2).getReg() != ARM::PC;
84 return Instr->getOperand(0).getReg() != ARM::PC;
86 return Instr->getOperand(0).getReg() != ARM::PC &&
87 Instr->getOperand(2).getReg() != ARM::PC;
90 return Instr->getOperand(0).getReg() != ARM::PC &&
91 Instr->getOperand(1).getReg() != ARM::PC;
InstrType
This represents what is and is not supported when finding similarity in Instructions.
This is an optimization pass for GlobalISel generic memory operations.
bool IsCPSRDead(const InstrType *Instr)
bool isV8EligibleForIT(const InstrType *Instr)