llvm-6502/lib
Philip Reames 9be9473394 Introduce enum values for previously defined metadata types. (NFC)
Our metadata scheme lazily assigns IDs to string metadata, but we have a mechanism to preassign them as well.  Using a preassigned ID is helpful since we get compile time type checking, and avoid some (minimal) string construction and comparison.  This change adds enum value for three existing metadata types:
+    MD_nontemporal = 9, // "nontemporal"
+    MD_mem_parallel_loop_access = 10, // "llvm.mem.parallel_loop_access"
+    MD_nonnull = 11 // "nonnull"

I went through an updated various uses as well.  I made no attempt to get all uses; I focused on the ones which were easily grepable and easily to translate.  For example, there were several items in LoopInfo.cpp I chose not to update.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220248 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-21 00:13:20 +00:00
..
Analysis Introduce enum values for previously defined metadata types. (NFC) 2014-10-21 00:13:20 +00:00
AsmParser
Bitcode correct const-ness with auto and dyn_cast 2014-10-15 17:45:13 +00:00
CodeGen Introduce enum values for previously defined metadata types. (NFC) 2014-10-21 00:13:20 +00:00
DebugInfo Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
ExecutionEngine [MCJIT] Make MCJIT honor symbol visibility settings when populating the global 2014-10-20 23:39:54 +00:00
IR Introduce enum values for previously defined metadata types. (NFC) 2014-10-21 00:13:20 +00:00
IRReader
LineEditor
Linker
LTO LTO: Document the Boolean argument from r218784 2014-10-02 21:11:04 +00:00
MC Add back commits r219835 and a fixed version of r219829. 2014-10-17 01:48:58 +00:00
Object [MCJIT] Make MCJIT honor symbol visibility settings when populating the global 2014-10-20 23:39:54 +00:00
Option
ProfileData Reduce double set lookups. NFC. 2014-10-10 15:32:50 +00:00
Support Introduce LLVMParseCommandLineOptions C API function. 2014-10-16 22:47:52 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target [X86] Fix a bug in the lowering of the mask of VSELECT. 2014-10-20 23:13:30 +00:00
Transforms Introduce enum values for previously defined metadata types. (NFC) 2014-10-21 00:13:20 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile