Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp809 Constant *CmpConst = cast<Constant>(CmpRHS); in ComputeValueKnownInPredecessorsImpl() local
822 CmpConst, P, BB, CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessorsImpl()
841 if (isa<ConstantInt>(CmpConst) && in ComputeValueKnownInPredecessorsImpl()
860 Pred, cast<ConstantInt>(CmpConst)->getValue()); in ComputeValueKnownInPredecessorsImpl()
886 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in ComputeValueKnownInPredecessorsImpl()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp501 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
555 CmpLHSConst, CmpConst, true); in computeUnlikelySuccessors()
H A DValueTracking.cpp5018 Constant *CmpConst; in lookThroughCast() local
5019 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
5020 CmpConst->getType() == SrcTy) { in lookThroughCast()
5042 CastedTo = CmpConst; in lookThroughCast()