Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp966 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 DInstCombineSelect.cpp1485 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 DInstCombineCalls.cpp1967 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
H A DInstructionCombining.cpp794 !ConstantExpr::getICmp(ICmpInst::ICMP_UGT, C, BitWidthC)->isZeroValue()) in tryFoldInstWithCtpopWithNot()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1176 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp304 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 DConstantFold.cpp1414 return ConstantExpr::getICmp(Predicate, C2, C1); in ConstantFoldCompareInstruction()
H A DCore.cpp1700 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2046 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
H A DInstructionSimplify.cpp3965 return ConstantExpr::getICmp(ICmpInst::ICMP_SLT, C, in simplifyICmpInst()
3969 return ConstantExpr::getICmp(ICmpInst::ICMP_SGE, C, in simplifyICmpInst()
H A DScalarEvolution.cpp10592 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6505 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 DX86InstCombineIntrinsic.cpp32 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4020 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in parseValID()