summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/AsmPrinter
Commit message (Collapse)AuthorAgeFilesLines
* 1. In indirect load/store insns , the name of fsr should be emitted as INDF.Sanjiv Gupta2009-12-191-5/+13
| | | | | | 2. include standard asmbly headers in generated asmbly. llvm-svn: 91768
* Move DebugInfo checks into EmitComments and remove them fromDavid Greene2009-11-131-1/+1
| | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
* Reapply 85006 with a minor fix.Sanjiv Gupta2009-10-252-0/+7
| | | | llvm-svn: 85052
* Revert back 85006 for now as it breaks PIC16 tests.Sanjiv Gupta2009-10-242-7/+0
| | | | llvm-svn: 85008
* Adding support for placing global objects in shared data memory.Sanjiv Gupta2009-10-242-0/+7
| | | | llvm-svn: 85006
* fix warning.Chris Lattner2009-10-221-1/+1
| | | | llvm-svn: 84826
* Add a pass to overlay pic16 data sections for function frame and automaticSanjiv Gupta2009-10-212-3/+48
| | | | | | | | 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
* Cleaned up some code. No functionality change.Sanjiv Gupta2009-10-162-43/+43
| | | | llvm-svn: 84251
* Re-apply 84180 with the fixed test case.Sanjiv Gupta2009-10-152-95/+83
| | | | llvm-svn: 84195
* Revert "Complete Rewrite of AsmPrinter, TargetObjectFile based on newDaniel Dunbar2009-10-152-83/+95
| | | | | | PIC16Section class", it breaks globals.ll. llvm-svn: 84184
* Complete Rewrite of AsmPrinter, TargetObjectFile based on new PIC16Section classSanjiv Gupta2009-10-152-95/+83
| | | | | | derived from MCSection. llvm-svn: 84180
* Instead of printing unnecessary basic block labels as labels inDan Gohman2009-10-061-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 Patel2009-10-061-3/+2
| | | | | | and after printing an instruction. llvm-svn: 83363
* Use MachineInstr as an processDebugLoc() argument.Devang Patel2009-09-301-1/+1
| | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
* Fix a comment typo.Bob Wilson2009-09-301-1/+1
| | | | llvm-svn: 83174
* PIC16 does allow colon after MBB labels, simplify EmitBasicBlockStart.Chris Lattner2009-09-141-1/+1
| | | | llvm-svn: 81755
* remove all but one reference to TargetRegisterDesc::AsmName.Chris Lattner2009-09-131-4/+1
| | | | llvm-svn: 81714
* the tblgen produced 'getRegisterName' method does not accessChris Lattner2009-09-131-1/+1
| | | | | | the object, make it static instead of const. llvm-svn: 81711
* make tblgen produce a function that returns the name for a physreg.Chris Lattner2009-09-131-0/+2
| | | | | | Nothing is using this info yet. llvm-svn: 81707
* replace printBasicBlockLabel with EmitBasicBlockStart,Chris Lattner2009-09-131-1/+1
| | | | | | | now that printBasicBlockLabel is only used for starting a MBB. This allows elimination of a bunch of arguments. llvm-svn: 81684
* convert some uses of printBasicBlockLabel to use GetMBBSymbolChris Lattner2009-09-131-1/+2
| | | | | | instead. llvm-svn: 81677
* remove DebugLoc from MCInst and eliminate "Comment printing" fromChris Lattner2009-09-091-0/+6
| | | | | | | | | | | | | the MCInst path of the asmprinter. Instead, pull comment printing out of the autogenerated asmprinter into each target that uses the autogenerated asmprinter. This causes code duplication into each target, but in a way that will be easier to clean up later when more asmprinter stuff is commonized into the base AsmPrinter class. This also fixes an xcore strangeness where it inserted two tabs before every instruction. llvm-svn: 81396
* Normalize makefile comments and sort cmake file lists.Benjamin Kramer2009-08-311-1/+1
| | | | llvm-svn: 80584
* rename TAI -> MAI, being careful not to make MAILJMP instructions :)Chris Lattner2009-08-222-17/+17
| | | | llvm-svn: 79777
* revert 79764, my dependencies failed me again.Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79767
* remove dead member.Chris Lattner2009-08-221-1/+1
| | | | llvm-svn: 79764
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-222-7/+6
| | | | llvm-svn: 79763
* revert r79562 + r79563Chris Lattner2009-08-212-45/+12
| | | | llvm-svn: 79690
* revert 79631Chris Lattner2009-08-212-16/+6
| | | | llvm-svn: 79685
* Add a pass to do call graph analyis to overlay the autos and frame sections of Sanjiv Gupta2009-08-212-6/+16
| | | | | | | leaf functions. This pass will be extended to color other nodes of the call tree as well in future. llvm-svn: 79631
* Implement support for ISRs. Sanjiv Gupta2009-08-202-12/+45
| | | | | | | | | Clone functions that are shared between the Main thread and Interrupt thread. CallSites are changed in AsmPrinter currently. A better solution would have been to modify the legalizer (SoftenFloat) to allow targets to change the name of libcalls for float operations. But that currently breaks other targets. Also, cloing of automatic variables is done AsmPrinter, a better approach would be to use the ValueMap in CloneFunction itself. llvm-svn: 79562
* eliminate AsmPrinter::SwitchToSection and just have clientsChris Lattner2009-08-191-7/+8
| | | | | | talk to the MCStreamer directly instead. llvm-svn: 79405
* rename PIC16Section.h -> MCSectionPIC16.h for consistency withChris Lattner2009-08-151-1/+1
| | | | | | the class it defines. llvm-svn: 79081
* Move PIC16 AsmPrinter to PIC16/AsmPrinter directory.Sanjiv Gupta2009-08-134-0/+584
Remove CooperTargetMachine, as currently only one is supported. llvm-svn: 78914
OpenPOWER on IntegriCloud