| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1422 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 D | Constants.cpp | 304 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 D | Core.cpp | 1628 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1141 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 D | InstCombineSelect.cpp | 1398 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 D | InstCombineCalls.cpp | 988 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 D | Constants.h | 1216 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 276 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 31 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 1924 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
| H A D | ScalarEvolution.cpp | 10337 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 1315 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6177 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 D | llvm.mli | 1147 See the method [llvm::ConstantExpr::getICmp]. *)
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3529 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in parseValID()
|