llvm-6502/lib
Bill Wendling 3ecb447f52 The MDString class stored a StringRef to the string which was already in a
StringMap. This was redundant and unnecessarily bloated the MDString class.

Because the MDString class is a "Value" and will never have a "name", and
because the Name field in the Value class is a pointer to a StringMap entry, we
repurpose the Name field for an MDString. It stores the StringMap entry in the
Name field, and uses the normal methods to get the string (name) back.

PR12474


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154429 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 20:12:16 +00:00
..
Analysis Fix 12513: Loop unrolling breaks with indirect branches. 2012-04-10 05:14:42 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser
Bitcode llvm::SwitchInst 2012-03-11 06:09:17 +00:00
CodeGen To ensure that we have more accurate line information for a block 2012-04-10 18:18:10 +00:00
DebugInfo Fix a C++11 UDL conflict. 2012-04-04 20:33:56 +00:00
ExecutionEngine EngineBuilder::create is expected to take ownership of the TargetMachine passed to it. Delete it on error or when we create an interpreter that doesn't need it. 2012-04-08 14:53:14 +00:00
Linker It's possible for two types, which are isomorphic, to be added to the 2012-03-23 23:17:38 +00:00
MC Use the correct section types on Solaris for unwind data on both x86 and x86-64. 2012-04-10 11:44:33 +00:00
Object Add a constructor for DataRefImpl and remove excess initialization. 2012-04-10 01:54:44 +00:00
Support In MemoryBuffer::getOpenFile() make sure that the buffer is null-terminated if 2012-04-05 04:23:56 +00:00
TableGen Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
Target Whitespace. 2012-04-10 19:42:07 +00:00
Transforms [tsan] compile-time instrumentation: do not instrument a read if 2012-04-10 18:18:56 +00:00
VMCore The MDString class stored a StringRef to the string which was already in a 2012-04-10 20:12:16 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile