summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Don't insert useful instructions in delay slot of a RETURN.Vikram S. Adve2001-10-102-27/+32
| | | | llvm-svn: 721
* Insert code to load constants used as Call or Return arguments.Vikram S. Adve2001-10-101-39/+94
| | | | | | Also, note return value of a Call as an "implicitUse". llvm-svn: 720
* Machine-independent code generation routines used in instructionVikram S. Adve2001-10-102-0/+459
| | | | | | selection. These used to live in several different places before. llvm-svn: 719
* Moved code generation support routines to InstrSelectionSupport.{h,cpp}.Vikram S. Adve2001-10-102-77/+24
| | | | llvm-svn: 718
* Moved code generation support routines to InstrSelectionSupport.cpp.Vikram S. Adve2001-10-102-259/+1
| | | | llvm-svn: 717
* Moved first function to "simpleadd.ll".Vikram S. Adve2001-10-101-24/+0
| | | | llvm-svn: 716
* testmemory and sumarray now work with instruction selection.Vikram S. Adve2001-10-101-3/+15
| | | | llvm-svn: 715
* --removed %g regs being allocated - fix laterRuchira Sasanka2001-10-091-5/+6
| | | | llvm-svn: 714
* Add hack to get rid of malloc & free instructions for code generationChris Lattner2001-10-041-4/+123
| | | | llvm-svn: 713
* Add commentChris Lattner2001-10-031-0/+6
| | | | llvm-svn: 712
* Support multiple global's definitionsChris Lattner2001-10-031-23/+13
| | | | llvm-svn: 711
* Factor parentness out of Module & GlobalVariable into GlobalValueChris Lattner2001-10-038-19/+46
| | | | | | Implement SymbolTable debug/dump utility llvm-svn: 710
* Rename getNullPointer to getNullChris Lattner2001-10-031-1/+13
| | | | | | Allow sharing of null pointer constants llvm-svn: 709
* Rename getNullPointer to getNullChris Lattner2001-10-031-1/+1
| | | | llvm-svn: 708
* Allow duplicate constant values as long as they are compatible.Chris Lattner2001-10-031-36/+62
| | | | | | Clean up stuff a little bit with inMethod/ModuleContext functions llvm-svn: 707
* Share ConstPoolPointer elements correctlyChris Lattner2001-10-032-5/+9
| | | | llvm-svn: 706
* Fix broken testcaseChris Lattner2001-10-031-1/+1
| | | | llvm-svn: 705
* Add check to make sure that we dont reference MEthodType's directlyChris Lattner2001-10-031-0/+3
| | | | llvm-svn: 704
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-0321-71/+145
| | | | | | | | * 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
* Adjust test cases to match the fact that methods are now explicit pointer ↵Chris Lattner2001-10-037-11/+11
| | | | | | values, not explicit llvm-svn: 702
* First try at a horrible global value reference wrapperChris Lattner2001-10-033-19/+79
| | | | llvm-svn: 701
* Clean up parser, fix a bug that prevented this from working:Chris Lattner2001-10-031-66/+52
| | | | | | | | | | | %ListNode3 = global %list { %list* null, int 4 } because %list is name and the parser expected a literal {..} type there. In addition, simplified rules that the fix (Allow any Types there, not just a StructType) made obsolete. Simplified type propogation a bit. llvm-svn: 700
* * Add support for null as a constantChris Lattner2001-10-032-28/+59
| | | | | | | | * Allow multiple definitions of a type with the same name as long as they are the same type * Eagerly resolve types to allow #2 to work instead of after the whole const pool has been processed * Change grammar to require a const before a local constant definition llvm-svn: 699
* Modify testcases for new LLVM const syntaxChris Lattner2001-10-035-21/+21
| | | | llvm-svn: 698
* Commit more code over to new cast styleChris Lattner2001-10-0240-228/+342
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-0126-123/+140
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-0122-91/+142
| | | | | | Convert more code to use them llvm-svn: 695
* Add support for new style castsChris Lattner2001-10-0123-65/+118
| | | | llvm-svn: 694
* Add support for newer cleaner isa, cast, dyn_castChris Lattner2001-10-014-3/+65
| | | | llvm-svn: 693
* Update commentsChris Lattner2001-10-011-3/+9
| | | | llvm-svn: 692
* Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner2001-10-0114-364/+173
| | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. llvm-svn: 691
* Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner2001-10-012-30/+21
| | | | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. Also pull Interval stuff into the Interval class out of the global namespace llvm-svn: 690
* Comment out a paragraph that refers to a file that no longer existsChris Lattner2001-10-011-3/+3
| | | | llvm-svn: 689
* Fix emission of return instructionsChris Lattner2001-10-011-0/+2
| | | | llvm-svn: 688
* Add path to as so it doesn't find llvm as if that path is set.Chris Lattner2001-10-011-2/+2
| | | | llvm-svn: 687
* Exclude a couple of tests that the regalloc stuff doesn't handle yetChris Lattner2001-10-011-1/+1
| | | | llvm-svn: 686
* Add different "cast constant value" for several possible types.Vikram S. Adve2001-10-011-10/+19
| | | | | | Note these are actually generated by Phis with constant operands. llvm-svn: 685
* Add vector `implicitUses' to class MachineCodeForVMInstr to hold valuesVikram S. Adve2001-10-011-12/+19
| | | | | | | that are used by the VM instruction but not explicit operands of the m/c instruction. llvm-svn: 684
* Several fixes:Vikram S. Adve2001-10-011-1222/+1301
| | | | | | | | | | | | (1) Avoid hard-coding some register numbers. (2) Fix some incorrect branch opcodes. (3) Don't try to move int register to float register! (4) If an operand being forwarded is a constant and it doesn't fit into the immed field of the copy machine instruction, then generate a load-constant instead of a copy. (5) Use (unsigned long) 0 for copying a pointer via "add 0, ptr -> ptr2". llvm-svn: 683
* removing phy regaloc - incorrect fileRuchira Sasanka2001-09-301-487/+0
| | | | llvm-svn: 682
* Change latency of setuw and setsw to 2 cycles.Vikram S. Adve2001-09-301-4/+5
| | | | llvm-svn: 681
* Change ! ( ...== ...) to !=.Vikram S. Adve2001-09-301-1/+1
| | | | llvm-svn: 680
* Improved dump for disp type operand.Vikram S. Adve2001-09-301-1/+7
| | | | llvm-svn: 679
* Bug fixes:Vikram S. Adve2001-09-301-378/+429
| | | | | | | | | | | (1) Ensure that delay slot instructions are not moved out of place (this was happening for some CALL instructions). Basically, we need to move all delay slot instructions out of the graph and handle them along with the delayed control transfer instruction. (2) Mark scheduled instructions correctly when instructions are scheduled in more than one cycle in a single step (due to delay slots). llvm-svn: 678
* Minor changes for bug fixes in SchedGraph.cpp.Vikram S. Adve2001-09-301-9/+15
| | | | llvm-svn: 677
* Two bug fixes:Vikram S. Adve2001-09-301-78/+177
| | | | | | | (1) Add edges for Values that are written by multiple m/c instructions (2) Add edges for LLVM operands that are not machine operands (e.g., Call args) llvm-svn: 676
* *** empty log message ***Ruchira Sasanka2001-09-301-2/+3
| | | | llvm-svn: 675
* no major change.Ruchira Sasanka2001-09-304-4/+4
| | | | llvm-svn: 674
* added suggesting color supportRuchira Sasanka2001-09-304-22/+161
| | | | llvm-svn: 673
* added suggesting color supporRuchira Sasanka2001-09-301-7/+24
| | | | llvm-svn: 672
OpenPOWER on IntegriCloud