/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1441 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShrCst() local 1465 return getICmp(I.ICMP_UGT, A, in FoldICmpCstShrCst() 1469 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst() 1482 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1483 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1485 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1505 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShlCst() local 1521 return getICmp(I.ICMP_UGE, A, in FoldICmpCstShlCst() 1525 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst() 1531 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst() [all …]
|
D | InstCombineAndOrXor.cpp | 292 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1445 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1449 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1453 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1965 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction() 1982 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction() 1993 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1873 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare() 1948 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
|
D | Core.cpp | 1228 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1574 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1578 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1582 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 2111 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction() 2128 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction() 2139 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 291 return match(ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_EQ, in isElementWiseEqual() 2054 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare() 2133 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
|
D | Core.cpp | 1613 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1157 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst() local 1179 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst() 1183 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst() 1196 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1197 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1199 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1216 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst() local 1229 return getICmp( in foldICmpShlConstConst() 1234 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst() 1240 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst() [all …]
|
D | InstCombineSelect.cpp | 1300 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2, in canonicalizeClampLike() 1305 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2, in canonicalizeClampLike()
|
D | InstCombineCalls.cpp | 1965 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 273 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 1066 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 1144 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 698 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
D | InstructionSimplify.cpp | 2022 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp() 2091 return ConstantExpr::getICmp(Pred, in computePointerICmp() 3114 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 6133 Result = ConstantExpr::getICmp(predicate, Result, RHS); in computeLoadConstantCompareExitLimit() 7068 if (ConstantInt *CB = dyn_cast<ConstantInt>(ConstantExpr::getICmp( in howFarToZero() 7293 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands() 8868 if (ConstantInt *CB = dyn_cast<ConstantInt>(ConstantExpr::getICmp( in getNumIterationsInRange()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 1280 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
D | InstructionSimplify.cpp | 2391 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp() 2463 return ConstantExpr::getICmp(Pred, in computePointerICmp() 3490 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 7618 Result = ConstantExpr::getICmp(predicate, Result, RHS); in computeLoadConstantCompareExitLimit() 8975 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 1305 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4766 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 4774 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 5306 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 5314 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 3021 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2726 V = ConstantExpr::getICmp(Record[3], Op0, Op1); in parseConstants()
|