summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-9/+9
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Eliminate the concept of a deferred symbol table. The optimization really ↵Chris Lattner2002-11-201-22/+1
| | | | | | | | isn't, and it causes obscure bugs to show up in passes. llvm-svn: 4777
* - Eliminate SymbolTable::ParentSymTab, ST::localLookup, andChris Lattner2002-10-151-6/+2
| | | | | | Function::ParentSymTab. These aren't needed at all. llvm-svn: 4186
* - Change Function's so that their argument list is populated when they areChris Lattner2002-10-131-1/+8
| | | | | | | constructed. Before, external functions would have an empty argument list, now a Function ALWAYS has a populated argument list. llvm-svn: 4149
* Remove specification of argument default from cpp file.Vikram S. Adve2002-09-171-1/+1
| | | | llvm-svn: 3772
* Enable "garbage detection" of LLVM objects. Now users should be obnoxiousChris Lattner2002-09-081-2/+30
| | | | | | warnings. If they accidentally leak LLVM Value's. llvm-svn: 3620
* Move code out of header files into .cpp files to make future changes easierChris Lattner2002-09-061-2/+25
| | | | llvm-svn: 3605
* * Remove extraneous #includesChris Lattner2002-09-061-6/+5
| | | | | | * Add extra argument to Function ctor to allow automatic insertion into module llvm-svn: 3600
* *** empty log message ***Chris Lattner2002-07-241-2/+2
| | | | llvm-svn: 3065
* MEGAPATCH checkin.Chris Lattner2002-06-251-17/+27
| | | | | | 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
* * Incorporate the contents of SymTabValue into Function and ModuleChris Lattner2002-04-281-2/+26
| | | | | | * Module no longer subclasses Value llvm-svn: 2355
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-2/+19
| | | | | | | | be 'Argument' instead of FunctionArgument. Move Argument implementation to Function.cpp llvm-svn: 2211
* Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.hChris Lattner2002-04-081-2/+2
| | | | llvm-svn: 2156
* s/Method/FunctionChris Lattner2002-03-291-5/+4
| | | | llvm-svn: 2034
* Change references from Method to FunctionChris Lattner2002-03-261-8/+8
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Rename Method to FunctionChris Lattner2002-03-231-7/+8
| | | | llvm-svn: 1957
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-4/+4
| | | | llvm-svn: 1503
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-1/+1
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-3/+3
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Implement internalChris Lattner2001-11-261-5/+5
| | | | llvm-svn: 1385
* Removed MachineCodeForMethod object and made it an annotation.Vikram S. Adve2001-11-081-5/+1
| | | | llvm-svn: 1183
* Delete MachineCodeInfoForMethod object.Vikram S. Adve2001-10-221-0/+2
| | | | llvm-svn: 956
* Added MachineCodeForMethod object in class Method.Vikram S. Adve2001-10-221-1/+3
| | | | llvm-svn: 949
* It is valid to have unsigned arrays as constants... the linker may ↵Chris Lattner2001-10-201-3/+0
| | | | | | initialize them later llvm-svn: 923
* Factor parentness out of Module & GlobalVariable into GlobalValueChris Lattner2001-10-031-2/+1
| | | | | | Implement SymbolTable debug/dump utility llvm-svn: 710
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-5/+9
| | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion llvm-svn: 703
* Convert more code to use new style castsChris Lattner2001-10-011-1/+1
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Remove the unsized array constraintChris Lattner2001-09-181-4/+1
| | | | llvm-svn: 599
* Add support for global constants, and for initializers for constantsChris Lattner2001-09-181-4/+10
| | | | llvm-svn: 598
* Use correct style castsChris Lattner2001-09-101-7/+3
| | | | llvm-svn: 545
* Implement global variable supportChris Lattner2001-09-101-1/+30
| | | | llvm-svn: 530
* Support new setName interfaceChris Lattner2001-09-071-1/+3
| | | | llvm-svn: 462
* * ValueHolder now takes 3 argumentsChris Lattner2001-07-141-3/+3
| | | | | | | | | * 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
* Miscellaneous cleanups:Chris Lattner2001-06-271-4/+3
| | | | | | | | | | | * 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/+75
llvm-svn: 2
OpenPOWER on IntegriCloud