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 | 0471abd58bf916538dc6e4e1099ddbcf0d7af820 (patch) | |
tree | ee4e23a25cd2a7834db78d1dbde345e01c4922a0 /clang/lib/Frontend/PCHWriter.cpp | |
parent | 45281870ef126385ec4e7d838ee78cbb9b6919ea (diff) | |
download | bcm5719-llvm-0471abd58bf916538dc6e4e1099ddbcf0d7af820.tar.gz bcm5719-llvm-0471abd58bf916538dc6e4e1099ddbcf0d7af820.zip |
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().
llvm-svn: 91708
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions