llvm-6502/tools
Chris Lattner 1afcace3a3 Land the long talked about "type system rewrite" patch. This
patch brings numerous advantages to LLVM.  One way to look at it
is through diffstat:
 109 files changed, 3005 insertions(+), 5906 deletions(-)

Removing almost 3K lines of code is a good thing.  Other advantages
include:

1. Value::getType() is a simple load that can be CSE'd, not a mutating
   union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
   uniques them.  This means that the compiler doesn't merge them structurally
   which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
   struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
   in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead 
   "const Type *" everywhere.

Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.  
"LLVM 3.0" is the right time to do this.

There are still some cleanups pending after this, this patch is large enough
as-is.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-09 17:41:24 +00:00
..
bugpoint Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
bugpoint-passes Add dependency to "make check". 2010-12-10 02:15:36 +00:00
edis Build EnhancedDisassembly as a shared library too. 2011-03-12 22:01:47 +00:00
gold Also remove -lLTO which should have been in r132349. I failed to apply this 2011-05-31 20:00:45 +00:00
llc Change createAsmParser to take a MCSubtargetInfo instead of triple, 2011-07-09 05:47:46 +00:00
lli Updated library dependencies. 2011-03-22 03:58:55 +00:00
llvm-ar Fix Whitespace. 2011-01-10 02:34:40 +00:00
llvm-as
llvm-bcanalyzer Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
llvm-config Rename LLVMConfig.cmake to LLVM-Config.cmake. The *Config.cmake naming 2011-04-05 17:02:48 +00:00
llvm-diff Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
llvm-dis eliminate the Type::getDescription() method, using "<<" instead. This 2011-06-18 21:18:23 +00:00
llvm-extract Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
llvm-ld fix a file system case sensitivity issue. 2011-05-22 00:37:51 +00:00
llvm-link
llvm-mc Change createAsmParser to take a MCSubtargetInfo instead of triple, 2011-07-09 05:47:46 +00:00
llvm-nm Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
llvm-objdump Remove some unnecessary includes. 2011-07-06 20:48:27 +00:00
llvm-prof MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
llvm-ranlib Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists. 2011-01-10 02:34:23 +00:00
llvm-rtdyld Load multiple object files and link them via RuntimeDyld in llvm-rtdyld. 2011-04-13 15:49:40 +00:00
llvm-shlib improve solaris support, from PR9109, patch by Yuri! 2011-02-13 08:38:44 +00:00
llvm-stub llvm-stub.cpp: mingw-w64 tweak. 2011-03-24 07:06:45 +00:00
llvmc Remove unused constant. 2011-07-02 13:05:02 +00:00
lto Change createAsmParser to take a MCSubtargetInfo instead of triple, 2011-07-09 05:47:46 +00:00
macho-dump Remove unused function. 2011-04-04 17:36:11 +00:00
opt We only do always-inlining at -O1; make opt reflect that. 2011-06-06 22:13:27 +00:00
CMakeLists.txt Revert an unintended commit. Very sorry for this one. 2011-04-28 08:18:22 +00:00
Makefile MachO file loader and execution utility. 2011-03-18 17:11:39 +00:00