Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1115 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 …]
DInstCombineAndOrXor.cpp302 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
/external/llvm/lib/IR/
DConstantFold.cpp1432 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()
DConstants.cpp1943 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2009 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
DCore.cpp1141 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/external/llvm/unittests/IR/
DConstantsTest.cpp249 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()
/external/llvm/include/llvm/IR/
DConstants.h1108 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/external/llvm/lib/Analysis/
DInlineCost.cpp576 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
DInstructionSimplify.cpp2009 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2078 return ConstantExpr::getICmp(Pred, in computePointerICmp()
3059 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
DScalarEvolution.cpp5628 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/
DSimplifyCFG.cpp4431 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
4439 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2875 V = ConstantExpr::getICmp(Record[3], Op0, Op1); in parseConstants()
/external/llvm/lib/AsmParser/
DLLParser.cpp2857 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1070 See the method [llvm::ConstantExpr::getICmp]. *)