aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Doxygen-ified comments.Misha Brukman2003-09-301-187/+147
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8778 91177308-0d34-0410-b5e6-96231b3b80d8
* Made code more terse:Misha Brukman2003-09-301-15/+4
| | | | | | | | * Deleted empty comment lines * No single begin-braces '{' on a line by themselves git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8773 91177308-0d34-0410-b5e6-96231b3b80d8
* Add statistic for # of emitWord() calls.Brian Gaeke2003-09-301-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8772 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Use better error messages in LinkFiles().Brian Gaeke2003-09-301-2/+2
| | | | | | | | | 2. I think the caller of LinkFiles() should not ignore a true return value. (If you have a good reason why it ought to, feel free to revert this. It's just something that's been bugging me for a while.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8760 91177308-0d34-0410-b5e6-96231b3b80d8
* Update file headers for renamed files.Chris Lattner2003-09-301-12/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8758 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed space issues, code alignment, tabs -> spaces.Misha Brukman2003-09-291-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8755 91177308-0d34-0410-b5e6-96231b3b80d8
* Implementation of the abstraction of running our tools + gcc, taken out ofMisha Brukman2003-09-291-0/+374
| | | | | | | bugpoint for general usage and enjoyment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8754 91177308-0d34-0410-b5e6-96231b3b80d8
* Tersified code:Misha Brukman2003-09-291-39/+33
| | | | | | | | | * Removed space between function name and its argument list * Removed space between '&' and variable name * Removed empty comment lines: `//' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8750 91177308-0d34-0410-b5e6-96231b3b80d8
* * Ordered includes according to LLVM programmers' guideMisha Brukman2003-09-291-127/+50
| | | | | | | | * Made code layout more verbose: no more '{' on a line by itself * Pruned extra whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8748 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed Support directory. It now lives in llvm/support/lib.John Criswell2003-09-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8739 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved code from llvm/lib/Support to llvm/support/lib/Support.John Criswell2003-09-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8735 91177308-0d34-0410-b5e6-96231b3b80d8
* Just rethrow previous exception instead of making a new oneChris Lattner2003-09-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8718 91177308-0d34-0410-b5e6-96231b3b80d8
* Define the instance variable Buffer, not the automatic variable Buffer.Chris Lattner2003-09-251-3/+2
| | | | | | | This was causing us to munmap random stuff, which is obviously bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8709 91177308-0d34-0410-b5e6-96231b3b80d8
* DOn't crash if program calls the null pointerChris Lattner2003-09-241-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8708 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix alignment problemChris Lattner2003-09-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8707 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove explicit use of BasicBlock::succ_iteratorChris Lattner2003-09-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8706 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually assign the string correctly through the std::string pointer.Misha Brukman2003-09-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8704 91177308-0d34-0410-b5e6-96231b3b80d8
* Use global *_iteratorChris Lattner2003-09-241-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use BasicBlock::*_iterator, just use *_iterator itself.Chris Lattner2003-09-244-8/+4
| | | | | | | Isn't updating copy and pasted code a joy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8702 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate BytecodeBufferReader::Length member variableMisha Brukman2003-09-241-26/+7
| | | | | | | | * Kill unused ALIN_PTRS #define * Set the error string if user passed it in to be compatible with former API git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8701 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use BasicBlock::succ_iteratorChris Lattner2003-09-241-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8700 91177308-0d34-0410-b5e6-96231b3b80d8
* Update head-of-file comment.Brian Gaeke2003-09-242-2/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8699 91177308-0d34-0410-b5e6-96231b3b80d8
* Untabify tabs in stuff I've recently added.Brian Gaeke2003-09-244-6/+312
| | | | | | | Check in my register allocator state-saving code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8698 91177308-0d34-0410-b5e6-96231b3b80d8
* Use getRegClassID() instead of getRegClass()->getID(), since it's there.Brian Gaeke2003-09-242-34/+30
| | | | | | | | Shorten the markSuggestedColorUsable method. Add a switch for saving reg. alloc. state (coming soon). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8697 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some unused methods of class IGNode.Brian Gaeke2003-09-242-26/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8696 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code that ensures that we pass the beginning of the data buffer toJohn Criswell2003-09-231-1/+1
| | | | | | | the parsing routines regardless of whether the buffer is re-aligned or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8693 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: IndVarsSimplify/2003-09-23-NotAtTop.llChris Lattner2003-09-231-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8689 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed spelling.Misha Brukman2003-09-232-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8687 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling.Misha Brukman2003-09-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8686 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop returning bool and pass Instruction by reference;Misha Brukman2003-09-232-135/+146
| | | | | | | return std::auto_ptr and use exceptions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8684 91177308-0d34-0410-b5e6-96231b3b80d8
* Suggestions made by Chris:Misha Brukman2003-09-231-10/+14
| | | | | | | | | | * Instead of a #define, use inline function * Fix the name on the #define, errr... now inline function to be more logical: it doesn't CHECK the alignment, it PERFORMS the alignment * To get string name of a Type*, use getDescription(), not getName() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8683 91177308-0d34-0410-b5e6-96231b3b80d8
* * Group class definitions & implementations togetherMisha Brukman2003-09-231-58/+110
| | | | | | | | | * Make sure we align the buffer we're given * Do not let exceptions propagate when the caller asks for a Module* * Add doxygenified comments to wrapper functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8682 91177308-0d34-0410-b5e6-96231b3b80d8
* Move getAnalysisUsage method from header to .cpp file. Add a normal fileChris Lattner2003-09-234-42/+44
| | | | | | | header comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8679 91177308-0d34-0410-b5e6-96231b3b80d8
* * Constantify arguments to copy functionMisha Brukman2003-09-231-8/+4
| | | | | | | * Stop using a #define, make it an inline if statement git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8678 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed no longer used member variable.Misha Brukman2003-09-221-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8677 91177308-0d34-0410-b5e6-96231b3b80d8
* Uppercase the acronym ASCII.Misha Brukman2003-09-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8676 91177308-0d34-0410-b5e6-96231b3b80d8
* Added file header comment.Misha Brukman2003-09-221-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8675 91177308-0d34-0410-b5e6-96231b3b80d8
* * No longer initialize the module, a subclass is more suitable to do thisMisha Brukman2003-09-221-6/+6
| | | | | | | | because it can add a module ID which we do not have at this time. * Check to see if the module has been initialized when materializing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8674 91177308-0d34-0410-b5e6-96231b3b80d8
* Update file header for renamed fileChris Lattner2003-09-223-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8673 91177308-0d34-0410-b5e6-96231b3b80d8
* * Cleaned up code:Misha Brukman2003-09-224-340/+443
| | | | | | | | | | - no more passing around a string pointer to set errors - no more returning booleans and checking for errors, we use C++ exceptions * Broke functionality into 2 new classes, one reads from file, one from a stream * Implemented lazy function streaming - the parser can read in a function at-a-time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8671 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugs in the last changeChris Lattner2003-09-221-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8667 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: Inline/2003-09-22-PHINodesInNormalInvokeDest.llChris Lattner2003-09-221-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8666 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: Inline/2003-09-22-PHINodesInExceptionDest.llChris Lattner2003-09-221-1/+28
| | | | | | | | ... by making sure to update PHI nodes to take into consideration the extra edges we get if we inline a call instruction through an invoke. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8664 91177308-0d34-0410-b5e6-96231b3b80d8
* Credits now go into the top-level CREDITS.TXTMisha Brukman2003-09-221-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8662 91177308-0d34-0410-b5e6-96231b3b80d8
* Credits are now in top-level CREDITS.TXTMisha Brukman2003-09-221-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8661 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch warningChris Lattner2003-09-222-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8659 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix assertion so it doesn't not trip incorrectly.Vikram S. Adve2003-09-211-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8650 91177308-0d34-0410-b5e6-96231b3b80d8
* Use C++ math header instead of C version.Brian Gaeke2003-09-212-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8648 91177308-0d34-0410-b5e6-96231b3b80d8
* Erase now-unused prototypes.Brian Gaeke2003-09-212-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8647 91177308-0d34-0410-b5e6-96231b3b80d8
* Rearrange #includes ... since there are fewer now I guess it's a win.Brian Gaeke2003-09-212-4/+4
| | | | | | | | (I also zapped printMachineCode() and printLabel() at the previous checkin, but forgot to mention it.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8646 91177308-0d34-0410-b5e6-96231b3b80d8