Home | History | Annotate | Download | only in Analysis

Lines Matching refs:ICI

717 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI,
739 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) {
741 if (getValueFromFromCondition(Val, ICI, Result)) {
835 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI,
837 if (ICI && isa<Constant>(ICI->getOperand(1))) {
838 if (ICI->isEquality() && ICI->getOperand(0) == Val) {
841 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ))
842 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1)));
844 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1)));
851 if (ICI->getPredicate() == ICmpInst::ICMP_ULT)
852 match(ICI->getOperand(0), m_Add(m_Specific(Val),
855 ConstantInt *CI = dyn_cast<ConstantInt>(ICI->getOperand(1));
856 if (CI && (ICI->getOperand(0) == Val || NegOffset)) {
860 ConstantRange::makeAllowedICmpRegion(ICI->getPredicate(), CmpRange);
901 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition()))
902 if (getValueFromFromCondition(Val, ICI, Result, isTrueDest))