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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp588 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); local
642 CmpLHSConst, CmpConst, true);
H A DValueTracking.cpp5647 Constant *CmpConst; local
5648 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) &&
5649 CmpConst->getType() == SrcTy) {
5652 // %cond = cmp iN %x, CmpConst
5658 // %cond = cmp iN %x, CmpConst
5659 // %widesel = select i1 %cond, iN %x, iN CmpConst
5669 // == CmpConst. That is why set widened C = CmpConst, condition trunc
5670 // CmpConst == C is checked below.
5671 CastedTo = CmpConst;
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp830 Constant *CmpConst = cast<Constant>(CmpRHS); local
839 CmpConst, P, BB, CxtI ? CxtI : Cmp);
858 if (isa<ConstantInt>(CmpConst) &&
873 Pred, cast<ConstantInt>(CmpConst)->getValue());
899 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst);

Completed in 165 milliseconds