LLVM: lib/Target/AArch64/AArch64FastISel.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static bool isIntExtFree (const Instruction *I)
Check if the sign-/zero-extend will be a noop.
static unsigned getImplicitScaleFactor (MVT VT)
Determine the implicit scale factor that is applied by a memory operation for a given value type.
static bool isMulPowOf2 (const Value *I)
Check if the multiply is by a power-of-2 constant.
static AArch64CC::CondCode getCompareCC (CmpInst::Predicate Pred)
static bool isZExtLoad (const MachineInstr *LI)
static bool isSExtLoad (const MachineInstr *LI)

getCompareCC()

Definition at line 2207 of file AArch64FastISel.cpp.

References llvm::AArch64CC::AL, llvm::AArch64CC::EQ, llvm::CmpInst::FCMP_OEQ, llvm::CmpInst::FCMP_OGE, llvm::CmpInst::FCMP_OGT, llvm::CmpInst::FCMP_OLE, llvm::CmpInst::FCMP_OLT, llvm::CmpInst::FCMP_ONE, llvm::CmpInst::FCMP_ORD, llvm::CmpInst::FCMP_UEQ, llvm::CmpInst::FCMP_UGE, llvm::CmpInst::FCMP_UGT, llvm::CmpInst::FCMP_ULE, llvm::CmpInst::FCMP_ULT, llvm::CmpInst::FCMP_UNE, llvm::CmpInst::FCMP_UNO, llvm::AArch64CC::GE, llvm::AArch64CC::GT, llvm::AArch64CC::HI, llvm::AArch64CC::HS, llvm::CmpInst::ICMP_EQ, llvm::CmpInst::ICMP_NE, llvm::CmpInst::ICMP_SGE, llvm::CmpInst::ICMP_SGT, llvm::CmpInst::ICMP_SLE, llvm::CmpInst::ICMP_SLT, llvm::CmpInst::ICMP_UGE, llvm::CmpInst::ICMP_UGT, llvm::CmpInst::ICMP_ULE, llvm::CmpInst::ICMP_ULT, llvm::AArch64CC::LE, llvm::AArch64CC::LO, llvm::AArch64CC::LS, llvm::AArch64CC::LT, llvm::AArch64CC::MI, llvm::AArch64CC::NE, llvm::AArch64CC::PL, llvm::AArch64CC::VC, and llvm::AArch64CC::VS.

getImplicitScaleFactor()

isIntExtFree()

isMulPowOf2()

isSExtLoad()

isZExtLoad()