summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow unresolved/opaque types to be read and written to bytecode filesChris Lattner2001-10-232-33/+74
| | | | llvm-svn: 959
* Fix another annoying bug that took forever to track down. This one involves ↵Chris Lattner2001-10-231-0/+5
| | | | | | abstract type resolution at a bad time that broke symbol tables. llvm-svn: 958
* Delete MachineCodeInfoForMethod object.Vikram S. Adve2001-10-221-0/+2
| | | | llvm-svn: 956
* Fix a problem occuring with type unification of symbol table entriesChris Lattner2001-10-221-1/+55
| | | | llvm-svn: 955
* Added function IsLeafMethod to identify leaf methods.Vikram S. Adve2001-10-221-0/+23
| | | | | | This will use the CallGraph only if one is provided. llvm-svn: 950
* Added MachineCodeForMethod object in class Method.Vikram S. Adve2001-10-221-1/+3
| | | | llvm-svn: 949
* Use class MachineCodeForMethod to print machine code.Vikram S. Adve2001-10-221-1/+1
| | | | llvm-svn: 948
* Added class MachineCodeForMethod.Vikram S. Adve2001-10-221-1/+39
| | | | llvm-svn: 947
* Cosmetic changes only.Vikram S. Adve2001-10-221-15/+49
| | | | llvm-svn: 946
* Modify code that processes delay slots so that it preserves anyVikram S. Adve2001-10-221-11/+36
| | | | | | useful instructions already inserted into delay slots. llvm-svn: 945
* UNUSED.Vikram S. Adve2001-10-221-240/+0
| | | | llvm-svn: 944
* Split JMPL into JMPLCALL and JMPLRET.Vikram S. Adve2001-10-221-1/+2
| | | | llvm-svn: 943
* Added a frame layout class, and code to insert prolog/epilog code.Vikram S. Adve2001-10-221-15/+143
| | | | llvm-svn: 942
* Reordered registers slightly to simplify a new check.Vikram S. Adve2001-10-221-3/+14
| | | | | | Added a function to map between the caller's and callee's register windows. llvm-svn: 941
* Split JMPL into JMPLCALL and JMPLRET so that IsCall and IsReturn canVikram S. Adve2001-10-221-11/+9
| | | | | | be used to distinguish those uses of the `jmpl' instruction. llvm-svn: 940
* Added functions to generate prolog and epilog code.Vikram S. Adve2001-10-221-116/+149
| | | | | | Use JMPLRET instead of RETURN for method returns so that llvm-svn: 939
* Added SAVE and RESTORE. Duplicated JMPL into JMPLCALL and JMPLRET,Vikram S. Adve2001-10-221-1/+6
| | | | | | which have the same opcode and operands but different flags. llvm-svn: 938
* Reordered a couple of registers to simplify some new checks.Vikram S. Adve2001-10-221-7/+41
| | | | | | | Added code to map between caller's and callee's register windows. Added frame layout class. llvm-svn: 937
* Remove ugly subclass of Opaque typeChris Lattner2001-10-222-16/+4
| | | | llvm-svn: 936
* Fix bug withChris Lattner2001-10-221-24/+57
| | | | | | | | | %list = type {%list *} %list = type {%list *} not being accepted (broken testmisc.ll) llvm-svn: 935
* Fix bug exposed by this testcase:Chris Lattner2001-10-221-6/+27
| | | | | | | | | | | declare int "call_operand" (%rtx_def*, int) ;; Prototype for: call_operand declare int "restore_operand" (%rtx_def*, int) ;; Prototype for: restore_operand %rtx_def = type opaque %rtx_def = type int implementation llvm-svn: 934
* 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. llvm-svn: 933
* Fix erroneous assertion failure on the following code:Chris Lattner2001-10-211-1/+1
| | | | | | | | | | declare int "malloc"(...) ... %reg112 = call int (...) * %malloc( uint %cast1007 ) llvm-svn: 932
* Fix bug caused by:Chris Lattner2001-10-211-2/+2
| | | | | | | %list = type opaque %list = type %list llvm-svn: 931
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-213-114/+232
| | | | llvm-svn: 930
* Fix problem with a cast instruction that must be expanded to type 0Chris Lattner2001-10-212-5/+16
| | | | llvm-svn: 929
* Fixed printing of offset operand for RETURN instruction.Vikram S. Adve2001-10-201-1/+12
| | | | llvm-svn: 928
* Use CALL for direct function calls; JMPL for indirect ones.Vikram S. Adve2001-10-201-19/+26
| | | | llvm-svn: 927
* Minor bug fix in printing operands of JMPL.Vikram S. Adve2001-10-201-2/+2
| | | | llvm-svn: 926
* Fix shift printing when using a ubyte LHSChris Lattner2001-10-201-0/+3
| | | | llvm-svn: 925
* Add support for And, XOR, and OrChris Lattner2001-10-202-2/+6
| | | | llvm-svn: 924
* It is valid to have unsigned arrays as constants... the linker may ↵Chris Lattner2001-10-202-8/+0
| | | | | | initialize them later llvm-svn: 923
* Added code to support unusable Suggested Colors.Ruchira Sasanka2001-10-192-15/+26
| | | | llvm-svn: 922
* Added code so that colorIGNode does not unnecessarily reserve unusableRuchira Sasanka2001-10-192-8/+18
| | | | | | Suggested colors for neighbors. llvm-svn: 921
* Added code to PhyRegAlloc to mark unusable suggested regsRuchira Sasanka2001-10-192-6/+57
| | | | | | Added initialization to AdjList to IGNode constructor - major bug fix llvm-svn: 920
* Corrected call interference bug - suggested color not allocated ifRuchira Sasanka2001-10-191-14/+45
| | | | | | volatile and there are call interferences llvm-svn: 918
* Changed Call interference infoRuchira Sasanka2001-10-193-10/+27
| | | | llvm-svn: 917
* Corrected call interference bugRuchira Sasanka2001-10-192-14/+87
| | | | llvm-svn: 916
* no major changeRuchira Sasanka2001-10-181-2/+4
| | | | llvm-svn: 914
* Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka2001-10-181-0/+20
| | | | llvm-svn: 912
* Added support for condition code loading/stroing in methods cpReg2Reg etc.Ruchira Sasanka2001-10-182-2/+8
| | | | llvm-svn: 911
* removed some debug messagesRuchira Sasanka2001-10-181-15/+17
| | | | llvm-svn: 910
* Enhancements to pass argc & argv to main if requiredChris Lattner2001-10-184-2/+74
| | | | llvm-svn: 909
* Refix bugs, stop using deprecated strstream headerChris Lattner2001-10-181-82/+31
| | | | llvm-svn: 898
* Initial checkinChris Lattner2001-10-181-0/+80
| | | | llvm-svn: 897
* 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. llvm-svn: 892
* 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. llvm-svn: 888
* Dang, we were losing the Constant bit on globals. Fix thisChris Lattner2001-10-181-1/+1
| | | | llvm-svn: 885
* Convert to be compatible with lli.Chris Lattner2001-10-181-70/+48
| | | | | | Need to eliminate duplicate \n entries llvm-svn: 883
* Massive hacks to try to fix subtle logic bugs. I think it's all working now,Chris Lattner2001-10-181-275/+130
| | | | | | | at least what used to. I should disable method exit code completely because it's broken (doesn't insert just post dominating values) llvm-svn: 881
OpenPOWER on IntegriCloud