Lines Matching refs:DPValue
16 DPValue::DPValue(const DbgVariableIntrinsic *DVI) in DPValue() function in llvm::DPValue
42 DPValue::DPValue(const DPValue &DPV) in DPValue() function in llvm::DPValue
47 DPValue::DPValue(Metadata *Location, DILocalVariable *DV, DIExpression *Expr, in DPValue() function in llvm::DPValue
52 DPValue::DPValue(Metadata *Value, DILocalVariable *Variable, in DPValue() function in llvm::DPValue
60 void DPValue::deleteInstr() { delete this; } in deleteInstr()
62 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
64 return new DPValue(ValueAsMetadata::get(Location), DV, Expr, DI, in createDPValue()
68 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
70 DPValue &InsertBefore) { in createDPValue()
76 DPValue *DPValue::createDPVDeclare(Value *Address, DILocalVariable *DV, in createDPVDeclare()
78 return new DPValue(ValueAsMetadata::get(Address), DV, Expr, DI, in createDPVDeclare()
82 DPValue *DPValue::createDPVDeclare(Value *Address, DILocalVariable *DV, in createDPVDeclare()
84 DPValue &InsertBefore) { in createDPVDeclare()
90 DPValue *DPValue::createDPVAssign(Value *Val, DILocalVariable *Variable, in createDPVAssign()
95 return new DPValue(ValueAsMetadata::get(Val), Variable, Expression, AssignID, in createDPVAssign()
99 DPValue *DPValue::createLinkedDPVAssign(Instruction *LinkedInstr, Value *Val, in createLinkedDPVAssign()
107 auto *NewDPVAssign = DPValue::createDPVAssign(Val, Variable, Expression, in createLinkedDPVAssign()
114 iterator_range<DPValue::location_op_iterator> DPValue::location_ops() const { in location_ops()
137 unsigned DPValue::getNumVariableLocationOps() const { in getNumVariableLocationOps()
143 Value *DPValue::getVariableLocationOp(unsigned OpIdx) const { in getVariableLocationOp()
166 void DPValue::replaceVariableLocationOp(Value *OldValue, Value *NewValue, in replaceVariableLocationOp()
199 void DPValue::replaceVariableLocationOp(unsigned OpIdx, Value *NewValue) { in replaceVariableLocationOp()
218 void DPValue::addVariableLocationOps(ArrayRef<Value *> NewValues, in addVariableLocationOps()
234 void DPValue::setKillLocation() { in setKillLocation()
246 bool DPValue::isKillLocation() const { in isKillLocation()
252 std::optional<uint64_t> DPValue::getFragmentSizeInBits() const { in getFragmentSizeInBits()
258 DPValue *DPValue::clone() const { return new DPValue(*this); } in clone()
261 DPValue::createDebugIntrinsic(Module *M, Instruction *InsertBefore) const { in createDebugIntrinsic()
272 case DPValue::LocationType::Declare: in createDebugIntrinsic()
275 case DPValue::LocationType::Value: in createDebugIntrinsic()
278 case DPValue::LocationType::Assign: in createDebugIntrinsic()
281 case DPValue::LocationType::End: in createDebugIntrinsic()
282 case DPValue::LocationType::Any: in createDebugIntrinsic()
314 Value *DPValue::getAddress() const { in getAddress()
324 DIAssignID *DPValue::getAssignID() const { in getAssignID()
328 void DPValue::setAssignId(DIAssignID *New) { resetDebugValue(2, New); } in setAssignId()
330 void DPValue::setKillAddress() { in setKillAddress()
335 bool DPValue::isKillAddress() const { in isKillAddress()
340 const BasicBlock *DPValue::getParent() const { in getParent()
344 BasicBlock *DPValue::getParent() { return Marker->MarkedInstr->getParent(); } in getParent()
346 BasicBlock *DPValue::getBlock() { return Marker->getParent(); } in getBlock()
348 const BasicBlock *DPValue::getBlock() const { return Marker->getParent(); } in getBlock()
350 Function *DPValue::getFunction() { return getBlock()->getParent(); } in getFunction()
352 const Function *DPValue::getFunction() const { return getBlock()->getParent(); } in getFunction()
354 Module *DPValue::getModule() { return getFunction()->getParent(); } in getModule()
356 const Module *DPValue::getModule() const { return getFunction()->getParent(); } in getModule()
358 LLVMContext &DPValue::getContext() { return getBlock()->getContext(); } in getContext()
360 const LLVMContext &DPValue::getContext() const { in getContext()
364 void DPValue::insertBefore(DPValue *InsertBefore) { in insertBefore()
372 void DPValue::insertAfter(DPValue *InsertAfter) { in insertAfter()
380 void DPValue::moveBefore(DPValue *MoveBefore) { in moveBefore()
386 void DPValue::moveAfter(DPValue *MoveAfter) { in moveAfter()
402 DPValue *DPV = &*It; in dropDPValues()
408 void DPMarker::dropOneDPValue(DPValue *DPV) { in dropOneDPValue()
454 iterator_range<DPValue::self_iterator> DPMarker::getDbgValueRange() { in getDbgValueRange()
457 iterator_range<DPValue::const_self_iterator>
462 void DPValue::removeFromParent() { in removeFromParent()
467 void DPValue::eraseFromParent() { in eraseFromParent()
472 void DPMarker::insertDPValue(DPValue *New, bool InsertAtHead) { in insertDPValue()
477 void DPMarker::insertDPValue(DPValue *New, DPValue *InsertBefore) { in insertDPValue()
483 void DPMarker::insertDPValueAfter(DPValue *New, DPValue *InsertAfter) { in insertDPValueAfter()
492 for (DPValue &DPV : Src.StoredDPValues) in absorbDebugValues()
498 void DPMarker::absorbDebugValues(iterator_range<DPValue::self_iterator> Range, in absorbDebugValues()
500 for (DPValue &DPV : Range) in absorbDebugValues()
510 iterator_range<simple_ilist<DPValue>::iterator> DPMarker::cloneDebugInfoFrom( in cloneDebugInfoFrom()
511 DPMarker *From, std::optional<simple_ilist<DPValue>::iterator> from_here, in cloneDebugInfoFrom()
513 DPValue *First = nullptr; in cloneDebugInfoFrom()
525 for (DPValue &DPV : Range) { in cloneDebugInfoFrom()
526 DPValue *New = DPV.clone(); in cloneDebugInfoFrom()