1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Linker
Chris Lattner a106725fc5 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.

llvm-svn: 134829
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
2003-04-23-LinkOnceLost.ll
2003-04-26-NullPtrLinkProblem.ll
2003-05-15-TypeProblem.ll
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
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
2003-08-28-TypeResolvesGlobal3.ll
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
2004-05-07-TypeResolution1.ll
2004-05-07-TypeResolution2.ll
2004-12-03-DisagreeingType.ll
2005-02-12-ConstantGlobals-2.ll
2005-02-12-ConstantGlobals.ll
2005-12-06-AppendingZeroLengthArrays.ll
2006-01-19-ConstantPacked.ll
2006-06-15-GlobalVarAlignment.ll
2008-03-05-AliasReference2.ll
2008-03-05-AliasReference.ll
2008-03-07-DroppedSection_a.ll
2008-03-07-DroppedSection_b.ll
2008-06-13-LinkOnceRedefinition.ll
2008-06-26-AddressSpace.ll
2008-07-06-AliasFnDecl2.ll
2008-07-06-AliasFnDecl.ll
2008-07-06-AliasWeakDest2.ll
2008-07-06-AliasWeakDest.ll
2009-09-03-mdnode2.ll
2009-09-03-mdnode.ll
AppendingLinkage2.ll
AppendingLinkage.ll
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
ConstantGlobals1.ll
ConstantGlobals2.ll
ConstantGlobals3.ll
dg.exp
link-archive.ll Make everyone happy this time. 2011-01-16 21:34:34 +00:00
link-global-to-func.ll
link-messages.ll
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
LinkOnce.ll
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
partial-type-refinement.ll
PR8300.ll Fix PR8300 by remembering to keep the bitcast in all cases. 2010-10-19 02:02:57 +00:00
redefinition.ll
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