Lines Matching refs:NewValue
146 Value *NewValue = C; in remapConstant() local
156 NewValue = Builder.CreateAddrSpaceCast( in remapConstant()
164 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); in remapConstant()
169 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); in remapConstant()
172 ConstantToValueMap[C] = NewValue; in remapConstant()
173 return NewValue; in remapConstant()
199 Value *NewValue = PoisonValue::get(C->getType()); in remapConstantVectorOrConstantAggregate() local
203 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
207 NewValue = in remapConstantVectorOrConstantAggregate()
208 Builder.CreateInsertValue(NewValue, NewOperands[i], ArrayRef(i)); in remapConstantVectorOrConstantAggregate()
212 return NewValue; in remapConstantVectorOrConstantAggregate()