Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/IR/
HDConstantFold.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()
1947 return ConstantExpr::getICmp(pred, Inverse, CE2Op0); in ConstantFoldCompareInstruction()
1962 return ConstantExpr::getICmp(pred, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction()
1973 return ConstantExpr::getICmp(pred, C2, C1); in ConstantFoldCompareInstruction()
HDConstants.cpp2008 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2074 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
HDCore.cpp1136 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp1047 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShrCst() local
1071 return getICmp(I.ICMP_UGT, A, in FoldICmpCstShrCst()
1075 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShrCst()
1088 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShrCst()
1107 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in FoldICmpCstShlCst() local
1123 return getICmp(I.ICMP_UGE, A, in FoldICmpCstShlCst()
1127 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in FoldICmpCstShlCst()
1133 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in FoldICmpCstShlCst()
3108 Op1 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst()
3112 Op2 = ConstantExpr::getICmp(I.getPredicate(), C, RHSC); in visitICmpInst()
HDInstCombineAndOrXor.cpp303 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ? in InsertRangeTest()
/NextBSD/contrib/llvm/include/llvm/IR/
HDConstants.h1083 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/NextBSD/contrib/llvm/lib/Analysis/IPA/
HDInlineCost.cpp574 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
/NextBSD/contrib/llvm/lib/Analysis/
HDInstructionSimplify.cpp2009 return ConstantExpr::getICmp(Pred, LHSOffset, RHSOffset); in computePointerICmp()
2078 return ConstantExpr::getICmp(Pred, in computePointerICmp()
3001 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
HDScalarEvolution.cpp5303 Result = ConstantExpr::getICmp(predicate, Result, RHS); in ComputeLoadConstantCompareExitLimit()
6112 dyn_cast<ConstantInt>(ConstantExpr::getICmp(CmpInst::ICMP_ULT, in HowFarToZero()
6299 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
7538 dyn_cast<ConstantInt>(ConstantExpr::getICmp(ICmpInst::ICMP_ULT, in getNumIterationsInRange()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDSimplifyCFG.cpp3980 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
3988 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/NextBSD/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp2506 V = ConstantExpr::getICmp(Record[3], Op0, Op1); in parseConstants()
/NextBSD/contrib/llvm/lib/AsmParser/
HDLLParser.cpp2722 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()