Searched refs:CmpConst (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 791 Constant *CmpConst = cast<Constant>(CmpRHS); in computeValueKnownInPredecessorsImpl() local 798 Constant *Res = LVI->getPredicateOnEdge(Pred, CmpLHS, CmpConst, P, BB, in computeValueKnownInPredecessorsImpl() 815 if (isa<ConstantInt>(CmpConst) && in computeValueKnownInPredecessorsImpl() 830 Pred, cast<ConstantInt>(CmpConst)->getValue()); in computeValueKnownInPredecessorsImpl() 857 ConstantFoldCompareInstOperands(Pred, V, CmpConst, DL); in computeValueKnownInPredecessorsImpl()
|
| H A D | LoopIdiomRecognize.cpp | 1850 ConstantInt *CmpConst = dyn_cast<ConstantInt>(Cond->getOperand(1)); in matchShiftULTCondition() local 1851 if (!CmpConst) in matchShiftULTCondition() 1858 Threshold = CmpConst->getValue(); in matchShiftULTCondition()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BranchProbabilityInfo.cpp | 577 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); in computeUnlikelySuccessors() local 630 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors()
|
| H A D | ValueTracking.cpp | 8804 Constant *CmpConst; in lookThroughCastConst() local 8805 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && in lookThroughCastConst() 8806 CmpConst->getType() == SrcTy) { in lookThroughCastConst() 8828 CastedTo = CmpConst; in lookThroughCastConst()
|