Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueLattice.cpp14 ValueLatticeElement::getCompare(CmpInst::Predicate Pred, Type *Ty, in getCompare() function in llvm::ValueLatticeElement
H A DBranchProbabilityInfo.cpp633 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors()
H A DConstantFolding.cpp1311 return ConstantExpr::getCompare( in ConstantFoldCompareInstOperands()
1328 return ConstantExpr::getCompare(Predicate, Ops0, Ops1); in ConstantFoldCompareInstOperands()
H A DLazyValueInfo.cpp1943 if (Constant *Res = L.getCompare((CmpInst::Predicate)P, Ty, R, in getPredicateAt()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstantFolder.h102 return ConstantExpr::getCompare(P, LC, RC); in FoldICmp()
230 return ConstantExpr::getCompare(P, LHS, RHS); in CreateFCmp()
H A DConstants.h1228 static Constant *getCompare(unsigned short pred, Constant *C1, Constant *C2,
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetFolder.h106 return Fold(ConstantExpr::getCompare(P, LC, RC)); in FoldICmp()
248 return Fold(ConstantExpr::getCompare(P, LHS, RHS)); in CreateFCmp()
H A DValueLattice.h454 Constant *getCompare(CmpInst::Predicate Pred, Type *Ty,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp1110 return ConstantExpr::getCompare(pred, CE1->getOperand(0), in ConstantFoldBinaryInstruction()
1687 ConstantExpr::getCompare(Predicate, C1Splat, C2Splat)); in ConstantFoldCompareInstruction()
1706 ResElts.push_back(ConstantExpr::getCompare(Predicate, C1E, C2E)); in ConstantFoldCompareInstruction()
H A DConstants.cpp1507 return ConstantExpr::getCompare(getPredicate(), Ops[0], Ops[1], in getWithOperands()
2419 Constant *ConstantExpr::getCompare(unsigned short Predicate, Constant *C1, in getCompare() function in ConstantExpr
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp957 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
1625 return ConstantExpr::getCompare(CondCmp->getPredicate(), Op0, Op1); in evaluateOnPredecessorEdge()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp717 Constant *CCmp = ConstantExpr::getCompare(CCVal, CSrc0, CSrc1); in instCombineIntrinsic()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1331 Constant *C = V1State.getCompare(I.getPredicate(), I.getType(), V2State, DL); in visitCmpInst()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1341 auto *BoolInput = ConstantExpr::getCompare(Pred, Input, C); in foldICmpWithConstant()
2887 ConstantExpr::getCompare(Cmp.getPredicate(), C1LessThan, C) in foldICmpSelectConstant()
2890 ConstantExpr::getCompare(Cmp.getPredicate(), C2Equal, C) in foldICmpSelectConstant()
2893 ConstantExpr::getCompare(Cmp.getPredicate(), C3GreaterThan, C) in foldICmpSelectConstant()
H A DInstructionCombining.cpp1153 auto *Cmp = ConstantExpr::getCompare(ICmpInst::ICMP_EQ, ConstA, ConstB); in FoldOpIntoSelect()
H A DInstCombineAndOrXor.cpp2175 ConstantExpr::getCompare(ICmpInst::ICMP_ULT, Log2C3, C2); in visitAnd()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1540 C = ConstantExpr::getCompare(BC->Flags, ConstOps[0], ConstOps[1]); in materializeValue()