Home
last modified time | relevance | path

Searched refs:CmpConst (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp794 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
801 Constant *Res = LVI->getPredicateOnEdge(Pred, CmpLHS, CmpConst, P, BB, in computeValueKnownInPredecessorsImpl()
818 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
833 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
860 ConstantFoldCompareInstOperands(Pred, V, CmpConst, DL); in computeValueKnownInPredecessorsImpl()
H A DLoopIdiomRecognize.cpp1541 ConstantInt *CmpConst = dyn_cast<ConstantInt>(Cond->getOperand(1)); in matchShiftULTCondition() local
1542 if (!CmpConst) in matchShiftULTCondition()
1549 Threshold = CmpConst->getValue(); in matchShiftULTCondition()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp581 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
634 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors()
H A DValueTracking.cpp8637 Constant *CmpConst; in lookThroughCast() local
8638 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
8639 CmpConst->getType() == SrcTy) { in lookThroughCast()
8661 CastedTo = CmpConst; in lookThroughCast()