Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reapply 91904. | Sanjiv Gupta | 2009-12-23 | 3 | -10/+44 |
| | | | | llvm-svn: 91996 | ||||
* | Added missing patterns for subtract instruction. | Sanjiv Gupta | 2009-12-23 | 2 | -34/+64 |
| | | | | llvm-svn: 91995 | ||||
* | Reverting back 91904. | Sanjiv Gupta | 2009-12-23 | 3 | -45/+10 |
| | | | | llvm-svn: 91993 | ||||
* | While converting one of the operands to a memory operand, we need to check ↵ | Sanjiv Gupta | 2009-12-22 | 3 | -10/+45 |
| | | | | | | if it is Legal and does not result into a cyclic dep. llvm-svn: 91904 | ||||
* | Add more plumbing. This time in the LowerArguments and "get" functions which | Bill Wendling | 2009-12-22 | 1 | -1/+2 |
| | | | | | | | | return partial registers. This affected the back-end lowering code some. Also patch up some places I missed before in the "get" functions. llvm-svn: 91880 | ||||
* | Remove unused variable (noticed by clang++). | Daniel Dunbar | 2009-12-19 | 1 | -1/+0 |
| | | | | llvm-svn: 91780 | ||||
* | Emit direction operand in binary insns that stores in memory. | Sanjiv Gupta | 2009-12-19 | 1 | -1/+1 |
| | | | | llvm-svn: 91777 | ||||
* | 1. In indirect load/store insns , the name of fsr should be emitted as INDF. | Sanjiv Gupta | 2009-12-19 | 1 | -5/+13 |
| | | | | | | 2. include standard asmbly headers in generated asmbly. llvm-svn: 91768 | ||||
* | Avoid some possibly unsafe uses of StringRef::data(). | Benjamin Kramer | 2009-11-25 | 1 | -4/+2 |
| | | | | llvm-svn: 89873 | ||||
* | Use StringRef (again) in DebugInfo interface. | Devang Patel | 2009-11-25 | 1 | -4/+4 |
| | | | | llvm-svn: 89866 | ||||
* | revert 88761 as it fails builds. | Sanjiv Gupta | 2009-11-14 | 1 | -11/+5 |
| | | | | llvm-svn: 88762 | ||||
* | Fix debug info crashes for PIC16. | Sanjiv Gupta | 2009-11-14 | 1 | -5/+11 |
| | | | | llvm-svn: 88761 | ||||
* | Move DebugInfo checks into EmitComments and remove them from | David Greene | 2009-11-13 | 1 | -1/+1 |
| | | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697 | ||||
* | Make the MachineFunction argument of getFrameRegister const. | David Greene | 2009-11-12 | 2 | -2/+2 |
| | | | | | | This also fixes a build error. llvm-svn: 87027 | ||||
* | Add a bool flag to StackObjects telling whether they reference spill | David Greene | 2009-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | slots. The AsmPrinter will use this information to determine whether to print a spill/reload comment. Remove default argument values. It's too easy to pass a wrong argument value when multiple arguments have default values. Make everything explicit to trap bugs early. Update all targets to adhere to the new interfaces.. llvm-svn: 87022 | ||||
* | indicate what the native integer types for the target are. | Chris Lattner | 2009-11-07 | 1 | -1/+1 |
| | | | | | | Please verify. llvm-svn: 86397 | ||||
* | Remove uninteresting and confusing debug output. | Dan Gohman | 2009-11-05 | 1 | -1/+0 |
| | | | | llvm-svn: 86149 | ||||
* | Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a | Dan Gohman | 2009-10-29 | 1 | -3/+3 |
| | | | | | | | | bunch of associated comments, because it doesn't have anything to do with DAGs or scheduling. This is another step in decoupling MachineInstr emitting from scheduling. llvm-svn: 85517 | ||||
* | Remove unnecessary gotos to fall-thru successors. | Sanjiv Gupta | 2009-10-27 | 2 | -1/+26 |
| | | | | llvm-svn: 85257 | ||||
* | Revert r85134, it breaks mingw build | Anton Korobeynikov | 2009-10-26 | 2 | -5/+3 |
| | | | | llvm-svn: 85138 | ||||
* | Make PIC16 overlay a loadable pass. | Sanjiv Gupta | 2009-10-26 | 2 | -4/+4 |
| | | | | llvm-svn: 85134 | ||||
* | Reapply 85006 with a minor fix. | Sanjiv Gupta | 2009-10-25 | 6 | -3/+52 |
| | | | | llvm-svn: 85052 | ||||
* | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 |
| | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | ||||
* | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -1/+1 |
| | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | ||||
* | Revert back 85006 for now as it breaks PIC16 tests. | Sanjiv Gupta | 2009-10-24 | 6 | -51/+3 |
| | | | | llvm-svn: 85008 | ||||
* | Adding support for placing global objects in shared data memory. | Sanjiv Gupta | 2009-10-24 | 6 | -3/+51 |
| | | | | llvm-svn: 85006 | ||||
* | fix warning. | Chris Lattner | 2009-10-22 | 1 | -1/+1 |
| | | | | llvm-svn: 84826 | ||||
* | Revert r84764, it breaks mingw build | Anton Korobeynikov | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84783 | ||||
* | Build shared lib instead of an archive. | Sanjiv Gupta | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84764 | ||||
* | Add a pass to overlay pic16 data sections for function frame and automatic | Sanjiv Gupta | 2009-10-21 | 11 | -6/+341 |
| | | | | | | | | variables. This pass can be invoked by llvm-ld or opt to traverse over the call graph to detect what function frames and their automatic variables can be overlaid. Currently this builds an archive , but needs to be changed to a loadable module. llvm-svn: 84753 | ||||
* | This file is replaeced by PIC16Section.h. | Sanjiv Gupta | 2009-10-20 | 1 | -88/+0 |
| | | | | llvm-svn: 84628 | ||||
* | Update CMake file. | Benjamin Kramer | 2009-10-16 | 1 | -0/+1 |
| | | | | llvm-svn: 84252 | ||||
* | Cleaned up some code. No functionality change. | Sanjiv Gupta | 2009-10-16 | 4 | -67/+52 |
| | | | | llvm-svn: 84251 | ||||
* | Add files Sanjiv forgot. | Benjamin Kramer | 2009-10-15 | 3 | -0/+487 |
| | | | | llvm-svn: 84196 | ||||
* | Re-apply 84180 with the fixed test case. | Sanjiv Gupta | 2009-10-15 | 10 | -689/+391 |
| | | | | llvm-svn: 84195 | ||||
* | Revert "Complete Rewrite of AsmPrinter, TargetObjectFile based on new | Daniel Dunbar | 2009-10-15 | 13 | -878/+689 |
| | | | | | | PIC16Section class", it breaks globals.ll. llvm-svn: 84184 | ||||
* | Complete Rewrite of AsmPrinter, TargetObjectFile based on new PIC16Section class | Sanjiv Gupta | 2009-10-15 | 13 | -689/+878 |
| | | | | | | derived from MCSection. llvm-svn: 84180 | ||||
* | Few changes to comply with new DebugInfo Metadata representation. | Sanjiv Gupta | 2009-10-15 | 1 | -4/+5 |
| | | | | llvm-svn: 84179 | ||||
* | s/DebugLoc.CompileUnit/DebugLoc.Scope/g | Devang Patel | 2009-10-13 | 1 | -1/+1 |
| | | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054 | ||||
* | Add register-reuse to frame-index register scavenging. When a target uses | Jim Grosbach | 2009-10-07 | 2 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | a virtual register to eliminate a frame index, it can return that register and the constant stored there to PEI to track. When scavenging to allocate for those registers, PEI then tracks the last-used register and value, and if it is still available and matches the value for the next index, reuses the existing value rather and removes the re-materialization instructions. Fancier tracking and adjustment of scavenger allocations to keep more values live for longer is possible, but not yet implemented and would likely be better done via a different, less special-purpose, approach to the problem. eliminateFrameIndex() is modified so the target implementations can return the registers they wish to be tracked for reuse. ARM Thumb1 implements and utilizes the new mechanism. All other targets are simply modified to adjust for the changed eliminateFrameIndex() prototype. llvm-svn: 83467 | ||||
* | Instead of printing unnecessary basic block labels as labels in | Dan Gohman | 2009-10-06 | 1 | -1/+0 |
| | | | | | | | | | | verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392 | ||||
* | Update processDebugLoc() so that it can be used to process debug info before ↵ | Devang Patel | 2009-10-06 | 1 | -3/+2 |
| | | | | | | and after printing an instruction. llvm-svn: 83363 | ||||
* | Use MachineInstr as an processDebugLoc() argument. | Devang Patel | 2009-09-30 | 1 | -1/+1 |
| | | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183 | ||||
* | Fix a comment typo. | Bob Wilson | 2009-09-30 | 1 | -1/+1 |
| | | | | llvm-svn: 83174 | ||||
* | Remove std::string uses from DebugInfo interface. | Devang Patel | 2009-09-29 | 1 | -10/+7 |
| | | | | llvm-svn: 83083 | ||||
* | Fix PR4926. When target hook EmitInstrWithCustomInserter() insert new basic ↵ | Evan Cheng | 2009-09-19 | 1 | -2/+11 |
| | | | | | | blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311 | ||||
* | Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that ↵ | Evan Cheng | 2009-09-18 | 2 | -2/+4 |
| | | | | | | | | sdisel will use to properly complete phi nodes. Not functionality change yet. llvm-svn: 82273 | ||||
* | PIC16 does allow colon after MBB labels, simplify EmitBasicBlockStart. | Chris Lattner | 2009-09-14 | 1 | -1/+1 |
| | | | | llvm-svn: 81755 | ||||
* | remove all but one reference to TargetRegisterDesc::AsmName. | Chris Lattner | 2009-09-13 | 1 | -4/+1 |
| | | | | llvm-svn: 81714 | ||||
* | the tblgen produced 'getRegisterName' method does not access | Chris Lattner | 2009-09-13 | 1 | -1/+1 |
| | | | | | | the object, make it static instead of const. llvm-svn: 81711 |