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.cpp791 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
798 Constant *Res = LVI->getPredicateOnEdge(Pred, CmpLHS, CmpConst, P, BB, in computeValueKnownInPredecessorsImpl()
815 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
830 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
857 ConstantFoldCompareInstOperands(Pred, V, CmpConst, DL); in computeValueKnownInPredecessorsImpl()
H A DLoopIdiomRecognize.cpp1850 ConstantInt *CmpConst = dyn_cast<ConstantInt>(Cond->getOperand(1)); in matchShiftULTCondition() local
1851 if (!CmpConst) in matchShiftULTCondition()
1858 Threshold = CmpConst->getValue(); in matchShiftULTCondition()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp577 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
630 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors()
H A DValueTracking.cpp8804 Constant *CmpConst; in lookThroughCastConst() local
8805 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCastConst()
8806 CmpConst->getType() == SrcTy) { in lookThroughCastConst()
8828 CastedTo = CmpConst; in lookThroughCastConst()