llvm-6502/lib
Jakob Stoklund Olesen 0613516b16 Implement the first half of LiveDebugVariables.
Scan the MachineFunction for DBG_VALUE instructions, and replace them with a
data structure similar to LiveIntervals. The live range of a DBG_VALUE is
determined by propagating it down the dominator tree until a new DBG_VALUE is
found. When a DBG_VALUE lives in a register, its live range is confined to the
live range of the register's value.

LiveDebugVariables runs before coalescing, so DBG_VALUEs are not artificially
extended when registers are joined.

The missing half will recreate DBG_VALUE instructions from the intervals when
register allocation is complete.

The pass is disabled by default. It can be enabled with the temporary command
line option -live-debug-variables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120636 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-02 00:37:37 +00:00
..
Analysis
Archive
AsmParser
Bitcode
CodeGen Implement the first half of LiveDebugVariables. 2010-12-02 00:37:37 +00:00
CompilerDriver
ExecutionEngine
Linker
MC Add support for binary encoding of ARM 'adr' instructions referencing constant 2010-12-02 00:28:45 +00:00
Object
Support Support/FileSystem: Fix copy_file implementation to use toNullTerminatedStringRef 2010-12-01 20:37:42 +00:00
Target Add support for binary encoding of ARM 'adr' instructions referencing constant 2010-12-02 00:28:45 +00:00
Transforms
VMCore
Makefile