Lines Matching refs:Constant
86 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) { in assignValue()
97 Constant *BitcodeReaderValueList::getConstantFwdRef(unsigned Idx, Type *Ty) { in getConstantFwdRef()
104 return cast<Constant>(V); in getConstantFwdRef()
108 Constant *C = new ConstantPlaceHolder(Ty, Context); in getConstantFwdRef()
149 SmallVector<Constant *, 64> NewOps; in resolveConstantForwardRefs()
153 Constant *Placeholder = ResolveConstants.back().first; in resolveConstantForwardRefs()
165 if (!isa<Constant>(U) || isa<GlobalValue>(U)) { in resolveConstantForwardRefs()
172 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs()
186 std::pair<Constant *, unsigned>(cast<Constant>(*I), 0)); in resolveConstantForwardRefs()
191 NewOps.push_back(cast<Constant>(NewOp)); in resolveConstantForwardRefs()
195 Constant *NewC; in resolveConstantForwardRefs()