llvm-6502/lib/VMCore
Chris Lattner 413fd2304d Fix a long-standing bug and misfeature of the disassembler: when dealing with a
stripped .bc file, it didn't make any attempt to try to reuse anonymous types.
This causes an amazing type explosion due to types getting duplicated everywhere
they are referenced and other problems.

This also caused correctness issues, because opaque types are unique for each time
they are uttered in the file.  This means that stripping a .bc file could produce
a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll).

This patch fixes both of these issues.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65738 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 00:03:38 +00:00
..
AsmWriter.cpp Fix a long-standing bug and misfeature of the disassembler: when dealing with a 2009-03-01 00:03:38 +00:00
Attributes.cpp
AutoUpgrade.cpp Reapply 63765. Patches for clang and llvm-gcc to follow. 2009-02-05 01:49:45 +00:00
BasicBlock.cpp Introduce a new technique for merging BasicBlock with Instruction sentinel by superposition. 2009-02-27 08:41:37 +00:00
CMakeLists.txt
ConstantFold.cpp Extension of GEP in constant folder was broken (apparently this code 2009-02-24 19:10:46 +00:00
ConstantFold.h
Constants.cpp Add suppport for ConstantExprs of shufflevectors whose result type is not equal to the 2009-02-12 21:28:33 +00:00
Core.cpp
Dominators.cpp
Function.cpp Added support to have TableGen provide information if an intrinsic (core 2009-02-24 23:17:49 +00:00
Globals.cpp
InlineAsm.cpp
Instruction.cpp Simplify the logic of getting hold of a PHI predecessor block. 2009-01-23 19:40:15 +00:00
Instructions.cpp
IntrinsicInst.cpp
LeakDetector.cpp
Makefile
Mangler.cpp Add the private linkage. 2009-01-15 20:18:42 +00:00
Module.cpp Reapply 63765. Patches for clang and llvm-gcc to follow. 2009-02-05 01:49:45 +00:00
ModuleProvider.cpp
Pass.cpp Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
PassManager.cpp Reapply r64301. These uses of "inline" can cause strange 2009-02-13 09:42:34 +00:00
PrintModulePass.cpp Eliminate several more unnecessary intptr_t casts. 2009-02-18 05:09:16 +00:00
SymbolTableListTraitsImpl.h
Type.cpp delete a bunch of duplicated type printing logic, using the type printing 2009-02-28 23:01:57 +00:00
TypeSymbolTable.cpp
Use.cpp
Value.cpp
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp Change WriteTypeSymbolic to not put a space out before types, also, remove 2009-02-28 21:05:51 +00:00