llvm-6502/test/Linker
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
..
2002-07-17-GlobalFail.ll
2002-07-17-LinkTest2.ll
2002-08-20-ConstantExpr.ll
2003-01-30-LinkerRename.ll Quote two greps which contain parentheses. 2011-07-02 20:43:13 +00:00
2003-01-30-LinkerTypeRename.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-04-21-Linkage.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-04-23-LinkOnceLost.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2003-04-26-NullPtrLinkProblem.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2003-05-15-TypeProblem.ll Rename %S metavar to %M (clang uses %S for the basename of the test file). 2009-09-05 12:38:35 +00:00
2003-05-31-LinkerRename.ll Quote two greps which contain parentheses. 2011-07-02 20:43:13 +00:00
2003-06-02-TypeResolveProblem2.ll
2003-06-02-TypeResolveProblem.ll
2003-08-20-OpaqueTypeResolve.ll Rename %S metavar to %M (clang uses %S for the basename of the test file). 2009-09-05 12:38:35 +00:00
2003-08-23-GlobalVarLinking.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-08-23-RecursiveOpaqueTypeResolve.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-08-24-InheritPtrSize.ll
2003-08-28-TypeResolvesGlobal2.ll Rename %S metavar to %M (clang uses %S for the basename of the test file). 2009-09-05 12:38:35 +00:00
2003-08-28-TypeResolvesGlobal3.ll Rename %S metavar to %M (clang uses %S for the basename of the test file). 2009-09-05 12:38:35 +00:00
2003-08-28-TypeResolvesGlobal.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-10-27-LinkOncePromote.ll
2003-11-18-TypeResolution.ll
2004-02-17-WeakStrongLinkage.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2004-05-07-TypeResolution1.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2004-05-07-TypeResolution2.ll
2004-12-03-DisagreeingType.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2005-02-12-ConstantGlobals-2.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2005-02-12-ConstantGlobals.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2005-12-06-AppendingZeroLengthArrays.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2006-01-19-ConstantPacked.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2006-06-15-GlobalVarAlignment.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2008-03-05-AliasReference2.ll
2008-03-05-AliasReference.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2008-03-07-DroppedSection_a.ll
2008-03-07-DroppedSection_b.ll
2008-06-13-LinkOnceRedefinition.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2008-06-26-AddressSpace.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
2008-07-06-AliasFnDecl2.ll
2008-07-06-AliasFnDecl.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2008-07-06-AliasWeakDest2.ll
2008-07-06-AliasWeakDest.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
2009-09-03-mdnode2.ll There is not any need to copy metadata while merging modules. 2009-09-03 20:35:57 +00:00
2009-09-03-mdnode.ll There is not any need to copy metadata while merging modules. 2009-09-03 20:35:57 +00:00
AppendingLinkage2.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
AppendingLinkage.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
available_externally_a.ll Correctly merge available_externally and regular definitions when they have 2011-02-01 05:33:52 +00:00
available_externally_b.ll Correctly merge available_externally and regular definitions when they have 2011-02-01 05:33:52 +00:00
basiclink.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
ConstantGlobals1.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
ConstantGlobals2.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
ConstantGlobals3.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
dg.exp
link-archive.ll Make everyone happy this time. 2011-01-16 21:34:34 +00:00
link-global-to-func.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
link-messages.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
linkmdnode2.ll fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00
linkmdnode.ll fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00
linknamedmdnode2.ll
linknamedmdnode.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
LinkOnce.ll Use llvm-link -S instead of using llvm-dis. 2009-09-15 15:38:31 +00:00
metadata-a.ll Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
metadata-b.ll Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
partial-type-refinement-link.ll When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
partial-type-refinement.ll When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
PR8300.ll Fix PR8300 by remembering to keep the bitcast in all cases. 2010-10-19 02:02:57 +00:00
redefinition.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
testlink1.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
testlink2.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
unnamed-addr1-a.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
unnamed-addr1-b.ll Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
weakextern.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00