Lines Matching defs:getConstant
467 return dyn_cast_or_null<ConstantInt>(getConstant(IV, Ty));
882 Constant *getConstant(const ValueLatticeElement &LV, Type *Ty) const;
1003 Constant *SCCPInstVisitor::getConstant(const ValueLatticeElement &LV,
1006 Constant *C = LV.getConstant();
1030 ? getConstant(LV, ST->getElementType(I))
1038 Const = SCCPSolver::isConstant(LV) ? getConstant(LV, V->getType())
1196 getConstant(IBRValue, IBR->getAddress()->getType()));
1344 if (Constant *OpC = getConstant(OpSt, I.getOperand(0)->getType())) {
1510 I.getOpcode(), getConstant(V0State, I.getType()), DL))
1534 isGuaranteedNotToBeUndefOrPoison(getConstant(V0State, I.getType())))
1535 return (void)markConstant(IV, &I, getConstant(V0State, I.getType()));
1560 ? getConstant(V1State, I.getOperand(0)->getType())
1563 ? getConstant(V2State, I.getOperand(1)->getType())
1660 if (Constant *C = getConstant(State, I.getOperand(i)->getType())) {
1742 Constant *Ptr = getConstant(PtrVal, I.getOperand(0)->getType());
1805 Operands.push_back(getConstant(State, A->getType()));
1929 ValueLatticeElement::getNot(CondVal.getConstant()));
2247 Constant *SCCPSolver::getConstant(const ValueLatticeElement &LV,
2249 return Visitor->getConstant(LV, Ty);