Lines Matching refs:ValueAsMetadata
182 return new DbgVariableRecord(ValueAsMetadata::get(Location), DV, Expr, DI, in createDbgVariableRecord()
198 return new DbgVariableRecord(ValueAsMetadata::get(Address), DV, Expr, DI, in createDVRDeclare()
215 return new DbgVariableRecord(ValueAsMetadata::get(Val), Variable, Expression, in createDVRAssign()
216 AssignID, ValueAsMetadata::get(Address), in createDVRAssign()
239 return {location_op_iterator(static_cast<ValueAsMetadata *>(nullptr)), in location_ops()
240 location_op_iterator(static_cast<ValueAsMetadata *>(nullptr))}; in location_ops()
243 if (auto *VAM = dyn_cast<ValueAsMetadata>(MD)) in location_ops()
253 return {location_op_iterator(static_cast<ValueAsMetadata *>(nullptr)), in location_ops()
254 location_op_iterator(static_cast<ValueAsMetadata *>(nullptr))}; in location_ops()
272 assert(isa<ValueAsMetadata>(MD) && in getVariableLocationOp()
274 auto *V = cast<ValueAsMetadata>(MD); in getVariableLocationOp()
280 static ValueAsMetadata *getAsMetadata(Value *V) { in getAsMetadata()
281 return isa<MetadataAsValue>(V) ? dyn_cast<ValueAsMetadata>( in getAsMetadata()
283 : ValueAsMetadata::get(V); in getAsMetadata()
307 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
313 SmallVector<ValueAsMetadata *, 4> MDs; in replaceVariableLocationOp()
314 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
327 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
331 SmallVector<ValueAsMetadata *, 4> MDs; in replaceVariableLocationOp()
332 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
348 SmallVector<ValueAsMetadata *, 4> MDs; in addVariableLocationOps()
476 if (auto *V = dyn_cast_or_null<ValueAsMetadata>(MD)) in getAddress()
495 1, ValueAsMetadata::get(UndefValue::get(getAddress()->getType()))); in setKillAddress()