Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp1423 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1427 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1431 R = dyn_cast<ConstantInt>(ConstantExpr::getICmp(pred, V1, V2)); in evaluateICmpRelation()
1883 return ConstantExpr::getICmp(Predicate, Inverse, CE2Op0); in ConstantFoldCompareInstruction()
1900 return ConstantExpr::getICmp(Predicate, CE1Inverse, C2Inverse); in ConstantFoldCompareInstruction()
1911 return ConstantExpr::getICmp(Predicate, C2, C1); in ConstantFoldCompareInstruction()
H A DConstants.cpp304 Constant *CmpEq = ConstantExpr::getICmp(ICmpInst::ICMP_EQ, C0, C1); in isElementWiseEqual()
2437 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2523 Constant *ConstantExpr::getICmp(unsigned short pred, Constant *LHS, in getICmp() function in ConstantExpr
2691 Constant *Cmp = ConstantExpr::getICmp(CmpInst::ICMP_ULT, C1, C2); in getUMin()
H A DCore.cpp1635 return wrap(ConstantExpr::getICmp(Predicate, in LLVMConstICmp()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1031 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShrConstConst() local
1053 return getICmp(I.ICMP_UGT, A, in foldICmpShrConstConst()
1057 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShrConstConst()
1070 return getICmp(I.ICMP_UGE, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1071 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1073 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShrConstConst()
1090 auto getICmp = [&I](CmpInst::Predicate Pred, Value *LHS, Value *RHS) { in foldICmpShlConstConst() local
1103 return getICmp( in foldICmpShlConstConst()
1108 return getICmp(I.ICMP_EQ, A, ConstantInt::getNullValue(A->getType())); in foldICmpShlConstConst()
1114 return getICmp(I.ICMP_EQ, A, ConstantInt::get(A->getType(), Shift)); in foldICmpShlConstConst()
H A DInstCombineSelect.cpp1456 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2, in canonicalizeClampLike()
1461 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2, in canonicalizeClampLike()
H A DInstCombineCalls.cpp1007 Constant *CondC = ConstantExpr::getICmp(Pred, C0, C1); in reassociateMinMaxWithConstants()
1585 assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) == in visitCallInst()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h1234 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS,
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp32 V = ConstantExpr::getICmp(CmpInst::ICMP_SGT, Constant::getNullValue(IntTy), in getNegativeIsTrueBoolVec()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp1971 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
H A DScalarEvolution.cpp10637 if (ConstantExpr::getICmp(Pred, in SimplifyICmpOperands()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1329 ConstantExpr::getICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6346 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
6354 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
/openbsd/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1145 See the method [llvm::ConstantExpr::getICmp]. *)
/openbsd/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp3812 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in parseValID()