LLVM: llvm::ARMCC Namespace Reference (original) (raw)

Enumerations
enum CondCodes { EQ, NE, HS, LO, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE, AL }
Functions
static CondCodes getOppositeCondition (CondCodes CC)
static ARMCC::CondCodes getSwappedCondition (ARMCC::CondCodes CC)
getSwappedCondition - assume the flags are set by MI(a,b), return the condition code if we modify the instructions such that flags are set by MI(b,a).

CondCodes

Enumerator
EQ
NE
HS
LO
MI
PL
VS
VC
HI
LS
GE
LT
GT
LE
AL

Definition at line 30 of file ARMBaseInfo.h.

getOppositeCondition()

CondCodes llvm::ARMCC::getOppositeCondition ( CondCodes CC) inlinestatic

Definition at line 48 of file ARMBaseInfo.h.

References EQ, GE, GT, HI, HS, LE, llvm_unreachable, LO, LS, LT, MI, NE, PL, VC, and VS.

Referenced by CanInvertMVEVCMP(), llvm::ARMBaseInstrInfo::commuteInstructionImpl(), IsCMPZCSINC(), IsVPNOTEquivalent(), llvm::ARMBaseInstrInfo::optimizeSelect(), llvm::ARMTargetLowering::PerformCMOVCombine(), PerformCSETCombine(), PerformXORCombine(), llvm::ARMInstPrinter::printMandatoryInvertedPredicateOperand(), and llvm::ARMBaseInstrInfo::reverseBranchCondition().

getSwappedCondition()

ARMCC::CondCodes llvm::ARMCC::getSwappedCondition ( ARMCC::CondCodes CC) inlinestatic

getSwappedCondition - assume the flags are set by MI(a,b), return the condition code if we modify the instructions such that flags are set by MI(b,a).

Definition at line 71 of file ARMBaseInfo.h.

References AL, EQ, GE, GT, HI, HS, LE, LO, LS, LT, and NE.

Referenced by IsVPNOTEquivalent().