aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Two changes:Chris Lattner2001-10-211-19/+2
| | | | | | | | | | | 1. Delete type handle regardless of whether a collision occured 2. Remove a MAJOR pessimization of runtime performance (thought be be an optimization at the time). This second one was causing a 105k llvm file (from gcc) to parse in 58 seconds... without the 'optimization' it now parses in 3.64 seconds. I suck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@933 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix erroneous assertion failure on the following code:Chris Lattner2001-10-211-1/+1
| | | | | | | | | | | declare int "malloc"(...) ... %reg112 = call int (...) * %malloc( uint %cast1007 ) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@932 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug caused by:Chris Lattner2001-10-211-2/+2
| | | | | | | | %list = type opaque %list = type %list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@931 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-215-137/+246
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@930 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem with a cast instruction that must be expanded to type 0Chris Lattner2001-10-212-5/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@929 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed printing of offset operand for RETURN instruction.Vikram S. Adve2001-10-201-1/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@928 91177308-0d34-0410-b5e6-96231b3b80d8
* Use CALL for direct function calls; JMPL for indirect ones.Vikram S. Adve2001-10-201-19/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@927 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor bug fix in printing operands of JMPL.Vikram S. Adve2001-10-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@926 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix shift printing when using a ubyte LHSChris Lattner2001-10-201-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@925 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for And, XOR, and OrChris Lattner2001-10-202-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@924 91177308-0d34-0410-b5e6-96231b3b80d8
* It is valid to have unsigned arrays as constants... the linker may ↵Chris Lattner2001-10-202-8/+0
| | | | | | initialize them later git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@923 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to support unusable Suggested Colors.Ruchira Sasanka2001-10-194-30/+52
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@922 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code so that colorIGNode does not unnecessarily reserve unusableRuchira Sasanka2001-10-192-8/+18
| | | | | | | Suggested colors for neighbors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@921 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to PhyRegAlloc to mark unusable suggested regsRuchira Sasanka2001-10-194-12/+114
| | | | | | | Added initialization to AdjList to IGNode constructor - major bug fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@920 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to Initialize (MachineOperand) to initialize regNum to -1 -- RuchiraRuchira Sasanka2001-10-191-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@919 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrected call interference bug - suggested color not allocated ifRuchira Sasanka2001-10-191-14/+45
| | | | | | | volatile and there are call interferences git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@918 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed Call interference infoRuchira Sasanka2001-10-196-20/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@917 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrected call interference bugRuchira Sasanka2001-10-194-28/+174
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@916 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix to reference the right headerChris Lattner2001-10-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@915 91177308-0d34-0410-b5e6-96231b3b80d8
* no major changeRuchira Sasanka2001-10-182-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Vikram S. Adve2001-10-181-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@913 91177308-0d34-0410-b5e6-96231b3b80d8
* Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka2001-10-181-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@912 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for condition code loading/stroing in methods cpReg2Reg etc.Ruchira Sasanka2001-10-182-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@911 91177308-0d34-0410-b5e6-96231b3b80d8
* removed some debug messagesRuchira Sasanka2001-10-182-30/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@910 91177308-0d34-0410-b5e6-96231b3b80d8
* Enhancements to pass argc & argv to main if requiredChris Lattner2001-10-185-3/+75
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@909 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in new testcase based on .c file. Adapted to run with lliChris Lattner2001-10-182-0/+115
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@908 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix null termination issueChris Lattner2001-10-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@907 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new testcase from C sourceChris Lattner2001-10-182-0/+91
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@906 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneccesary retcode varChris Lattner2001-10-181-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@905 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor Assembly/Bytecode writer code into Assembly & bytecode librariesChris Lattner2001-10-181-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@904 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor code into Assembly & bytecode librariesChris Lattner2001-10-181-68/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@903 91177308-0d34-0410-b5e6-96231b3b80d8
* initial checkinChris Lattner2001-10-182-0/+81
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@902 91177308-0d34-0410-b5e6-96231b3b80d8
* move llvm/Transforms/Pass.h to the top level llvm/Pass.h fileChris Lattner2001-10-1812-36/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@901 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose more xforms to the opt utilityChris Lattner2001-10-182-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@900 91177308-0d34-0410-b5e6-96231b3b80d8
* Bytecode writer is yanked out of Module printerChris Lattner2001-10-181-25/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@899 91177308-0d34-0410-b5e6-96231b3b80d8
* Refix bugs, stop using deprecated strstream headerChris Lattner2001-10-181-82/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@898 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkinChris Lattner2001-10-181-0/+80
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@897 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial CheckinChris Lattner2001-10-181-0/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@896 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull bytecode writing out of Module writer pass. Prepare to move to ↵Chris Lattner2001-10-181-13/+23
| | | | | | seperate file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@895 91177308-0d34-0410-b5e6-96231b3b80d8
* Add operator[] accessorsChris Lattner2001-10-181-5/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@894 91177308-0d34-0410-b5e6-96231b3b80d8
* Move malloc/free lowering after tracing until lli supportsVikram S. Adve2001-10-181-4/+7
| | | | | | | calls to external malloc/free functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@893 91177308-0d34-0410-b5e6-96231b3b80d8
* Only print values live at BB or method exit, and insert loads at eachVikram S. Adve2001-10-181-41/+126
| | | | | | | | | BB exit to read and print values stored in that BB. Note that only these stored values are live at method exit!. Also, print messages at method entry and exit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@892 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option to print per module instead of per method, so thatVikram S. Adve2001-10-181-8/+17
| | | | | | | global declarations are also printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@891 91177308-0d34-0410-b5e6-96231b3b80d8
* Only output code if file open is successfulChris Lattner2001-10-181-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@890 91177308-0d34-0410-b5e6-96231b3b80d8
* Trace code should always be exported just before code generation;Vikram S. Adve2001-10-182-26/+29
| | | | | | | | this is not a debugging option. But we can export it as assembly instead of bytecode if -debugtrace is specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@889 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle multiple exit blocks correctly.Vikram S. Adve2001-10-181-37/+221
| | | | | | | | | Restore string variable cache. Resurrect code to use formatted printing instead of PrintVal but leave it turned off for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@888 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option to print as bytecode instead of assembly.Vikram S. Adve2001-10-181-3/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@887 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the standard header not the old oneChris Lattner2001-10-181-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@886 91177308-0d34-0410-b5e6-96231b3b80d8
* Dang, we were losing the Constant bit on globals. Fix thisChris Lattner2001-10-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@885 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to insert trace code as an "optimization"Chris Lattner2001-10-182-16/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@884 91177308-0d34-0410-b5e6-96231b3b80d8