Go to the source code of this file.
|
| class | DbgValueLocation |
| | Describes a location by number along with some flags about the original usage of the location. More...
|
| |
|
| | STATISTIC (NumInsertedDebugValues, "Number of DBG_VALUEs inserted") |
| |
| | STATISTIC (NumInsertedDebugLabels, "Number of DBG_LABELs inserted") |
| |
| | INITIALIZE_PASS_BEGIN (LiveDebugVariables, DEBUG_TYPE, "Debug Variable Analysis", false, false) INITIALIZE_PASS_END(LiveDebugVariables |
| |
| static void | printDebugLoc (const DebugLoc &DL, raw_ostream &CommentOS, const LLVMContext &Ctx) |
| |
| static void | printExtendedName (raw_ostream &OS, const DINode *Node, const DILocation *DL) |
| |
| static void | removeDebugValues (MachineFunction &mf) |
| |
| static MachineBasicBlock::iterator | findInsertLocation (MachineBasicBlock *MBB, SlotIndex Idx, LiveIntervals &LIS) |
| | Find an iterator for inserting a DBG_VALUE instruction. More...
|
| |
| static MachineBasicBlock::iterator | findNextInsertLocation (MachineBasicBlock *MBB, MachineBasicBlock::iterator I, SlotIndex StopIdx, MachineOperand &LocMO, LiveIntervals &LIS, const TargetRegisterInfo &TRI) |
| | Find an iterator for inserting the next DBG_VALUE instruction (or end if no more insert locations found). More...
|
| |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "livedebugvars" |
◆ LocMap
◆ SpillOffsetMap
Map of stack slot offsets for spilled locations.
Non-spilled locations are not added to the map.
Definition at line 142 of file LiveDebugVariables.cpp.
◆ anonymous enum
◆ findInsertLocation()
◆ findNextInsertLocation()
Find an iterator for inserting the next DBG_VALUE instruction (or end if no more insert locations found).
Definition at line 1282 of file LiveDebugVariables.cpp.
References llvm::DIExpression::ApplyOffset, assert(), llvm::BuildMI(), llvm::MachineOperand::CreateReg(), llvm::DIExpression::DerefAfter, llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), findInsertLocation(), llvm::MCInstrInfo::get(), getDebugLoc(), llvm::LiveIntervals::getInstructionIndex(), llvm::VirtRegMap::getMachineFunction(), llvm::LiveIntervals::getMBBEndIdx(), llvm::MachineOperand::getReg(), I, llvm::MachineBasicBlock::instr_end(), llvm::SlotIndex::isEarlierEqualInstr(), llvm::MachineOperand::isFI(), llvm::LiveIntervals::isNotInMIMap(), llvm::MachineOperand::isReg(), DbgValueLocation::isUndef(), DbgValueLocation::locNo(), llvm::DIExpression::prepend(), Reg, and DbgValueLocation::wasIndirect().
◆ INITIALIZE_PASS_BEGIN()
◆ printDebugLoc()
◆ printExtendedName()
◆ removeDebugValues()
◆ STATISTIC() [1/2]
| STATISTIC |
( |
NumInsertedDebugValues |
, |
|
|
"Number of DBG_VALUEs inserted" |
|
|
) |
| |
◆ STATISTIC() [2/2]
| STATISTIC |
( |
NumInsertedDebugLabels |
, |
|
|
"Number of DBG_LABELs inserted" |
|
|
) |
| |
◆ Analysis
◆ DEBUG_TYPE
◆ EnableLDV
◆ false