Lines Matching defs:getConstant
427 return dyn_cast_or_null<ConstantInt>(getConstant(IV, Ty));
828 Constant *getConstant(const ValueLatticeElement &LV, Type *Ty) const;
944 Constant *SCCPInstVisitor::getConstant(const ValueLatticeElement &LV,
947 Constant *C = LV.getConstant();
971 ? getConstant(LV, ST->getElementType(I))
979 Const = SCCPSolver::isConstant(LV) ? getConstant(LV, V->getType())
1137 getConstant(IBRValue, IBR->getAddress()->getType()));
1285 if (Constant *OpC = getConstant(OpSt, I.getOperand(0)->getType())) {
1451 I.getOpcode(), getConstant(V0State, I.getType()), DL))
1475 isGuaranteedNotToBeUndefOrPoison(getConstant(V0State, I.getType())))
1476 return (void)markConstant(IV, &I, getConstant(V0State, I.getType()));
1501 ? getConstant(V1State, I.getOperand(0)->getType())
1504 ? getConstant(V2State, I.getOperand(1)->getType())
1591 if (Constant *C = getConstant(State, I.getOperand(i)->getType())) {
1659 Constant *Ptr = getConstant(PtrVal, I.getOperand(0)->getType());
1722 Operands.push_back(getConstant(State, A->getType()));
1844 ValueLatticeElement::getNot(CondVal.getConstant()));
2151 Constant *SCCPSolver::getConstant(const ValueLatticeElement &LV,
2153 return Visitor->getConstant(LV, Ty);