Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug that caused the pass to go into infinite loops on trivial testcases. | Chris Lattner | 2004-08-16 | 1 | -1/+2 |
| | | | | | | This is fallout of the Bug 122 changes. llvm-svn: 15811 | ||||
* | There is no need for a cast here | Chris Lattner | 2004-08-16 | 1 | -1/+1 |
| | | | | llvm-svn: 15810 | ||||
* | Update the current state of the world | Nate Begeman | 2004-08-16 | 1 | -6/+1 |
| | | | | llvm-svn: 15809 | ||||
* | Fix typo of the word 'implicit' I made resolving a CVS conflict. Whoops! | Nate Begeman | 2004-08-16 | 1 | -1/+1 |
| | | | | llvm-svn: 15808 | ||||
* | Fix frame pointer handling: | Nate Begeman | 2004-08-16 | 2 | -32/+33 |
| | | | | | | | | | | Reserve R0 in store/load from stack slot for building >32k offsets from SP or FP. This also requires we use R11 rather than R0 for holding the LR value we want to save or restore. Also, tell the register allocator not to use R31 (our FP) in functions that have a frame pointer. These changes fix Burg. llvm-svn: 15807 | ||||
* | Fix mismatched adjust down/up of SP in functions that contain variable | Nate Begeman | 2004-08-16 | 1 | -4/+4 |
| | | | | | | sized allocas. llvm-svn: 15806 | ||||
* | Add a special case for argc,argv | Chris Lattner | 2004-08-16 | 1 | -2/+13 |
| | | | | llvm-svn: 15802 | ||||
* | Don't pass too many arguments into runFunction | Chris Lattner | 2004-08-16 | 1 | -8/+15 |
| | | | | llvm-svn: 15801 | ||||
* | Finally, add support for calling arbitrary non-varargs functions. | Chris Lattner | 2004-08-16 | 1 | -9/+58 |
| | | | | llvm-svn: 15799 | ||||
* | Handle all nullary functions, of any valid return type. | Chris Lattner | 2004-08-15 | 1 | -7/+46 |
| | | | | llvm-svn: 15798 | ||||
* | Fine, go all of the way and check that the argument types are correct as well. | Chris Lattner | 2004-08-15 | 1 | -13/+27 |
| | | | | llvm-svn: 15797 | ||||
* | These only really work if returning int or void | Chris Lattner | 2004-08-15 | 1 | -17/+21 |
| | | | | llvm-svn: 15796 | ||||
* | Handle zero arg function case | Chris Lattner | 2004-08-15 | 1 | -1/+5 |
| | | | | llvm-svn: 15794 | ||||
* | Simplify code a bit, print error message always instead of asserting. | Chris Lattner | 2004-08-15 | 1 | -16/+19 |
| | | | | llvm-svn: 15793 | ||||
* | V8 never used the instrselectorgenerator | Chris Lattner | 2004-08-15 | 1 | -5/+1 |
| | | | | llvm-svn: 15791 | ||||
* | isdummyclass goes away | Chris Lattner | 2004-08-15 | 1 | -4/+0 |
| | | | | llvm-svn: 15790 | ||||
* | disable all of the pattern isel stuff | Chris Lattner | 2004-08-15 | 1 | -1/+2 |
| | | | | llvm-svn: 15788 | ||||
* | Disable the pattern isel | Chris Lattner | 2004-08-15 | 4 | -25/+13 |
| | | | | llvm-svn: 15787 | ||||
* | Reduce usage of MRegisterInfo::getRegClass | Chris Lattner | 2004-08-15 | 2 | -3/+3 |
| | | | | llvm-svn: 15784 | ||||
* | Insertion methods now return void instead of #instrs inserted. Also, use | Chris Lattner | 2004-08-15 | 2 | -31/+25 |
| | | | | | | more powerful forms of BuildMI to concisify the code llvm-svn: 15782 | ||||
* | Code insertion methods now return void instead of #instrs inserted | Chris Lattner | 2004-08-15 | 2 | -18/+15 |
| | | | | llvm-svn: 15781 | ||||
* | Code insertion methods now return void instead of an int. | Chris Lattner | 2004-08-15 | 6 | -48/+42 |
| | | | | llvm-svn: 15780 | ||||
* | The insertion method returns void now | Chris Lattner | 2004-08-15 | 1 | -5/+1 |
| | | | | llvm-svn: 15779 | ||||
* | Nuke ifdef'd out code | Chris Lattner | 2004-08-15 | 1 | -33/+0 |
| | | | | llvm-svn: 15777 | ||||
* | Stop using CreateStackObject(RegClass*) | Chris Lattner | 2004-08-15 | 5 | -9/+8 |
| | | | | llvm-svn: 15775 | ||||
* | These methods no longer take a TargetRegisterClass* operand. | Chris Lattner | 2004-08-15 | 14 | -70/+47 |
| | | | | llvm-svn: 15774 | ||||
* | Make this compile on gc 3.4.1 (static_cast to non-const type was not | Alkis Evlogimenos | 2004-08-15 | 2 | -4/+4 |
| | | | | | | allowed). llvm-svn: 15766 | ||||
* | Initial implementations of the ErrorCode and Path concepts for Linux. | Reid Spencer | 2004-08-15 | 5 | -0/+792 |
| | | | | llvm-svn: 15763 | ||||
* | Add future optimization opportunity | Nate Begeman | 2004-08-15 | 1 | -0/+1 |
| | | | | llvm-svn: 15760 | ||||
* | Fix float to int codepath by always allocating 8 bytes for the target of a ↵ | Nate Begeman | 2004-08-15 | 1 | -6/+9 |
| | | | | | | double store; optimize cmplwi generation. llvm-svn: 15759 | ||||
* | Zimm16 is now dead. Its entry is not removed from the enum, to avoid having | Chris Lattner | 2004-08-15 | 2 | -4/+0 |
| | | | | | | | to renumber everything. Similar elimination should be applied to other operand enum values that are only used to format printing in the .s file. llvm-svn: 15755 | ||||
* | Convert all of the DForm_6* operations, which makes all of the Zimm16 users | Chris Lattner | 2004-08-15 | 3 | -12/+24 |
| | | | | | | dead. llvm-svn: 15754 | ||||
* | Add i1imm | Chris Lattner | 2004-08-15 | 1 | -0/+1 |
| | | | | llvm-svn: 15753 | ||||
* | Reenable the CCRC | Chris Lattner | 2004-08-15 | 1 | -1/+2 |
| | | | | llvm-svn: 15752 | ||||
* | Convert the DForm_4 over to the asmprintergen | Chris Lattner | 2004-08-15 | 3 | -9/+29 |
| | | | | llvm-svn: 15751 | ||||
* | Remove dead code | Nate Begeman | 2004-08-15 | 1 | -8/+0 |
| | | | | llvm-svn: 15750 | ||||
* | Print mflr using the asmwriter generator | Chris Lattner | 2004-08-14 | 2 | -2/+21 |
| | | | | llvm-svn: 15749 | ||||
* | Update to no longer take MF as an argument | Chris Lattner | 2004-08-14 | 2 | -4/+3 |
| | | | | llvm-svn: 15748 | ||||
* | Make the AsmWriter a first-class tblgen object. Allow targets to specify | Chris Lattner | 2004-08-14 | 1 | -15/+38 |
| | | | | | | name of the generated asmwriter class, and the name of the format string. llvm-svn: 15747 | ||||
* | Replace PowerPCPEI.cpp with target independant PrologEpilogInserter | Nate Begeman | 2004-08-14 | 6 | -353/+64 |
| | | | | llvm-svn: 15746 | ||||
* | Add support for frame pointers, and large offsets from stack and frame ↵ | Nate Begeman | 2004-08-14 | 2 | -28/+72 |
| | | | | | | pointers. Adopt elimination of MachineFunction& arg from eliminateFrameIndex. llvm-svn: 15745 | ||||
* | Add indexed forms of load doubleword and load word algebraic for 64 bit targets | Nate Begeman | 2004-08-14 | 1 | -0/+2 |
| | | | | llvm-svn: 15743 | ||||
* | Fix handling of FP constants with single precision, and loading of internal ↵ | Nate Begeman | 2004-08-14 | 1 | -27/+27 |
| | | | | | | linkage function addresses llvm-svn: 15742 | ||||
* | Add initial support for using the generated asm writer. Also, fix FP ↵ | Nate Begeman | 2004-08-14 | 1 | -61/+73 |
| | | | | | | constant printing to always print 8 byte intializers. Move printing of LinkOnce stubs. llvm-svn: 15741 | ||||
* | Add generation of asm writer from tablegen files to Makefile | Nate Begeman | 2004-08-14 | 1 | -1/+6 |
| | | | | llvm-svn: 15740 | ||||
* | Eliminate MachineFunction& argument from eliminateFrameIndex in x86 Target. ↵ | Nate Begeman | 2004-08-14 | 2 | -4/+3 |
| | | | | | | Get MachineFunction from MachineInstruction's parent's parent llvm-svn: 15739 | ||||
* | Eliminate MachineFunction& argument from eliminateFrameIndex in SparcV9 target | Nate Begeman | 2004-08-14 | 2 | -4/+3 |
| | | | | llvm-svn: 15738 | ||||
* | Eliminate MachineFunction& argument from eliminateFrameIndex in Skeleton target | Nate Begeman | 2004-08-14 | 2 | -4/+3 |
| | | | | llvm-svn: 15737 | ||||
* | Elminiate MachineFunction& argument from eliminateFrameIndex | Nate Begeman | 2004-08-14 | 1 | -1/+1 |
| | | | | llvm-svn: 15736 | ||||
* | Implement test/Regression/Transforms/GlobalConstifier/phi-select.llx | Chris Lattner | 2004-08-14 | 1 | -6/+16 |
| | | | | | | This allows more globals to be marked constant, particularly global arrays. llvm-svn: 15735 |