Home
last modified time | relevance | path

Searched refs:getICmp (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1441 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 …]
DInstCombineAndOrXor.cpp292 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
/external/llvm/lib/IR/
DConstantFold.cpp1445 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()
DConstants.cpp1873 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
1948 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
DCore.cpp1228 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1574 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()
DConstants.cpp291 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
DCore.cpp1613 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1157 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 …]
DInstCombineSelect.cpp1300 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2, in canonicalizeClampLike()
1305 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2, in canonicalizeClampLike()
DInstCombineCalls.cpp1965 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
/external/llvm/unittests/IR/
DConstantsTest.cpp273 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
/external/llvm/include/llvm/IR/
DConstants.h1066 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h1144 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/external/llvm/lib/Analysis/
DInlineCost.cpp698 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
DInstructionSimplify.cpp2022 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2091 return ConstantExpr::getICmp(Pred, in computePointerICmp()
3114 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
DScalarEvolution.cpp6133 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/
DInlineCost.cpp1280 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
DInstructionSimplify.cpp2391 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2463 return ConstantExpr::getICmp(Pred, in computePointerICmp()
3490 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
DScalarEvolution.cpp7618 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/
DLowerTypeTests.cpp1305 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4766 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/
DSimplifyCFG.cpp5306 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
5314 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/external/llvm/lib/AsmParser/
DLLParser.cpp3021 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2726 V = ConstantExpr::getICmp(Record[3], Op0, Op1); in parseConstants()

12