Lines Matching refs:NewValue
166 void DPValue::replaceVariableLocationOp(Value *OldValue, Value *NewValue, in replaceVariableLocationOp() argument
168 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
172 setAddress(NewValue); in replaceVariableLocationOp()
184 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
185 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
186 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
193 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
199 void DPValue::replaceVariableLocationOp(unsigned OpIdx, Value *NewValue) { in replaceVariableLocationOp() argument
203 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
204 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
205 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
210 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()