| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 966 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst() local 988 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst() 992 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst() 1005 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1006 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1008 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst() 1025 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst() local 1038 return getICmp( in foldICmpShlConstConst() 1043 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst() 1049 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst()
|
| H A D | InstCombineSelect.cpp | 1485 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2, in canonicalizeClampLike() 1490 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2, in canonicalizeClampLike()
|
| H A D | InstCombineCalls.cpp | 1967 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
|
| H A D | InstructionCombining.cpp | 794 !ConstantExpr::getICmp(ICmpInst::ICMP_UGT, C, BitWidthC)->isZeroValue()) in tryFoldInstWithCtpopWithNot()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1176 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 304 Constant *CmpEq = ConstantExpr::getICmp(ICmpInst::ICMP_EQ, C0, C1); in isElementWiseEqual() 2262 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare() 2320 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
|
| H A D | ConstantFold.cpp | 1414 return ConstantExpr::getICmp(Predicate, C2, C1); in ConstantFoldCompareInstruction()
|
| H A D | Core.cpp | 1700 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2046 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
| H A D | InstructionSimplify.cpp | 3965 return ConstantExpr::getICmp(ICmpInst::ICMP_SLT, C, in simplifyICmpInst() 3969 return ConstantExpr::getICmp(ICmpInst::ICMP_SGE, C, in simplifyICmpInst()
|
| H A D | ScalarEvolution.cpp | 10592 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6505 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 6513 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 32 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 4020 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in parseValID()
|