diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-12-18 20:09:14 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-12-18 20:09:14 +0000 |
commit | 5d3016215075c52766711e741ce5401ee891d4ac (patch) | |
tree | bde7ea2658c9ec0f555730d5fe4a65b9f2f04a81 /lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h | |
parent | 1edcafe10f05ba17dd1fbf36713fb40f98eca03a (diff) |
Formalize MDNode's function-localness:
- an MDNode is designated as function-local when created, and continues to be even if its operands are modified not to refer to function-local IR
- function-localness is designated via lowest bit in SubclassData
- getLocalFunction() descends MDNode tree to see if it is consistently function-local
Add verification of MDNodes to checks that MDNodes are consistently function-local.
Update AsmWriter to use isFunctionLocal().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h')
0 files changed, 0 insertions, 0 deletions