Lines Matching refs: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();
838 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
840 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty)));
910 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
912 cast<ConstantInt>(ConstantExpr::getZExt(SC->getValue(), Ty)));
1168 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
1170 cast<ConstantInt>(ConstantExpr::getSExt(SC->getValue(), Ty)));
1320 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(Op))
1321 if (SC->getValue()->getValue().isNegative())
6565 if (const SCEVConstant *SC = dyn_cast<SCEVConstant>(getStart()))
6566 if (!SC->getValue()->isZero()) {
6568 Operands[0] = SE.getConstant(SC->getType(), 0);
6574 Range.subtract(SC->getValue()->getValue()), SE);