/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1115 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShrCst() local 1139 return getICmp(I.ICMP_UGT, A, in FoldICmpCstShrCst() 1143 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst() 1156 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1157 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1159 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst() 1179 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShlCst() local 1195 return getICmp(I.ICMP_UGE, A, in FoldICmpCstShlCst() 1199 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst() 1205 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst() [all …]
|
D | InstCombineAndOrXor.cpp | 302 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1432 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1436 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1440 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation() 1948 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction() 1965 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction() 1976 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1943 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare() 2009 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
|
D | Core.cpp | 1141 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 249 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 1108 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 576 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
D | InstructionSimplify.cpp | 2009 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp() 2078 return ConstantExpr::getICmp(Pred, in computePointerICmp() 3059 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 5628 Result = ConstantExpr::getICmp(predicate, Result, RHS); in computeLoadConstantCompareExitLimit() 6578 dyn_cast<ConstantInt>(ConstantExpr::getICmp(CmpInst::ICMP_ULT, in HowFarToZero() 6811 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands() 8445 if (ConstantInt *CB = dyn_cast<ConstantInt>(ConstantExpr::getICmp( in getNumIterationsInRange()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4431 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 4439 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2875 V = ConstantExpr::getICmp(Record[3], Op0, Op1); in parseConstants()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2857 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 1070 See the method [llvm::ConstantExpr::getICmp]. *)
|