Home | History | Annotate | Download | only in Analysis

Lines Matching defs:SC

276   if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this))
277 return SC->getValue()->isZero();
282 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this))
283 return SC->getValue()->isOne();
288 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(this))
289 return SC->getValue()->isAllOnesValue();
300 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0));
301 if (!SC) return false;
304 return SC->getValue()->getValue().isNegative();
835 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
837 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty)));
907 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
909 cast<ConstantInt>(ConstantExpr::getZExt(SC->getValue(), Ty)));
1165 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
1167 cast<ConstantInt>(ConstantExpr::getSExt(SC->getValue(), Ty)));
1317 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
1318 if (SC->getValue()->getValue().isNegative())
6424 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(getStart()))
6425 if (!SC->getValue()->isZero()) {
6427 Operands[0] = SE.getConstant(SC->getType(), 0);
6433 Range.subtract(SC->getValue()->getValue()), SE);