llvm/lib
Victor Hernandez 5d30162150 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
2009-12-18 20:09:14 +00:00
..
Analysis Revert this use of NUW/NSW also. Overflow-undefined multiplication isn't 2009-12-18 18:45:31 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Add MSP430 interrupt calling conv. No functionality change yet. 2009-12-07 02:27:35 +00:00
Bitcode Remove isPod() from DenseMapInfo, splitting it out to its own 2009-12-15 07:26:43 +00:00
CodeGen Add Loop contains utility methods for testing whether a loop 2009-12-18 01:24:09 +00:00
CompilerDriver Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
ExecutionEngine Don't codegen available_externally functions. Fixes http://llvm.org/PR5735. 2009-12-17 21:35:29 +00:00
Linker Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support now that libsystem no longer uses SmallVector, we can move 2009-12-16 08:44:24 +00:00
System Fix Win32 Path.inc for API update. 2009-12-18 19:59:48 +00:00
Target Fix libstdc++ build on ARM linux and part of PR5770. 2009-12-18 16:59:39 +00:00
Transforms Optimize icmp of null and select of two constants even if the select has 2009-12-18 08:22:35 +00:00
VMCore Formalize MDNode's function-localness: 2009-12-18 20:09:14 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00