summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Identify unconditional gotos and generate a page sel instructions before them.Sanjiv Gupta2009-06-251-4/+6
| | | | llvm-svn: 74172
* Mark mayLoad, mayStore for insns correctly and use themSanjiv Gupta2009-05-121-3/+7
| | | | | | to check if an insn is accessing memory during mem sel optimization. llvm-svn: 71537
* Detect calls to compiler intrinsics and emit an extern declarations Sanjiv Gupta2009-05-111-0/+2
| | | | | | | | | | | only for those. These extern declarations to intrinsics are currently being emitted at the bottom of generated .s file, which works fine with gpasm(not sure about MPSAM though). PIC16 linker generates errors for few cases (function-args/struct_args_5) if you do not include any extern declarations (even if no intrinsics are being used), but that needs to be fixed in the linker itself. llvm-svn: 71423
* Changed lowering and asmprinter to use ABI Names class called PAN.Sanjiv Gupta2009-05-101-1/+1
| | | | llvm-svn: 71386
* Moved pic16 naming functions to correct place.Sanjiv Gupta2009-05-081-1/+1
| | | | | | No functionality change. llvm-svn: 71207
* Emit banksel and movlp instructions.Sanjiv Gupta2009-05-061-0/+163
Split large global data (both initialized and un-initialized) into multiple sections of <= 80 bytes. Provide routines to manage PIC16 ABI naming conventions. llvm-svn: 71073
OpenPOWER on IntegriCloud