summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
Commit message (Collapse)AuthorAgeFilesLines
...
* don't bother setting the AsmPrinter::MF ivar, now thatChris Lattner2010-01-261-2/+0
| | | | | | | AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-244-4/+0
| | | | llvm-svn: 94378
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-224-0/+5
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* revert 93934, removing the MCAsmInfo endianness bit. I can'tChris Lattner2010-01-201-2/+1
| | | | | | | stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985
* give MCAsmInfo a 'has little endian' bit. This is unfortunate, butChris Lattner2010-01-191-1/+2
| | | | | | | | | I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. llvm-svn: 93934
* Now that we have everything nicely factored (e.g. asmprinter is notChris Lattner2010-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | doing global variable classification anymore) and hookized, sink almost all target targets global variable emission code into AsmPrinter and out of each target. Some notes: 1. PIC16 does completely custom and crazy stuff, so it is not changed. 2. XCore has some custom handling for extra directives. I'll look at it next. 3. This switches linux/ppc to use .globl instead of .global. If .globl is actually wrong, let me know and I'll fix it. 4. This makes linux/ppc get a lot of random cases right which were obviously wrong before, it is probably now a bit healthier. 5. Blackfin will probably start getting .comm and other things that it didn't before. If this is undesirable, it should explicitly opt out of these things by clearing the relevant fields of MCAsmInfo. This leads to a nice diffstat: 14 files changed, 127 insertions(+), 830 deletions(-) llvm-svn: 93858
* now that MCSymbol::print doesn't use it's MAI argument, we can Chris Lattner2010-01-171-17/+9
| | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
* Replace DebugLocTuple with DILocation.Devang Patel2010-01-161-2/+3
| | | | llvm-svn: 93630
* eliminate uses of mangler and simplify code.Chris Lattner2010-01-161-25/+22
| | | | llvm-svn: 93615
* get pic16 off CurrentFnNameChris Lattner2010-01-161-14/+13
| | | | llvm-svn: 93610
* remove the string form of printVisibility.Chris Lattner2010-01-161-2/+4
| | | | llvm-svn: 93609
* Change SelectCode's argument from SDValue to SDNode *, to make it moreDan Gohman2010-01-052-4/+4
| | | | | | | | | clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564
* Extern declaration for unordered.f32 libcall was not being emitted. Fixed that.Sanjiv Gupta2009-12-291-0/+1
| | | | llvm-svn: 92242
* Fixed llc crash for zext (i1 -> i8) loads.Sanjiv Gupta2009-12-281-2/+2
| | | | llvm-svn: 92201
* Allow targets to specify the return type of libcalls that are generated for ↵Sanjiv Gupta2009-12-282-0/+6
| | | | | | floating point comparisons, rather than hard-coding them as i32. llvm-svn: 92199
* Reapply 91904.Sanjiv Gupta2009-12-233-10/+44
| | | | llvm-svn: 91996
* Added missing patterns for subtract instruction.Sanjiv Gupta2009-12-232-34/+64
| | | | llvm-svn: 91995
* Reverting back 91904.Sanjiv Gupta2009-12-233-45/+10
| | | | llvm-svn: 91993
* While converting one of the operands to a memory operand, we need to check ↵Sanjiv Gupta2009-12-223-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 whichBill Wendling2009-12-221-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 Dunbar2009-12-191-1/+0
| | | | llvm-svn: 91780
* Emit direction operand in binary insns that stores in memory.Sanjiv Gupta2009-12-191-1/+1
| | | | llvm-svn: 91777
* 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
* Avoid some possibly unsafe uses of StringRef::data().Benjamin Kramer2009-11-251-4/+2
| | | | llvm-svn: 89873
* Use StringRef (again) in DebugInfo interface.Devang Patel2009-11-251-4/+4
| | | | llvm-svn: 89866
* revert 88761 as it fails builds.Sanjiv Gupta2009-11-141-11/+5
| | | | llvm-svn: 88762
* Fix debug info crashes for PIC16.Sanjiv Gupta2009-11-141-5/+11
| | | | llvm-svn: 88761
* 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
* Make the MachineFunction argument of getFrameRegister const.David Greene2009-11-122-2/+2
| | | | | | This also fixes a build error. llvm-svn: 87027
* Add a bool flag to StackObjects telling whether they reference spillDavid Greene2009-11-121-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 Lattner2009-11-071-1/+1
| | | | | | Please verify. llvm-svn: 86397
* Remove uninteresting and confusing debug output.Dan Gohman2009-11-051-1/+0
| | | | llvm-svn: 86149
* Rename usesCustomDAGSchedInserter to usesCustomInserter, and update aDan Gohman2009-10-291-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 Gupta2009-10-272-1/+26
| | | | llvm-svn: 85257
* Revert r85134, it breaks mingw buildAnton Korobeynikov2009-10-262-5/+3
| | | | llvm-svn: 85138
* Make PIC16 overlay a loadable pass.Sanjiv Gupta2009-10-262-4/+4
| | | | llvm-svn: 85134
* Reapply 85006 with a minor fix.Sanjiv Gupta2009-10-256-3/+52
| | | | llvm-svn: 85052
* Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky2009-10-251-1/+0
| | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-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 Gupta2009-10-246-51/+3
| | | | llvm-svn: 85008
* Adding support for placing global objects in shared data memory.Sanjiv Gupta2009-10-246-3/+51
| | | | llvm-svn: 85006
* fix warning.Chris Lattner2009-10-221-1/+1
| | | | llvm-svn: 84826
* Revert r84764, it breaks mingw buildAnton Korobeynikov2009-10-211-1/+1
| | | | llvm-svn: 84783
* Build shared lib instead of an archive.Sanjiv Gupta2009-10-211-1/+1
| | | | llvm-svn: 84764
* Add a pass to overlay pic16 data sections for function frame and automaticSanjiv Gupta2009-10-2111-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 Gupta2009-10-201-88/+0
| | | | llvm-svn: 84628
* Update CMake file.Benjamin Kramer2009-10-161-0/+1
| | | | llvm-svn: 84252
* Cleaned up some code. No functionality change.Sanjiv Gupta2009-10-164-67/+52
| | | | llvm-svn: 84251
* Add files Sanjiv forgot.Benjamin Kramer2009-10-153-0/+487
| | | | llvm-svn: 84196
* Re-apply 84180 with the fixed test case.Sanjiv Gupta2009-10-1510-689/+391
| | | | llvm-svn: 84195
OpenPOWER on IntegriCloud