summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Module.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for tracking whether a module is 64/32 bit and big/little endianChris Lattner2003-04-221-1/+2
| | | | | | Also add a moduleID field which can be used for diagnostics llvm-svn: 5834
* Add new linkage types to support a real frontendChris Lattner2003-04-161-3/+4
| | | | llvm-svn: 5786
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-35/+12
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Add a new Module::getNamedFunction methodChris Lattner2002-11-191-3/+12
| | | | llvm-svn: 4758
* Add a method "getMainFunction()" that efficiently locates 'main' in a moduleChris Lattner2002-11-081-0/+52
| | | | llvm-svn: 4629
* - Eliminate SymbolTable::ParentSymTab, ST::localLookup, andChris Lattner2002-10-151-1/+1
| | | | | | Function::ParentSymTab. These aren't needed at all. llvm-svn: 4186
* Enable "garbage detection" of LLVM objects. Now users should be obnoxiousChris Lattner2002-09-081-3/+11
| | | | | | warnings. If they accidentally leak LLVM Value's. llvm-svn: 3620
* - ConstantPointerRefs are now automatically removed from the module tableChris Lattner2002-08-181-13/+19
| | | | | | | | | when they are destroyed, which makes Constant::destroyConstant an actually useful external interface. Expose these methods publicly. - Implement destroyConstant on ConstPointerNull so that destroyConstant can be used on any derived type constant safely. llvm-svn: 3379
* Add Module::dump() methodChris Lattner2002-08-171-7/+11
| | | | llvm-svn: 3375
* Remove some extraneous #includesChris Lattner2002-08-121-2/+0
| | | | llvm-svn: 3289
* Changes to make GlobalValueRefMap not derive from std::map.Chris Lattner2002-08-121-10/+13
| | | | llvm-svn: 3288
* MEGAPATCH checkin.Chris Lattner2002-06-251-13/+32
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* * Incorporate the contents of SymTabValue into Function and ModuleChris Lattner2002-04-281-3/+24
| | | | | | * Module no longer subclasses Value llvm-svn: 2355
* Add Module::getTypeNameChris Lattner2002-04-131-0/+20
| | | | llvm-svn: 2237
* Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.hChris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2156
* Add new addTypeName method to Module classChris Lattner2002-03-291-0/+15
| | | | llvm-svn: 2037
* Implement new getFunction and getOrInsertFunction methodsChris Lattner2002-03-291-0/+31
| | | | llvm-svn: 2033
* Remove the reduceApply functions they are obsolete things from the days beforeChris Lattner2002-03-281-16/+0
| | | | | | we had a reasonable pass system llvm-svn: 2022
* Change references from Method to FunctionChris Lattner2002-03-261-9/+9
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Remove extraneous #includesChris Lattner2002-01-261-1/+0
| | | | llvm-svn: 1588
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-3/+3
| | | | llvm-svn: 1503
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-8/+8
| | | | | | | 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
* Add #includes to enable buiding in Release modeChris Lattner2001-11-071-0/+1
| | | | llvm-svn: 1174
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-151-8/+7
| | | | | | tired typing that much llvm-svn: 822
* * Add support for Module specific constantsChris Lattner2001-10-131-4/+55
| | | | | | * Add proper support for ConstPoolPointerReference's llvm-svn: 771
* Implement global variable supportChris Lattner2001-09-101-1/+11
| | | | llvm-svn: 530
* Modules must have a valid, nonnull type. Make them voidChris Lattner2001-09-071-1/+2
| | | | llvm-svn: 463
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 279
* * ValueHolder now takes 3 argumentsChris Lattner2001-07-141-2/+2
| | | | | | | | | * Added a few methods to ConstantPool * ConstPoolVal no longer derives from Value * Method & Module multiply inherit from SymTabValue & Value now * Added a GetElementPtrInst::isStructSelector() method llvm-svn: 184
* Implement reduceApply methodChris Lattner2001-06-301-4/+16
| | | | llvm-svn: 112
* Miscellaneous cleanups:Chris Lattner2001-06-271-1/+1
| | | | | | | | | | | * 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
* Initial revisionChris Lattner2001-06-061-0/+42
llvm-svn: 2
OpenPOWER on IntegriCloud