summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add const qualifiers to TargetLoweringObjectFile usage.Dan Gohman2010-04-171-1/+1
| | | | llvm-svn: 101640
* Add support to emit dwarf ranges.Devang Patel2010-04-161-0/+30
| | | | llvm-svn: 101575
* move elf section uniquing to MCContext. Along the wayChris Lattner2010-04-081-1/+1
| | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812
* rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner2010-04-071-1/+1
| | | | llvm-svn: 100709
* tidy upChris Lattner2010-04-071-5/+5
| | | | llvm-svn: 100700
* add a comment line that got droppedChris Lattner2010-04-071-5/+4
| | | | llvm-svn: 100638
* Workaround the breakage in r100616 by guarding all timers withTorok Edwin2010-04-071-11/+67
| | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618
* Use raw_ostream.Benjamin Kramer2010-04-071-22/+14
| | | | llvm-svn: 100615
* Move printing of target-indepedent DEBUG_VALUE commentsDale Johannesen2010-04-071-3/+66
| | | | | | | into AsmPrinter. Target-dependent form is still generated by FastISel and still handled in X86 code. llvm-svn: 100596
* Revert 100573, it's causing some testsuite problems.Dale Johannesen2010-04-061-59/+4
| | | | llvm-svn: 100578
* Move printing of DEBUG_VALUE comments to target-independent place.Dale Johannesen2010-04-061-4/+59
| | | | | | There is probably a more elegant way to do this. llvm-svn: 100573
* propagate cookie management out one layer of function calls.Chris Lattner2010-04-061-1/+1
| | | | llvm-svn: 100510
* Remove unnecessary include.Devang Patel2010-04-061-1/+0
| | | | llvm-svn: 100505
* change AsmPrinter to use DwarfDebug/DwarfException directlyChris Lattner2010-04-051-18/+28
| | | | | | instead of going through DwarfWriter. llvm-svn: 100405
* just have all targets create the DwarfWriter.Chris Lattner2010-04-051-0/+1
| | | | llvm-svn: 100377
* 1) make DIE take AsmPrinter instead of DwarfPrinter.Chris Lattner2010-04-051-0/+7
| | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
* resolve a fixme.Chris Lattner2010-04-041-6/+1
| | | | llvm-svn: 100346
* move gettemplabel and getdwlabel to AsmPrinter and renameChris Lattner2010-04-041-3/+24
| | | | | | them for consistency. llvm-svn: 100345
* more interface cleanup make some helpers static functions.Chris Lattner2010-04-041-27/+24
| | | | llvm-svn: 100343
* clean up the asmprinter header and privatize some stuff.Chris Lattner2010-04-041-17/+17
| | | | llvm-svn: 100342
* split inline asm support out to its own .cpp file.Chris Lattner2010-04-041-294/+1
| | | | llvm-svn: 100340
* inline processDebugLoc and simplify it.Chris Lattner2010-04-041-19/+7
| | | | llvm-svn: 100339
* minor tidying.Chris Lattner2010-04-041-15/+14
| | | | llvm-svn: 100338
* clean up the asmprinter interface a bit, rename a fewChris Lattner2010-04-041-15/+9
| | | | | | | | "Print" methods to "Emit". Emit is something that goes to an mc streamer, Print is something that goes to a raw_ostream (for inline asm) llvm-svn: 100337
* remove TargetMachine.h #include, also, TRI isn't used frequently Chris Lattner2010-04-041-3/+4
| | | | | | enough to warrant caching in AsmPrinter, so remove it. llvm-svn: 100336
* lazily allocate the GCMetadataPrinters map and remove DenseMapChris Lattner2010-04-041-10/+25
| | | | | | from the AsmPrinter interface. llvm-svn: 100331
* Momentous day: remove the "O" member from AsmPrinter. Now all Chris Lattner2010-04-041-4/+2
| | | | | | | | | | "asm printering" happens through MCStreamer. This also Streamerizes PIC16 debug info, which escaped my attention. This removes a leak from LLVMTargetMachine of the 'legacy' output stream. llvm-svn: 100327
* now that all operand printing happens to specified streams, we canChris Lattner2010-04-041-5/+0
| | | | | | | print function level inline asm with EmitInlineAsm instead of writing it directly to "O". llvm-svn: 100326
* remove the raw_ostream from various dwarf printing things.Chris Lattner2010-04-041-1/+1
| | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325
* mcize the gc metadata printing stuff.Chris Lattner2010-04-041-2/+2
| | | | llvm-svn: 100324
* use EmitRawText instead of O in DwarfPrinter.Chris Lattner2010-04-041-1/+0
| | | | llvm-svn: 100323
* fix PrintAsmOperand and PrintAsmMemoryOperand to pass down Chris Lattner2010-04-041-4/+6
| | | | | | raw_ostream to print to. llvm-svn: 100313
* change this back tooChris Lattner2010-04-041-1/+1
| | | | llvm-svn: 100310
* check in what I tested. :(Chris Lattner2010-04-041-1/+1
| | | | llvm-svn: 100309
* MMI is always available, rename O -> OS in printInlineAsm.Chris Lattner2010-04-041-16/+16
| | | | llvm-svn: 100308
* change a ton of code to not implicitly use the "O" raw_ostreamChris Lattner2010-04-041-6/+6
| | | | | | member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306
* asmstreamerize the .size directive for function bodies, force clientsChris Lattner2010-04-031-10/+13
| | | | | | of printOffset to pass in a stream to print to. llvm-svn: 100296
* emit the cygwin stub thing through mcstreamer.Chris Lattner2010-04-031-4/+11
| | | | llvm-svn: 100295
* add a twine form of MCStreamer::EmitRawText, and mc'izeChris Lattner2010-04-031-16/+20
| | | | | | a few more things in AsmPrinter.cpp. llvm-svn: 100294
* start moving towards emitting inline asm statements with Chris Lattner2010-04-031-9/+35
| | | | | | | | EmitInlineAsm. However, this attempt is foiled by operands being emitted directly to "O" so I'll have to do some surgery and finish MCizing the world. llvm-svn: 100291
* add a new EmitInlineAsm function to asmprinter to handle inline asm.Chris Lattner2010-04-031-5/+19
| | | | | | | If we have an MCAsmStreamer, we continue to emit asm textually, otherwise we (currently) emit an error to errs and ignore it. llvm-svn: 100289
* mc'ize comment printing around file scope inline asm.Chris Lattner2010-04-031-5/+10
| | | | llvm-svn: 100288
* Switch the code generator (except the JIT) onto the new DebugLocChris Lattner2010-04-021-8/+6
| | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209
* Rip out the 'is temporary' nonsense from the MCContext interface toChris Lattner2010-03-301-7/+5
| | | | | | | | | create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. llvm-svn: 99902
* Refactor code to push DILocation prcessing into DwarfDebug.cpp from ↵Devang Patel2010-03-291-17/+4
| | | | | | | | AsmPrinter.cpp. This is same as r99772 (which was reverted) with just one meaningful difference where two source lines exchanged their positions. llvm-svn: 99816
* Revert 99772.Devang Patel2010-03-281-4/+17
| | | | llvm-svn: 99778
* Refactoring. Push DILocation processing in to DwarfDebug from AsmPrinter.Devang Patel2010-03-281-17/+4
| | | | llvm-svn: 99772
* reapply r98656 unmodified, which exposed the asmprinter not Chris Lattner2010-03-161-3/+21
| | | | | | handling constant unions. llvm-svn: 98680
* Revert r98656, its breaking all over the place.Daniel Dunbar2010-03-161-21/+3
| | | | llvm-svn: 98662
* improve support for uniontype and ConstantUnion, patch by Tim Northover!Chris Lattner2010-03-161-3/+21
| | | | llvm-svn: 98656
OpenPOWER on IntegriCloud