LLVM
8.0.1
|
Enumerations | |
enum | CondCode { EQ = 0x0, NE = 0x1, HS = 0x2, LO = 0x3, MI = 0x4, PL = 0x5, VS = 0x6, VC = 0x7, HI = 0x8, LS = 0x9, GE = 0xa, LT = 0xb, GT = 0xc, LE = 0xd, AL = 0xe, NV = 0xf, Invalid } |
Functions | |
static const char * | getCondCodeName (CondCode Code) |
static CondCode | getInvertedCondCode (CondCode Code) |
static unsigned | getNZCVToSatisfyCondCode (CondCode Code) |
Given a condition code, return NZCV flags that would satisfy that condition. More... | |
Enumerator | |
---|---|
EQ | |
NE | |
HS | |
LO | |
MI | |
PL | |
VS | |
VC | |
HI | |
LS | |
GE | |
LT | |
GT | |
LE | |
AL | |
NV | |
Invalid |
Definition at line 193 of file AArch64BaseInfo.h.
Definition at line 214 of file AArch64BaseInfo.h.
References AL, EQ, GE, GT, HI, HS, LE, llvm_unreachable, LO, LS, LT, MI, NE, NV, PL, VC, and VS.
Referenced by parseCond(), llvm::AArch64InstPrinter::printCondCode(), and llvm::AArch64InstPrinter::printInverseCondCode().
Definition at line 236 of file AArch64BaseInfo.h.
Referenced by changeFCMPPredToAArch64CC(), emitConditionalComparison(), emitConjunctionRec(), getAArch64Cmp(), getCompareCC(), INITIALIZE_PASS(), llvm::AArch64InstrInfo::insertSelect(), isSetCC(), LowerXALUO(), LowerXOR(), matchSVEPredicateVectorRegName(), mayTailCallThisCC(), llvm::AArch64InstrInfo::optimizeCondBranch(), parseCond(), performSetccAddFolding(), llvm::AArch64InstPrinter::printInverseCondCode(), and llvm::AArch64InstrInfo::reverseBranchCondition().
Given a condition code, return NZCV flags that would satisfy that condition.
The flag bits are in the format expected by the ccmp instructions. Note that many different flag settings can satisfy a given condition code, this function just returns one of them.
Definition at line 246 of file AArch64BaseInfo.h.
References C, EQ, GE, GT, HI, HS, LE, llvm_unreachable, LO, LS, LT, MI, N, NE, PL, VC, and VS.
Referenced by emitConditionalComparison(), and parseCond().