Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp802 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
811 CmpConst, P, BB, CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl()
830 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
845 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
871 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp581 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
634 CmpLHSConst, CmpConst, true); in computeUnlikelySuccessors()
H A DValueTracking.cpp7882 Constant *CmpConst; in lookThroughCast() local
7883 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
7884 CmpConst->getType() == SrcTy) { in lookThroughCast()
7906 CastedTo = CmpConst; in lookThroughCast()