diff options
author | Juergen Ributzka <juergen@apple.com> | 2013-12-14 06:53:06 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2013-12-14 06:53:06 +0000 |
commit | e82947539e08a7649ef3bcc29837869817567ab4 (patch) | |
tree | 06236f9c628865aeb7b80b133b596171214ea229 /llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | |
parent | 36f461975340043156cad3cee9b39095a5c780ce (diff) | |
download | bcm5719-llvm-e82947539e08a7649ef3bcc29837869817567ab4.tar.gz bcm5719-llvm-e82947539e08a7649ef3bcc29837869817567ab4.zip |
[Stackmap] Liveness Analysis Pass
This optional register liveness analysis pass can be enabled with either
-enable-stackmap-liveness, -enable-patchpoint-liveness, or both. The pass
traverses each basic block in a machine function. For each basic block the
instructions are processed in reversed order and if a patchpoint or stackmap
instruction is encountered the current live-out register set is encoded as a
register mask and attached to the instruction.
Later on during stackmap generation the live-out register mask is processed and
also emitted as part of the stackmap.
This information is optional and intended for optimization purposes only. This
will enable a client of the stackmap to reason about the registers it can use
and which registers need to be preserved.
Reviewed by Andy
llvm-svn: 197317
Diffstat (limited to 'llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp')
0 files changed, 0 insertions, 0 deletions