Home
last modified time | relevance | path

Searched refs:getCompare (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueLattice.h452 Constant *getCompare(CmpInst::Predicate Pred, Type *Ty, in getCompare() function
458 return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant()); in getCompare()
H A DTargetFolder.h236 return Fold(ConstantExpr::getCompare(P, LHS, RHS)); in CreateICmp()
240 return Fold(ConstantExpr::getCompare(P, LHS, RHS)); in CreateFCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstantFolder.h241 return ConstantExpr::getCompare(P, LHS, RHS); in CreateICmp()
246 return ConstantExpr::getCompare(P, LHS, RHS); in CreateFCmp()
H A DConstants.h1189 static Constant *getCompare(unsigned short pred, Constant *C1, Constant *C2,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp201 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
H A DBranchProbabilityInfo.cpp582 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors()
H A DInlineCost.cpp1597 return ConstantExpr::getCompare(I.getPredicate(), COps[0], COps[1]); in visitCmpInst()
H A DConstantFolding.cpp1312 return ConstantExpr::getCompare(Predicate, Ops0, Ops1); in ConstantFoldCompareInstOperands()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp402 InstResult = ConstantExpr::getCompare(CI->getPredicate(), in EvaluateBlock()
H A DSCCPSolver.cpp999 Constant *C = V1State.getCompare(I.getPredicate(), I.getType(), V2State); in visitCmpInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp1356 return ConstantExpr::getCompare(pred, CE1->getOperand(0), in ConstantFoldBinaryInstruction()
2106 ConstantExpr::getCompare(pred, C1Splat, C2Splat)); in ConstantFoldCompareInstruction()
2125 ResElts.push_back(ConstantExpr::getCompare(pred, C1E, C2E)); in ConstantFoldCompareInstruction()
H A DConstants.cpp1575 return ConstantExpr::getCompare(getPredicate(), Ops[0], Ops[1], in getWithOperands()
2386 Constant *ConstantExpr::getCompare(unsigned short Predicate, Constant *C1, in getCompare() function in ConstantExpr
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp669 Constant *NewVecC = IsCmp ? ConstantExpr::getCompare(Pred, VecC0, VecC1) in scalarizeBinopOrCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp572 Constant *CCmp = ConstantExpr::getCompare(CCVal, CSrc0, CSrc1); in instCombineIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp942 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
1618 return ConstantExpr::getCompare(CondCmp->getPredicate(), Op0, Op1); in evaluateOnPredecessorEdge()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1432 auto *BoolInput = ConstantExpr::getCompare(Pred, Input, C); in foldICmpWithConstant()
2742 ConstantExpr::getCompare(Cmp.getPredicate(), C1LessThan, C) in foldICmpSelectConstant()
2745 ConstantExpr::getCompare(Cmp.getPredicate(), C2Equal, C) in foldICmpSelectConstant()
2748 ConstantExpr::getCompare(Cmp.getPredicate(), C3GreaterThan, C) in foldICmpSelectConstant()
H A DInstructionCombining.cpp1018 auto *Cmp = ConstantExpr::getCompare(ICmpInst::ICMP_EQ, ConstA, ConstB); in FoldOpIntoSelect()
1167 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in foldOpIntoPhi()