Lines Matching refs:NewValue
161 Value *NewValue = C; in remapConstant() local
171 NewValue = Builder.CreateAddrSpaceCast( in remapConstant()
179 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); in remapConstant()
184 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); in remapConstant()
187 ConstantToValueMap[C] = NewValue; in remapConstant()
188 return NewValue; in remapConstant()
214 Value *NewValue = PoisonValue::get(C->getType()); in remapConstantVectorOrConstantAggregate() local
218 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
222 NewValue = in remapConstantVectorOrConstantAggregate()
223 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
227 return NewValue; in remapConstantVectorOrConstantAggregate()