• Home
  • Raw
  • Download

Lines Matching refs:ICI

848 static bool getValueFromFromCondition(Value *Val, ICmpInst *ICI,
869 if (ICmpInst *ICI = dyn_cast<ICmpInst>(C)) { in intersectAssumeBlockValueConstantRange() local
871 if (getValueFromFromCondition(Val, ICI, Result)) in intersectAssumeBlockValueConstantRange()
943 if (auto *ICI = dyn_cast<ICmpInst>(SI->getCondition())) { in solveBlockValueSelect() local
945 if (!getValueFromFromCondition(SI->getTrueValue(), ICI, in solveBlockValueSelect()
948 if (!getValueFromFromCondition(SI->getFalseValue(), ICI, in solveBlockValueSelect()
964 ICmpInst::Predicate Pred = ICI->getPredicate(); in solveBlockValueSelect()
965 Value *A = ICI->getOperand(0); in solveBlockValueSelect()
966 if (ConstantInt *CIBase = dyn_cast<ConstantInt>(ICI->getOperand(1))) { in solveBlockValueSelect()
1168 bool getValueFromFromCondition(Value *Val, ICmpInst *ICI, in getValueFromFromCondition() argument
1170 assert(ICI && "precondition"); in getValueFromFromCondition()
1171 if (isa<Constant>(ICI->getOperand(1))) { in getValueFromFromCondition()
1172 if (ICI->isEquality() && ICI->getOperand(0) == Val) { in getValueFromFromCondition()
1175 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition()
1176 Result = LVILatticeVal::get(cast<Constant>(ICI->getOperand(1))); in getValueFromFromCondition()
1178 Result = LVILatticeVal::getNot(cast<Constant>(ICI->getOperand(1))); in getValueFromFromCondition()
1185 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) in getValueFromFromCondition()
1186 match(ICI->getOperand(0), m_Add(m_Specific(Val), in getValueFromFromCondition()
1189 ConstantInt *CI = dyn_cast<ConstantInt>(ICI->getOperand(1)); in getValueFromFromCondition()
1190 if (CI && (ICI->getOperand(0) == Val || NegOffset)) { in getValueFromFromCondition()
1194 ConstantRange::makeAllowedICmpRegion(ICI->getPredicate(), CmpRange); in getValueFromFromCondition()
1236 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) in getEdgeValueLocal() local
1237 if (getValueFromFromCondition(Val, ICI, Result, isTrueDest)) in getEdgeValueLocal()