Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp1422 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1426 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1430 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1880 return ConstantExpr::getICmp(Predicate, Inverse, CE2Op0); in ConstantFoldCompareInstruction()
1897 return ConstantExpr::getICmp(Predicate, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction()
1908 return ConstantExpr::getICmp(Predicate, C2, C1); in ConstantFoldCompareInstruction()
H A DConstants.cpp304 Constant *CmpEq = ConstantExpr::getICmp(ICmpInst::ICMP_EQ, C0, C1); in isElementWiseEqual()
2438 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2524 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
2698 Constant *Cmp = ConstantExpr::getICmp(CmpInst::ICMP_ULT, C1, C2); in getUMin()
H A DCore.cpp1628 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1141 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst() local
1163 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst()
1167 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1180 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1181 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1183 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1200 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst() local
1213 return getICmp( in foldICmpShlConstConst()
1218 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1224 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst()
H A DInstCombineSelect.cpp1398 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2, in canonicalizeClampLike()
1403 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2, in canonicalizeClampLike()
H A DInstCombineCalls.cpp988 Constant *CondC = ConstantExpr::getICmp(Pred, C0, C1); in reassociateMinMaxWithConstants()
1552 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h1216 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp276 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), in TEST()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp31 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineCost.cpp1924 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
H A DScalarEvolution.cpp10337 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1315 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6177 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
6185 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1147 See the method [llvm::ConstantExpr::getICmp]. *)
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp3529 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in parseValID()