Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp865 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
874 CmpConst, P, BB, CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl()
893 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
908 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
934 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp591 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
644 CmpLHSConst, CmpConst, true); in computeUnlikelySuccessors()
H A DValueTracking.cpp6282 Constant *CmpConst; in lookThroughCast() local
6283 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
6284 CmpConst->getType() == SrcTy) { in lookThroughCast()
6306 CastedTo = CmpConst; in lookThroughCast()