Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp873 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
882 CmpConst, P, BB, CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl()
901 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
916 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
942 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp531 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local
583 CmpLHSConst, CmpConst, true); in computeUnlikelySuccessors()
H A DValueTracking.cpp6043 Constant *CmpConst; in lookThroughCast() local
6044 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
6045 CmpConst->getType() == SrcTy) { in lookThroughCast()
6067 CastedTo = CmpConst; in lookThroughCast()