/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 199 FCmp32Libcalls.resize(CmpInst::LAST_FCMP_PREDICATE + 1); in setFCmpLibcallsAEABI() 200 FCmp32Libcalls[CmpInst::FCMP_OEQ] = { in setFCmpLibcallsAEABI() 201 {RTLIB::OEQ_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI() 202 FCmp32Libcalls[CmpInst::FCMP_OGE] = { in setFCmpLibcallsAEABI() 203 {RTLIB::OGE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI() 204 FCmp32Libcalls[CmpInst::FCMP_OGT] = { in setFCmpLibcallsAEABI() 205 {RTLIB::OGT_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI() 206 FCmp32Libcalls[CmpInst::FCMP_OLE] = { in setFCmpLibcallsAEABI() 207 {RTLIB::OLE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI() 208 FCmp32Libcalls[CmpInst::FCMP_OLT] = { in setFCmpLibcallsAEABI() [all …]
|
D | ARMInstructionSelector.cpp | 286 getComparePreds(CmpInst::Predicate Pred) { in getComparePreds() 289 case CmpInst::FCMP_ONE: in getComparePreds() 292 case CmpInst::FCMP_UEQ: in getComparePreds() 295 case CmpInst::ICMP_EQ: in getComparePreds() 296 case CmpInst::FCMP_OEQ: in getComparePreds() 299 case CmpInst::ICMP_SGT: in getComparePreds() 300 case CmpInst::FCMP_OGT: in getComparePreds() 303 case CmpInst::ICMP_SGE: in getComparePreds() 304 case CmpInst::FCMP_OGE: in getComparePreds() 307 case CmpInst::ICMP_UGT: in getComparePreds() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 98 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV1)->isOneValue()); in TEST_F() 99 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F() 100 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue()); in TEST_F() 101 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV1)->isZeroValue()); in TEST_F() 102 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV1)->isZeroValue()); in TEST_F() 103 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGT, I1Ty, LV1)->isZeroValue()); in TEST_F() 108 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue()); in TEST_F() 109 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue()); in TEST_F() 110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F() 111 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV2)->isZeroValue()); in TEST_F() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 131 CmpInst::Predicate &LLVMPredicate) { in DecodeFcmpPredicate() 134 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate() 137 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate() 140 LLVMPredicate = CmpInst::FCMP_OEQ; in DecodeFcmpPredicate() 143 LLVMPredicate = CmpInst::FCMP_OGT; in DecodeFcmpPredicate() 146 LLVMPredicate = CmpInst::FCMP_OGE; in DecodeFcmpPredicate() 149 LLVMPredicate = CmpInst::FCMP_OLT; in DecodeFcmpPredicate() 152 LLVMPredicate = CmpInst::FCMP_OLE; in DecodeFcmpPredicate() 155 LLVMPredicate = CmpInst::FCMP_ONE; in DecodeFcmpPredicate() 158 LLVMPredicate = CmpInst::FCMP_ORD; in DecodeFcmpPredicate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 85 void convertFCmp(CmpInst &I); 88 void convertICmp(CmpInst &I); 122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp() 144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp() 145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp() 150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp() 151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp() 205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp() 207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp() 209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp() [all …]
|
D | SystemZTargetTransformInfo.cpp | 583 if (CmpInst *CI = dyn_cast<CmpInst>(I->getOperand(0))) in getCmpOpsType() 587 if (CmpInst *CI0 = dyn_cast<CmpInst>(LogicI->getOperand(0))) in getCmpOpsType() 588 if (isa<CmpInst>(LogicI->getOperand(1))) in getCmpOpsType() 740 switch (cast<CmpInst>(I)->getPredicate()) { in getCmpSelInstrCost() 741 case CmpInst::Predicate::ICMP_NE: in getCmpSelInstrCost() 742 case CmpInst::Predicate::ICMP_UGE: in getCmpSelInstrCost() 743 case CmpInst::Predicate::ICMP_ULE: in getCmpSelInstrCost() 744 case CmpInst::Predicate::ICMP_SGE: in getCmpSelInstrCost() 745 case CmpInst::Predicate::ICMP_SLE: in getCmpSelInstrCost() 748 case CmpInst::Predicate::FCMP_ONE: in getCmpSelInstrCost() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 85 void convertFCmp(CmpInst &I); 88 void convertICmp(CmpInst &I); 122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp() 144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp() 145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp() 150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp() 151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp() 205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp() 207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp() 209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 34 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ)); in describeFuzzerIntOps() 35 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE)); in describeFuzzerIntOps() 36 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT)); in describeFuzzerIntOps() 37 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGE)); in describeFuzzerIntOps() 38 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT)); in describeFuzzerIntOps() 39 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE)); in describeFuzzerIntOps() 40 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT)); in describeFuzzerIntOps() 41 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE)); in describeFuzzerIntOps() 42 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT)); in describeFuzzerIntOps() 43 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE)); in describeFuzzerIntOps() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 82 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred() 84 case CmpInst::FCMP_OEQ: in mapFCmpPred() 85 case CmpInst::FCMP_UEQ: in mapFCmpPred() 86 return CmpInst::ICMP_EQ; in mapFCmpPred() 87 case CmpInst::FCMP_OGT: in mapFCmpPred() 88 case CmpInst::FCMP_UGT: in mapFCmpPred() 89 return CmpInst::ICMP_SGT; in mapFCmpPred() 90 case CmpInst::FCMP_OGE: in mapFCmpPred() 91 case CmpInst::FCMP_UGE: in mapFCmpPred() 92 return CmpInst::ICMP_SGE; in mapFCmpPred() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 82 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred() 84 case CmpInst::FCMP_OEQ: in mapFCmpPred() 85 case CmpInst::FCMP_UEQ: in mapFCmpPred() 86 return CmpInst::ICMP_EQ; in mapFCmpPred() 87 case CmpInst::FCMP_OGT: in mapFCmpPred() 88 case CmpInst::FCMP_UGT: in mapFCmpPred() 89 return CmpInst::ICMP_SGT; in mapFCmpPred() 90 case CmpInst::FCMP_OGE: in mapFCmpPred() 91 case CmpInst::FCMP_UGE: in mapFCmpPred() 92 return CmpInst::ICMP_SGE; in mapFCmpPred() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LibCallsShrinkWrap.cpp | 104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond() 105 CmpInst::Predicate Cmp2, float Val2) { in createOrCond() 114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond() 123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond() 149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly() 160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly() 169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly() 177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly() 238 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors() 257 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 73 CmpInst::Predicate &NewICmpPred) { in getICmpValue() 77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); in getICmpValue() 85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1); in getICmpValue() 93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) || in PredicatesFoldable() 94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable() 95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 44 CmpInst::Predicate &NewICmpPred) { in getICmpValue() 48 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); in getICmpValue() 56 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1); in getICmpValue() 62 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) || in PredicatesFoldable() 63 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable() 64 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable() 68 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 76 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() 123 static bool isSameCompare(Value *V, CmpInst::Predicate Pred, Value *LHS, in isSameCompare() 125 CmpInst *Cmp = dyn_cast<CmpInst>(V); in isSameCompare() 128 CmpInst::Predicate CPred = Cmp->getPredicate(); in isSameCompare() 132 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 397 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect() 407 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect() 522 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, in ThreadCmpOverPHI() 531 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverPHI() 994 if (isICmpTrue(CmpInst::ICMP_SLT, Y, NegDividendC, Q, MaxRecurse) || in isDivZero() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FastISel.cpp | 890 const CmpInst *CI = cast<CmpInst>(I); in X86SelectCmp() 900 case CmpInst::FCMP_OEQ: { in X86SelectCmp() 914 case CmpInst::FCMP_UNE: { in X86SelectCmp() 927 case CmpInst::FCMP_OGT: SwapArgs = false; SetCCOpc = X86::SETAr; break; in X86SelectCmp() 928 case CmpInst::FCMP_OGE: SwapArgs = false; SetCCOpc = X86::SETAEr; break; in X86SelectCmp() 929 case CmpInst::FCMP_OLT: SwapArgs = true; SetCCOpc = X86::SETAr; break; in X86SelectCmp() 930 case CmpInst::FCMP_OLE: SwapArgs = true; SetCCOpc = X86::SETAEr; break; in X86SelectCmp() 931 case CmpInst::FCMP_ONE: SwapArgs = false; SetCCOpc = X86::SETNEr; break; in X86SelectCmp() 932 case CmpInst::FCMP_ORD: SwapArgs = false; SetCCOpc = X86::SETNPr; break; in X86SelectCmp() 933 case CmpInst::FCMP_UNO: SwapArgs = false; SetCCOpc = X86::SETPr; break; in X86SelectCmp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 404 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect() 415 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect() 504 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, in ThreadCmpOverPHI() 514 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverPHI() 1396 return CmpInst::makeCmpResultType(Op->getType()); in GetCompareTy() 1402 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, in ExtractEquivalentCondition() 1407 CmpInst *Cmp = dyn_cast<CmpInst>(SI->getCondition()); in ExtractEquivalentCondition() 1413 if (Pred == CmpInst::getSwappedPredicate(Cmp->getPredicate()) && in ExtractEquivalentCondition() 1424 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate; in SimplifyICmpInst() 1425 assert(CmpInst::isIntPredicate(Pred) && "Not an integer compare!"); in SimplifyICmpInst() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 2205 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const { in optimizeCmpPredicate() 2207 CmpInst::Predicate Predicate = CI->getPredicate(); in optimizeCmpPredicate() 2213 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2214 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2215 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2216 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2217 case CmpInst::FCMP_OLT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2218 case CmpInst::FCMP_OLE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2219 case CmpInst::FCMP_ONE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2220 case CmpInst::FCMP_ORD: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | CmpInstAnalysis.h | 57 CmpInst::Predicate &NewICmpPred); 61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2); 66 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 54 ConstantRange ConstantRange::makeAllowedICmpRegion(CmpInst::Predicate Pred, in makeAllowedICmpRegion() 63 case CmpInst::ICMP_EQ: in makeAllowedICmpRegion() 65 case CmpInst::ICMP_NE: in makeAllowedICmpRegion() 69 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion() 75 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion() 81 case CmpInst::ICMP_ULE: { in makeAllowedICmpRegion() 87 case CmpInst::ICMP_SLE: { in makeAllowedICmpRegion() 93 case CmpInst::ICMP_UGT: { in makeAllowedICmpRegion() 99 case CmpInst::ICMP_SGT: { in makeAllowedICmpRegion() 105 case CmpInst::ICMP_UGE: { in makeAllowedICmpRegion() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 2400 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const { in optimizeCmpPredicate() 2402 CmpInst::Predicate Predicate = CI->getPredicate(); in optimizeCmpPredicate() 2408 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2409 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2410 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2411 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2412 case CmpInst::FCMP_OLT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2413 case CmpInst::FCMP_OLE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() 2414 case CmpInst::FCMP_ONE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() 2415 case CmpInst::FCMP_ORD: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceConverter.cpp | 414 case CmpInst::ICMP_EQ: in convertICmpInstruction() 417 case CmpInst::ICMP_NE: in convertICmpInstruction() 420 case CmpInst::ICMP_UGT: in convertICmpInstruction() 423 case CmpInst::ICMP_UGE: in convertICmpInstruction() 426 case CmpInst::ICMP_ULT: in convertICmpInstruction() 429 case CmpInst::ICMP_ULE: in convertICmpInstruction() 432 case CmpInst::ICMP_SGT: in convertICmpInstruction() 435 case CmpInst::ICMP_SGE: in convertICmpInstruction() 438 case CmpInst::ICMP_SLT: in convertICmpInstruction() 441 case CmpInst::ICMP_SLE: in convertICmpInstruction() [all …]
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 91 static bool isSameCompare(Value *V, CmpInst::Predicate Pred, Value *LHS, in isSameCompare() 93 CmpInst *Cmp = dyn_cast<CmpInst>(V); in isSameCompare() 96 CmpInst::Predicate CPred = Cmp->getPredicate(); in isSameCompare() 100 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare() 369 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect() 379 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverSelect() 493 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, in ThreadCmpOverPHI() 502 Pred = CmpInst::getSwappedPredicate(Pred); in ThreadCmpOverPHI() 1923 return CmpInst::makeCmpResultType(Op->getType()); in GetCompareTy() 1929 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, in ExtractEquivalentCondition() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 57 ConstantRange ConstantRange::makeAllowedICmpRegion(CmpInst::Predicate Pred, in makeAllowedICmpRegion() 66 case CmpInst::ICMP_EQ: in makeAllowedICmpRegion() 68 case CmpInst::ICMP_NE: in makeAllowedICmpRegion() 72 case CmpInst::ICMP_ULT: { in makeAllowedICmpRegion() 78 case CmpInst::ICMP_SLT: { in makeAllowedICmpRegion() 84 case CmpInst::ICMP_ULE: { in makeAllowedICmpRegion() 90 case CmpInst::ICMP_SLE: { in makeAllowedICmpRegion() 96 case CmpInst::ICMP_UGT: { in makeAllowedICmpRegion() 102 case CmpInst::ICMP_SGT: { in makeAllowedICmpRegion() 108 case CmpInst::ICMP_UGE: { in makeAllowedICmpRegion() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | CmpInstAnalysis.h | 57 CmpInst::Predicate &NewICmpPred); 61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64InstructionSelector.cpp | 504 static AArch64CC::CondCode changeICMPPredToAArch64CC(CmpInst::Predicate P) { in changeICMPPredToAArch64CC() 508 case CmpInst::ICMP_NE: in changeICMPPredToAArch64CC() 510 case CmpInst::ICMP_EQ: in changeICMPPredToAArch64CC() 512 case CmpInst::ICMP_SGT: in changeICMPPredToAArch64CC() 514 case CmpInst::ICMP_SGE: in changeICMPPredToAArch64CC() 516 case CmpInst::ICMP_SLT: in changeICMPPredToAArch64CC() 518 case CmpInst::ICMP_SLE: in changeICMPPredToAArch64CC() 520 case CmpInst::ICMP_UGT: in changeICMPPredToAArch64CC() 522 case CmpInst::ICMP_UGE: in changeICMPPredToAArch64CC() 524 case CmpInst::ICMP_ULT: in changeICMPPredToAArch64CC() [all …]
|