Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp888 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local
897 CmpConst, P, BB, CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl()
916 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl()
931 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl()
957 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst); in computeValueKnownInPredecessorsImpl()
/openbsd-src/gnu/llvm/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.cpp6474 Constant *CmpConst; in lookThroughCast() local
6475 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCast()
6476 CmpConst->getType() == SrcTy) { in lookThroughCast()
6498 CastedTo = CmpConst; in lookThroughCast()