summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Module.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make the getNamedFunction and getNamedGlobal methods be const. They don'tReid Spencer2006-05-311-8/+8
| | | | | | change the module in any way and we should enforce that. llvm-svn: 28588
* Fix some think-o's in my last commit. Thanks to Chris for pointing them out.Owen Anderson2006-05-181-16/+18
| | | | llvm-svn: 28380
* Change Module to use TargetData-compatible strings internally.Owen Anderson2006-05-181-1/+60
| | | | | | This is part of the on-going work on PR 761. llvm-svn: 28379
* add a new helper method.Chris Lattner2006-03-081-0/+14
| | | | llvm-svn: 26618
* Change inline asms to be uniqued like constants, not embedded in a Module.Chris Lattner2006-01-251-17/+0
| | | | llvm-svn: 25610
* Initial checkin of the InlineAsm classChris Lattner2006-01-241-1/+18
| | | | llvm-svn: 25570
* Add a flag to Module::getGlobalVariable to allow it to return vars withChris Lattner2005-12-051-7/+7
| | | | | | | | internal linkage. Patch provided by Evan Jones, thanks! llvm-svn: 24604
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-1/+1
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Improve conformance with the Misha spelling benchmark suiteChris Lattner2005-01-301-2/+2
| | | | llvm-svn: 19930
* Adjust to ilist changes.Chris Lattner2005-01-291-2/+2
| | | | llvm-svn: 19923
* Okay, the list of link-time passes wasn't such a hot idea. Its prone toReid Spencer2004-09-141-7/+0
| | | | | | | error. We'll strategize on this when we have multiple front ends to deal with. For now llvm-ld just runs a standard set of transforms. llvm-svn: 16333
* Add support for the link-time pass list to Modules.Reid Spencer2004-09-131-0/+6
| | | | llvm-svn: 16321
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* bug 263:Reid Spencer2004-07-251-0/+1
| | | | | | Ensure the list of libraries is cleared. llvm-svn: 15212
* bug 122:Reid Spencer2004-07-171-45/+0
| | | | | | - Module doesn't need to manage ConstantPointerRefs any more. llvm-svn: 14931
* Replace use of defunct Type::setName method with SymbolTable::insert.Reid Spencer2004-07-101-1/+1
| | | | | | Patch found and provided by Vladimir Merzliakov. Thanks Vladimir! llvm-svn: 14732
* - #include <iostream> since its not in Value.h any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14617
* Convert to SymbolTable's new lookup and iteration interfaces.Reid Spencer2004-05-251-7/+6
| | | | llvm-svn: 13751
* I'm allergic to the word `stuff'.Misha Brukman2004-04-211-1/+1
| | | | llvm-svn: 13096
* Remove Module::mutateConstantPointerRef, which is now thankfully dead!Chris Lattner2004-03-081-25/+0
| | | | | | | This is one small step towards the complete obliteration of ConstantPointerRef's entirely!! Woot! llvm-svn: 12216
* Add some comments, add new getGlobalVariable methodChris Lattner2003-12-311-1/+43
| | | | llvm-svn: 10671
* * Make Module::getTypeName constChris Lattner2003-12-311-16/+23
| | | | | | | * Add new Module::getTypeByName method * Group methods in Module.cpp better llvm-svn: 10668
* Finegrainify namespacificationChris Lattner2003-11-211-8/+8
| | | | llvm-svn: 10131
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Make code gcc 3.4 cleanChris Lattner2003-11-051-2/+2
| | | | llvm-svn: 9719
* 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
* Fix spelling/grammar.Misha Brukman2003-10-101-1/+1
| | | | llvm-svn: 9023
* Implement new methodChris Lattner2003-08-311-0/+24
| | | | llvm-svn: 8238
* Support new 'any' support for pointer size and endiannessChris Lattner2003-08-241-1/+1
| | | | llvm-svn: 8119
* Make Module::getNamedFunction prefer non-external functions if there is more ↵Chris Lattner2003-07-231-2/+6
| | | | | | | | than one function of the same name llvm-svn: 7274
* Fix bug: Assembler/2003-05-15-AssemblerProblem.llxChris Lattner2003-05-151-2/+13
| | | | llvm-svn: 6234
* 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
OpenPOWER on IntegriCloud