Lines Matching refs:NewValue
114 Value *NewValue) { in replaceVariableLocationOp() argument
115 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
120 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
121 ? NewValue in replaceVariableLocationOp()
123 getContext(), ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
127 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
134 Value *NewValue) { in replaceVariableLocationOp() argument
137 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
138 ? NewValue in replaceVariableLocationOp()
140 getContext(), ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
144 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()