Lines Matching refs:NewValue
213 Value *NewValue = C; in remapConstant() local
225 NewValue = getOrInsertCVTA(M, F, I->second, Builder); in remapConstant()
232 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); in remapConstant()
237 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); in remapConstant()
240 ConstantToValueMap[C] = NewValue; in remapConstant()
241 return NewValue; in remapConstant()
267 Value *NewValue = UndefValue::get(C->getType()); in remapConstantVectorOrConstantAggregate() local
271 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
275 NewValue = in remapConstantVectorOrConstantAggregate()
276 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
280 return NewValue; in remapConstantVectorOrConstantAggregate()