Home
last modified time | relevance | path

Searched refs:AArch64CC (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64ConditionOptimizer.cpp93 typedef std::tuple<int, int, AArch64CC::CondCode> CmpInfo;
99 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
101 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To,
204 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp()
206 case AArch64CC::GT: return AArch64CC::GE; in getAdjustedCmp()
207 case AArch64CC::GE: return AArch64CC::GT; in getAdjustedCmp()
208 case AArch64CC::LT: return AArch64CC::LE; in getAdjustedCmp()
209 case AArch64CC::LE: return AArch64CC::LT; in getAdjustedCmp()
218 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp()
225 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp()
[all …]
DAArch64ConditionalCompares.cpp165 AArch64CC::CondCode HeadCmpBBCC;
171 AArch64CC::CondCode CmpBBTailCC;
272 static bool parseCond(ArrayRef<MachineOperand> Cond, AArch64CC::CondCode &CC) { in parseCond()
276 CC = (AArch64CC::CondCode)(int)Cond[0].getImm(); in parseCond()
288 CC = AArch64CC::EQ; in parseCond()
293 CC = AArch64CC::NE; in parseCond()
522 HeadCmpBBCC = AArch64CC::getInvertedCondCode(HeadCmpBBCC); in canConvert()
546 CmpBBTailCC = AArch64CC::getInvertedCondCode(CmpBBTailCC); in canConvert()
548 DEBUG(dbgs() << "Head->CmpBB on " << AArch64CC::getCondCodeName(HeadCmpBBCC) in canConvert()
549 << ", CmpBB->Tail on " << AArch64CC::getCondCodeName(CmpBBTailCC) in canConvert()
[all …]
DAArch64FastISel.cpp151 bool foldXALUIntrinsic(AArch64CC::CondCode &CC, const Instruction *I,
2064 static AArch64CC::CondCode getCompareCC(CmpInst::Predicate Pred) { in getCompareCC()
2070 return AArch64CC::AL; in getCompareCC()
2073 return AArch64CC::EQ; in getCompareCC()
2076 return AArch64CC::GT; in getCompareCC()
2079 return AArch64CC::GE; in getCompareCC()
2082 return AArch64CC::HI; in getCompareCC()
2084 return AArch64CC::MI; in getCompareCC()
2087 return AArch64CC::LS; in getCompareCC()
2089 return AArch64CC::VC; in getCompareCC()
[all …]
DAArch64ISelLowering.cpp994 static AArch64CC::CondCode changeIntCCToAArch64CC(ISD::CondCode CC) { in changeIntCCToAArch64CC()
999 return AArch64CC::NE; in changeIntCCToAArch64CC()
1001 return AArch64CC::EQ; in changeIntCCToAArch64CC()
1003 return AArch64CC::GT; in changeIntCCToAArch64CC()
1005 return AArch64CC::GE; in changeIntCCToAArch64CC()
1007 return AArch64CC::LT; in changeIntCCToAArch64CC()
1009 return AArch64CC::LE; in changeIntCCToAArch64CC()
1011 return AArch64CC::HI; in changeIntCCToAArch64CC()
1013 return AArch64CC::HS; in changeIntCCToAArch64CC()
1015 return AArch64CC::LO; in changeIntCCToAArch64CC()
[all …]
DAArch64InstrInfo.cpp189 AArch64CC::CondCode CC = (AArch64CC::CondCode)(int)Cond[0].getImm(); in ReverseBranchCondition()
190 Cond[0].setImm(AArch64CC::getInvertedCondCode(CC)); in ReverseBranchCondition()
420 AArch64CC::CondCode CC; in insertSelect()
425 CC = AArch64CC::CondCode(Cond[0].getImm()); in insertSelect()
435 CC = AArch64CC::EQ; in insertSelect()
439 CC = AArch64CC::EQ; in insertSelect()
443 CC = AArch64CC::NE; in insertSelect()
447 CC = AArch64CC::NE; in insertSelect()
474 CC = AArch64CC::EQ; in insertSelect()
478 CC = AArch64CC::NE; in insertSelect()
[all …]
DAArch64BranchRelaxation.cpp347 AArch64CC::CondCode CC = (AArch64CC::CondCode)MI->getOperand(0).getImm(); in invertBccCondition()
348 CC = AArch64CC::getInvertedCondCode(CC); in invertBccCondition()
DAArch64InstrFormats.td993 MCOp.getImm() != AArch64CC::AL &&
994 MCOp.getImm() != AArch64CC::NV;
2194 AArch64CC::CondCode CC = static_cast<AArch64CC::CondCode>(N->getZExtValue());
2195 return CurDAG->getTargetConstant(AArch64CC::getInvertedCondCode(CC), MVT::i32);
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp58 AArch64CC::CondCode parseCondCodeString(StringRef Cond);
198 AArch64CC::CondCode Code;
339 AArch64CC::CondCode getCondCode() const { in getCondCode()
1595 CreateCondCode(AArch64CC::CondCode Code, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateCondCode()
2206 AArch64CC::CondCode AArch64AsmParser::parseCondCodeString(StringRef Cond) { in parseCondCodeString()
2207 AArch64CC::CondCode CC = StringSwitch<AArch64CC::CondCode>(Cond.lower()) in parseCondCodeString()
2208 .Case("eq", AArch64CC::EQ) in parseCondCodeString()
2209 .Case("ne", AArch64CC::NE) in parseCondCodeString()
2210 .Case("cs", AArch64CC::HS) in parseCondCodeString()
2211 .Case("hs", AArch64CC::HS) in parseCondCodeString()
[all …]
/external/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.cpp1051 AArch64CC::CondCode CC = (AArch64CC::CondCode)MI->getOperand(OpNum).getImm(); in printCondCode()
1052 O << AArch64CC::getCondCodeName(CC); in printCondCode()
1058 AArch64CC::CondCode CC = (AArch64CC::CondCode)MI->getOperand(OpNum).getImm(); in printInverseCondCode()
1059 O << AArch64CC::getCondCodeName(AArch64CC::getInvertedCondCode(CC)); in printInverseCondCode()
/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.h188 namespace AArch64CC {