summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/SymbolTable.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make the lookup method const.Chris Lattner2003-12-311-3/+3
| | | | llvm-svn: 10667
* Finegrainify namespacificationChris Lattner2003-11-211-4/+1
| | | | llvm-svn: 10131
* Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.llChris Lattner2003-11-191-0/+7
| | | | llvm-svn: 10075
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Fix PR95. I'm checking this patch in for Reid Spencer, who figured it outChris Lattner2003-11-091-3/+2
| | | | | | and wrote it up. Thanks!! llvm-svn: 9832
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Regularize header file commentsChris Lattner2003-10-131-1/+1
| | | | llvm-svn: 9071
* This checkin basically amounts to a complete rewrite of the type-resolutionChris Lattner2003-10-031-7/+22
| | | | | | | | | | | | | | | | | | machinery. This dramatically simplifies how things works, removes irritating little corner cases, and overall improves speed and reliability. Highlights of this change are: 1. The exponential algorithm built into the code is now gone. For example the time to disassemble one bytecode file from the mesa benchmark went from taking 12.5s to taking 0.16s. 2. The linker bugs should be dramatically reduced. The one remaining bug has to do with constant handling, which I actually introduced in "union-find" checkins. 3. The code is much easier to follow, as a result of fewer special cases. It's probably also smaller. yaay. llvm-svn: 8842
* Spell `occurrence' correctly.Misha Brukman2003-09-081-1/+1
| | | | llvm-svn: 8388
* This is now unnecessaryChris Lattner2003-09-041-3/+0
| | | | llvm-svn: 8347
* Fix bug: Linker/2003-08-28-TypeResolvesGlobal2.llChris Lattner2003-08-291-7/+2
| | | | llvm-svn: 8206
* Fix bug: Linker/2003-08-28-TypeResolvesGlobal.llChris Lattner2003-08-291-6/+12
| | | | llvm-svn: 8202
* Remove redundant const qualifiers from cast<> expressionsChris Lattner2003-07-231-4/+4
| | | | llvm-svn: 7253
* Remove using declarations and extraneous #includesChris Lattner2003-05-221-31/+28
| | | | llvm-svn: 6303
* Fix bug: Assembler/2002-12-15-GlobalResolve.llChris Lattner2002-12-151-11/+16
| | | | llvm-svn: 5039
* planes is not spelled with an OChris Lattner2002-12-151-1/+1
| | | | llvm-svn: 5037
* - Eliminate SymbolTable::ParentSymTab, ST::localLookup, andChris Lattner2002-10-151-14/+2
| | | | | | Function::ParentSymTab. These aren't needed at all. llvm-svn: 4186
* MEGAPATCH checkin.Chris Lattner2002-06-251-2/+1
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* We actually need this code for the release build to prevent link errors,Chris Lattner2002-05-101-6/+1
| | | | | | un#ifdef it. llvm-svn: 2606
* Remove some gross code by using the Value::dump method to do debug dumpsChris Lattner2002-04-071-22/+26
| | | | llvm-svn: 2150
* Change references from Method to FunctionChris Lattner2002-03-261-4/+4
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* * Add new method localLookupChris Lattner2002-03-081-2/+16
| | | | | | | | | | | * SymbolTable::remove(Value *N) checks to see if we are internally inconsistent before looking for a type plane (caused a crash) * insertEntry now does a local lookup instead of a global lookup, which was causing an infinite loop in the renamer logic. * Added assertions to make sure stuff stays happy * Now the linker correctly links the SPECINT2000 mcf benchmark llvm-svn: 1840
* This checkin fixes the bug described in:Chris Lattner2002-01-251-19/+19
| | | | | | test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll llvm-svn: 1583
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-3/+12
| | | | llvm-svn: 1503
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-3/+3
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* If a name conflict occurs when inserting a value, rename it.Chris Lattner2001-11-261-3/+8
| | | | llvm-svn: 1346
* Fix major bugs in type resolutionChris Lattner2001-11-031-15/+25
| | | | llvm-svn: 1092
* Remove unnamed prototypes that are created.Chris Lattner2001-10-231-0/+6
| | | | llvm-svn: 964
* More symbol table bugfixes that are impossible to track down. GoodyChris Lattner2001-10-231-31/+27
| | | | llvm-svn: 960
* Allow unresolved/opaque types to be read and written to bytecode filesChris Lattner2001-10-231-33/+69
| | | | llvm-svn: 959
* Fix a problem occuring with type unification of symbol table entriesChris Lattner2001-10-221-1/+55
| | | | llvm-svn: 955
* Fix bug exposed by this testcase:Chris Lattner2001-10-221-6/+27
| | | | | | | | | | | declare int "call_operand" (%rtx_def*, int) ;; Prototype for: call_operand declare int "restore_operand" (%rtx_def*, int) ;; Prototype for: restore_operand %rtx_def = type opaque %rtx_def = type int implementation llvm-svn: 934
* Convert a runtime check into an assertionChris Lattner2001-10-131-5/+2
| | | | llvm-svn: 772
* Factor parentness out of Module & GlobalVariable into GlobalValueChris Lattner2001-10-031-0/+26
| | | | | | Implement SymbolTable debug/dump utility llvm-svn: 710
* Add more support for new style castsChris Lattner2001-10-011-12/+8
| | | | | | Convert more code to use them llvm-svn: 695
* Types and constnats are wierd objects in the symtabsChris Lattner2001-09-071-19/+73
| | | | | | Support abstract types in symtab llvm-svn: 464
* Make error msg nicerChris Lattner2001-07-281-2/+2
| | | | llvm-svn: 326
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 279
* Miscellaneous cleanups:Chris Lattner2001-06-271-2/+2
| | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
* Moved UnaryOperator::create to InstrTypes.cpp until there is an iUnaryOps.cppChris Lattner2001-06-251-0/+19
| | | | | | | Moved BinaryOperator::create to iBinaryOperators.cpp Add getUniqueName to SymbolTable llvm-svn: 76
* Initial revisionChris Lattner2001-06-061-0/+106
llvm-svn: 2
OpenPOWER on IntegriCloud