| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | all supported target now have aligned common support. | Chris Lattner | 2010-01-25 | 1 | -1/+1 | |
| | | | | | llvm-svn: 94413 | |||||
| * | mcize lcomm, simplify .comm, extend both to support 64-bit sizes. | Chris Lattner | 2010-01-23 | 1 | -3/+19 | |
| | | | | | llvm-svn: 94299 | |||||
| * | move the various directive enums out of the MCStreamer class | Chris Lattner | 2010-01-23 | 1 | -18/+20 | |
| | | | | | | | into a new MCDirectives.h file. llvm-svn: 94294 | |||||
| * | mcize jump table and constant pool entry labels, .local on elf, | Chris Lattner | 2010-01-23 | 1 | -1/+2 | |
| | | | | | | | and some .weak directives. llvm-svn: 94284 | |||||
| * | teach MCAsmStreamer::EmitBytes to use .ascii and .asciz | Chris Lattner | 2010-01-23 | 1 | -3/+47 | |
| | | | | | llvm-svn: 94259 | |||||
| * | Changes to fix buffering that I forgot to commit with previous patch. | Chris Lattner | 2010-01-22 | 1 | -1/+6 | |
| | | | | | llvm-svn: 94222 | |||||
| * | Convert some more random-comment-printing stuff to use | Chris Lattner | 2010-01-22 | 1 | -0/+5 | |
| | | | | | | | | AddComment and GetCommentOS. Add a blank line between globals (even in non-verbose mode) to make the assembly more readable. llvm-svn: 94202 | |||||
| * | add a new MCAsmStreamer::GetCommentOS method to simplify stuff | Chris Lattner | 2010-01-22 | 1 | -9/+32 | |
| | | | | | | | that doesn't want to use twines. llvm-svn: 94199 | |||||
| * | rename addComment -> AddComment for consistency. | Chris Lattner | 2010-01-22 | 1 | -4/+4 | |
| | | | | | llvm-svn: 94190 | |||||
| * | add comment support to the rest of the directives. | Chris Lattner | 2010-01-22 | 1 | -14/+21 | |
| | | | | | llvm-svn: 94168 | |||||
| * | Add the ability for MCStreamer to emit comments on the same line as directives. | Chris Lattner | 2010-01-22 | 1 | -8/+59 | |
| | | | | | | | | | | | | | Switch over the asm-verbose comment for double values to use it. We now get: _x: .long 343597384 ## double 1.231200e+02 .long 1079953326 For example, note that the comment is on the same line as the .long. Woo. llvm-svn: 94166 | |||||
| * | pass "-fasm-verbose" into createAsmStreamer. | Chris Lattner | 2010-01-22 | 1 | -8/+9 | |
| | | | | | llvm-svn: 94165 | |||||
| * | don't forget to initialize an instance variable! | Chris Lattner | 2010-01-20 | 1 | -2/+2 | |
| | | | | | llvm-svn: 94021 | |||||
| * | use getGlobalDirective(), don't hardcode .globl. PR6093 | Chris Lattner | 2010-01-20 | 1 | -13/+13 | |
| | | | | | llvm-svn: 94006 | |||||
| * | make mcasmstreamer handle expanding 8 byte integer constants to | Chris Lattner | 2010-01-20 | 1 | -3/+12 | |
| | | | | | | | | 4-byte constants if .quad isn't supported. Switch a bunch of methods used by the dwarf writer to use OutStreamer.EmitIntValue. llvm-svn: 93987 | |||||
| * | give createAsmStreamer an 'isLittleEndian' argument. | Chris Lattner | 2010-01-20 | 1 | -3/+8 | |
| | | | | | llvm-svn: 93986 | |||||
| * | add a new EmitIntValue method that MCStreamer impls can optionally define | Chris Lattner | 2010-01-19 | 1 | -6/+29 | |
| | | | | | | | and that clients can use. llvm-svn: 93923 | |||||
| * | Generalize mcasmstreamer data emission APIs to take an address space | Chris Lattner | 2010-01-19 | 1 | -24/+29 | |
| | | | | | | | identifier. There is no way to work around it. llvm-svn: 93896 | |||||
| * | mcstreamerize AsmPrinter::EmitZeros, at least when emitting to the | Chris Lattner | 2010-01-19 | 1 | -0/+2 | |
| | | | | | | | default address space. llvm-svn: 93890 | |||||
| * | add an MCAsmStreamer::EmitFill specialization of EmitFill that | Chris Lattner | 2010-01-19 | 1 | -0/+15 | |
| | | | | | | | | emits one directive instead of N. Not doing this would be a significant regression on the # bytes generated by .fill. llvm-svn: 93889 | |||||
| * | mc'ize some stuff, don't comment out .lcomm directive in -fverbose-asm mode. | Chris Lattner | 2010-01-19 | 1 | -3/+7 | |
| | | | | | llvm-svn: 93860 | |||||
| * | remove the MAI argument to MCExpr::print and switch overthing to use << when ↵ | Chris Lattner | 2010-01-18 | 1 | -9/+3 | |
| | | | | | | | printing them. llvm-svn: 93699 | |||||
| * | now that MCSymbol::print doesn't use it's MAI argument, we can | Chris Lattner | 2010-01-17 | 1 | -16/+6 | |
| | | | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695 | |||||
| * | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 1 | -2/+2 | |
| | | | | | llvm-svn: 86251 | |||||
| * | Minor formatting tweaks. | Daniel Dunbar | 2009-10-16 | 1 | -10/+10 | |
| | | | | | llvm-svn: 84235 | |||||
| * | MC: Tweak variable assignment diagnostics, and make reassignment of non-absolute | Daniel Dunbar | 2009-10-16 | 1 | -0/+1 | |
| | | | | | | | variables and symbols invalid. llvm-svn: 84232 | |||||
| * | MC: When parsing a variable reference, substitute absolute variables immediately | Daniel Dunbar | 2009-10-16 | 1 | -1/+4 | |
| | | | | | | | since they are allowed to be redefined. llvm-svn: 84230 | |||||
| * | Change MCAsmStreamer to take an MCInstPrinter instead of a | Chris Lattner | 2009-09-14 | 1 | -8/+8 | |
| | | | | | | | | | | | | full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754 | |||||
| * | 'printMCInst' doesn't print newlines after instructions anymore. | Chris Lattner | 2009-09-13 | 1 | -0/+1 | |
| | | | | | llvm-svn: 81723 | |||||
| * | Thread an MCAsmInfo pointer through the various MC printing APIs, | Chris Lattner | 2009-09-03 | 1 | -11/+20 | |
| | | | | | | | | and fix a few things using << on MCSymbols to use ->print(). No functionality change other than unbreaking my previous patch. llvm-svn: 80890 | |||||
| * | inline insertion operators. | Chris Lattner | 2009-09-03 | 1 | -15/+9 | |
| | | | | | llvm-svn: 80888 | |||||
| * | output alignment value in hex so that we get: | Chris Lattner | 2009-09-03 | 1 | -1/+2 | |
| | | | | | | | | | | | .align 3, 0x90 instead of, .align 3, 144 suggested by eric. llvm-svn: 80875 | |||||
| * | llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues. | Daniel Dunbar | 2009-08-31 | 1 | -14/+14 | |
| | | | | | llvm-svn: 80578 | |||||
| * | llvm-mc: Simplify EmitAssignment ('.set' is identical to '='). | Daniel Dunbar | 2009-08-31 | 1 | -18/+3 | |
| | | | | | llvm-svn: 80577 | |||||
| * | llvm-mc: Switch MCInst to storing an MCExpr* instead of an MCValue. | Daniel Dunbar | 2009-08-31 | 1 | -22/+4 | |
| | | | | | | | Also, use MCInst::print instead of custom code in MCAsmPrinter. llvm-svn: 80575 | |||||
| * | llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported ↵ | Daniel Dunbar | 2009-08-30 | 1 | -14/+8 | |
| | | | | | | | | | for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). llvm-svn: 80484 | |||||
| * | llvm-mc: Emit .lcomm as .zerofill. | Daniel Dunbar | 2009-08-28 | 1 | -6/+3 | |
| | | | | | llvm-svn: 80343 | |||||
| * | llvm-mc: Add const to EmitZeroFill section argument. | Daniel Dunbar | 2009-08-28 | 1 | -2/+2 | |
| | | | | | llvm-svn: 80341 | |||||
| * | llvm-mc: Print encodings after the instruction, and only when we have an asm | Daniel Dunbar | 2009-08-27 | 1 | -17/+18 | |
| | | | | | | | printer. llvm-svn: 80233 | |||||
| * | Sketch TargetRegistry support for MCCodeEmitter abstract interface. | Daniel Dunbar | 2009-08-27 | 1 | -4/+27 | |
| | | | | | | | - Of course, nothing actually can provide this interface yet. llvm-svn: 80188 | |||||
| * | rename TAI -> MAI, being careful not to make MAILJMP instructions :) | Chris Lattner | 2009-08-22 | 1 | -9/+9 | |
| | | | | | llvm-svn: 79777 | |||||
| * | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -4/+4 | |
| | | | | | llvm-svn: 79763 | |||||
| * | llvm-mc: Clean up some handling of symbol/section association to be more correct | Daniel Dunbar | 2009-08-22 | 1 | -6/+5 | |
| | | | | | | | | | | (external was really undefined and there wasn't an explicit representation for absolute symbols). - This still needs some cleanup to how the absolute "pseudo" section is dealt with, but I haven't figured out the nicest approach yet. llvm-svn: 79733 | |||||
| * | fix asmstreaming of 2/4 byte elements with pow-2 alignments. | Chris Lattner | 2009-08-19 | 1 | -1/+8 | |
| | | | | | llvm-svn: 79408 | |||||
| * | switch asmprinter to emit alignments through OutStreamer. | Chris Lattner | 2009-08-19 | 1 | -14/+29 | |
| | | | | | llvm-svn: 79406 | |||||
| * | eliminate AsmPrinter::SwitchToSection and just have clients | Chris Lattner | 2009-08-19 | 1 | -0/+1 | |
| | | | | | | | talk to the MCStreamer directly instead. llvm-svn: 79405 | |||||
| * | Make AsmStreamer maintain a notion of the current section, pushing it up ↵ | Chris Lattner | 2009-08-18 | 1 | -3/+1 | |
| | | | | | | | | | | | | | from the MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter. While I'm at it, clean up the last of the horrible "switch to null section" stuff and add an assert. This change is in preparation for completely eliminating asmprinter::switchtosection. llvm-svn: 79324 | |||||
| * | change AsmPrinter to switch sections using AsmStreamer instead of | Chris Lattner | 2009-08-17 | 1 | -6/+4 | |
| | | | | | | | | | | doing it directly. This requires const'izing a bunch of stuff that took sections, but this seems like the right semantic thing to do: emitting a label to a section shouldn't mutate the MCSection object itself, for example. llvm-svn: 79227 | |||||
| * | give MCAsmStreamer a TargetAsmInfo. | Chris Lattner | 2009-08-17 | 1 | -4/+7 | |
| | | | | | llvm-svn: 79222 | |||||
| * | formatting cleanups, no functionality change. | Chris Lattner | 2009-08-17 | 1 | -43/+36 | |
| | | | | | llvm-svn: 79221 | |||||

