summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-23/+27
| | | | 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-2/+2
| | | | llvm-svn: 9023
* Reject "llvm." as a function nameChris Lattner2003-09-191-1/+3
| | | | llvm-svn: 8608
* Change the semancics of the dropallrefs methodChris Lattner2003-09-171-2/+1
| | | | llvm-svn: 8572
* Reverting back to the previous revision.John Criswell2003-09-091-1/+1
| | | | | | | | | | We want to check for length 5 because we might get the "llvm." string as the name. That string is in the LLVM namespace and should be checked as such. We also don't have to worry about garbage data because (I believe) the string class will return a valid value. So, the switch statement will work and we don't have to worry about the code wandering into segfault land. llvm-svn: 8419
* Modified the check for intrinsic functions. All intrinsic functions have toJohn Criswell2003-09-091-1/+1
| | | | | | | | be at least 6 characters, since something must follow the "llvm." string in the function name. This seems to fix an assertion failure with the SingleSource tests, too. llvm-svn: 8418
* Eliminate support for the llvm.unwind intrinisic, using the Unwind ↵Chris Lattner2003-09-081-3/+0
| | | | | | instruction instead llvm-svn: 8411
* As it turns out, things will be simpler than I first expected. We no longerChris Lattner2003-08-251-4/+0
| | | | | | need any exception handling intrinsics beyond llvm.unwind. (yaay) llvm-svn: 8145
* rethrow is really the language independent primitive here. "throw" can be ↵Chris Lattner2003-08-241-2/+4
| | | | | | | | | | written in terms of it and llvm.exc.setcurrent. Rework the intrinsics. llvm-svn: 8110
* Fix copy-and-paste-oChris Lattner2003-08-241-2/+2
| | | | llvm-svn: 8104
* Initial support for recognizing LLVM exception handling intrinsicsChris Lattner2003-08-241-4/+10
| | | | llvm-svn: 8102
* Add intrinsics for the llvm.sig(set|long)jmp functionsChris Lattner2003-08-181-1/+3
| | | | llvm-svn: 7949
* Add a bunch of new Alpha Intrinsics for Rahul JoshiChris Lattner2003-08-061-4/+28
| | | | llvm-svn: 7646
* Add support for Alpha intrinsics, contributed by Rahul JoshiChris Lattner2003-07-281-0/+6
| | | | llvm-svn: 7373
* Add support for setjmp/longjmp primitivesChris Lattner2003-05-171-13/+9
| | | | | | Patch checked in for Bill Wendling :) llvm-svn: 6241
* Add more support for intrinsic functions and for varargs stuffChris Lattner2003-05-081-0/+36
| | | | llvm-svn: 6035
* Add new linkage types to support a real frontendChris Lattner2003-04-161-4/+4
| | | | llvm-svn: 5786
* - 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
OpenPOWER on IntegriCloud