Home
last modified time | relevance | path

Searched refs:getICmp (Results 1 – 25 of 38) 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1461 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()
DConstants.cpp1921 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/
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
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1137 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/
DConstantFold.cpp1614 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()
DConstants.cpp1579 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()
DCore.cpp836 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp274 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp273 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h784 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h1133 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/external/llvm/include/llvm/IR/
DConstants.h1066 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/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2174 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst()
2176 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst()
DInstCombineAndOrXor.cpp340 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp999 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
DInstructionSimplify.cpp2190 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/
DScalarEvolution.cpp4641 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/
DLowerTypeTests.cpp1241 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5190 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
5198 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4766 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
4774 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()

12