/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1461 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1465 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1469 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1990 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction() 2007 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction() 2018 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1921 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare() 2001 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
|
/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
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1137 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst() local 1159 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst() 1163 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst() 1176 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1177 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1179 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1196 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst() local 1209 return getICmp( in foldICmpShlConstConst() 1214 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst() 1220 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 1614 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1618 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1622 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 2117 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction() 2131 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction() 2143 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1579 return getICmp(Predicate, C1, C2); in getCompare() 1625 ConstantExpr::getICmp(unsigned short pred, Constant *LHS, Constant *RHS) { in getICmp() function in ConstantExpr 2151 Replacement = ConstantExpr::getICmp(getPredicate(), C1, C2); in replaceUsesOfWithOnConstant()
|
D | Core.cpp | 836 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 274 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 273 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 784 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 1133 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 1066 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/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2174 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst() 2176 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 340 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 999 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
D | InstructionSimplify.cpp | 2190 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp() 2262 return ConstantExpr::getICmp(Pred, in computePointerICmp() 3445 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 4641 Result = ConstantExpr::getICmp(predicate, Result, RHS); in ComputeLoadConstantCompareExitLimit() 5272 dyn_cast<ConstantInt>(ConstantExpr::getICmp(CmpInst::ICMP_ULT, in HowFarToZero() 5443 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands() 6283 dyn_cast<ConstantInt>(ConstantExpr::getICmp(ICmpInst::ICMP_ULT, in getNumIterationsInRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 1241 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 5190 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 5198 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
/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()
|