| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | move some files out of the llvm-mc tool into the MCParser library so | Chris Lattner | 2010-01-22 | 2 | -0/+2085 |
| | | | | | | | other tools can link it. llvm-svn: 94131 | ||||
| * | forgot to svn add these, doh. | Chris Lattner | 2010-01-22 | 2 | -0/+22 |
| | | | | | llvm-svn: 94130 | ||||
| * | create a new MCParser library and move some stuff into it. | Chris Lattner | 2010-01-22 | 5 | -7/+5 |
| | | | | | llvm-svn: 94129 | ||||
| * | 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 | ||||
| * | revert 93934, removing the MCAsmInfo endianness bit. I can't | Chris Lattner | 2010-01-20 | 3 | -5/+3 |
| | | | | | | | | 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, but | Chris Lattner | 2010-01-19 | 3 | -3/+5 |
| | | | | | | | | | | 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 | ||||
| * | add a new EmitIntValue method that MCStreamer impls can optionally define | Chris Lattner | 2010-01-19 | 2 | -6/+36 |
| | | | | | | | and that clients can use. llvm-svn: 93923 | ||||
| * | Promoted the getTok() method to MCAsmParser so that | Sean Callanan | 2010-01-19 | 1 | -1/+5 |
| | | | | | | | | the two token accessor functions are declared consistently. Modified the clients of MCAsmParser to reflect this change. llvm-svn: 93916 | ||||
| * | Generalize mcasmstreamer data emission APIs to take an address space | Chris Lattner | 2010-01-19 | 4 | -33/+41 |
| | | | | | | | 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 | ||||
| * | add a "MCStreamer::EmitFill" method, and move the default implementation | Chris Lattner | 2010-01-19 | 1 | -0/+9 |
| | | | | | | | (which just iteratively emits bytes) to MCStreamer. llvm-svn: 93888 | ||||
| * | remove MAI::ZeroDirectiveSuffix, which is only used by MASM, | Chris Lattner | 2010-01-19 | 1 | -1/+0 |
| | | | | | | | which we don't support anymore. llvm-svn: 93886 | ||||
| * | stop using the .lcomm pseudoop on darwin, instead, directly use the | Chris Lattner | 2010-01-19 | 2 | -3/+2 |
| | | | | | | | .zerofill directive. Streamerize its generation. llvm-svn: 93868 | ||||
| * | 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 | ||||
| * | hookize the cygwin ".linkonce" directive. | Chris Lattner | 2010-01-19 | 2 | -0/+2 |
| | | | | | llvm-svn: 93855 | ||||
| * | add a bool for whether .lcomm takes an alignment instead of basing this on ↵ | Chris Lattner | 2010-01-19 | 2 | -0/+2 |
| | | | | | | | "isdarwin". llvm-svn: 93852 | ||||
| * | move production of .reference directives for static ctor/dtor list on | Chris Lattner | 2010-01-19 | 2 | -0/+2 |
| | | | | | | | darwin into common code. llvm-svn: 93849 | ||||
| * | Cleanup handling of .zerofill on darwin: | Chris Lattner | 2010-01-19 | 2 | -2/+2 |
| | | | | | | | | | | | | | | 1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. llvm-svn: 93838 | ||||
| * | Remove this fixme, looking at the linker source, all targets pad to 4 bytes. | Nate Begeman | 2010-01-19 | 1 | -2/+0 |
| | | | | | llvm-svn: 93835 | ||||
| * | remove the MAI argument to MCExpr::print and switch overthing to use << when ↵ | Chris Lattner | 2010-01-18 | 3 | -23/+11 |
| | | | | | | | printing them. llvm-svn: 93699 | ||||
| * | now that MCSymbol::print doesn't use it's MAI argument, we can | Chris Lattner | 2010-01-17 | 4 | -31/+15 |
| | | | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695 | ||||
| * | rename NameNeedsEscaping -> NameNeedsQuoting, eliminate the check | Chris Lattner | 2010-01-17 | 1 | -9/+4 |
| | | | | | | | | for first character which is a digit, mangler would have taken care of this already. llvm-svn: 93694 | ||||
| * | Get MCSymbol out of the mangling business, and move all the logic | Chris Lattner | 2010-01-17 | 1 | -57/+4 |
| | | | | | | | | | | | | to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690 | ||||
| * | Add a note for the macho streamer and remove a used of the mangler from the ↵ | Nate Begeman | 2010-01-17 | 1 | -0/+2 |
| | | | | | | | soon to be defunct machowriter pass. llvm-svn: 93670 | ||||
| * | unbreak the build, grr symlinks. | Chris Lattner | 2010-01-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 93539 | ||||
| * | extend MCAsmParser::ParseExpression and ParseParenExpression | Chris Lattner | 2010-01-15 | 1 | -1/+14 |
| | | | | | | | | to return range information for subexpressions. Use this to provide range info for several new X86Operands. llvm-svn: 93534 | ||||
| * | tidy | Chris Lattner | 2010-01-13 | 1 | -4/+3 |
| | | | | | llvm-svn: 93352 | ||||
| * | expose a static function as a static method on the MCSymbol class. | Chris Lattner | 2010-01-13 | 1 | -4/+7 |
| | | | | | llvm-svn: 93350 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -4/+5 |
| | | | | | llvm-svn: 92635 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -1/+2 |
| | | | | | llvm-svn: 92634 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -1/+2 |
| | | | | | llvm-svn: 92632 | ||||
| * | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -2/+3 |
| | | | | | llvm-svn: 92630 | ||||
| * | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 10 | -16/+15 |
| | | | | | llvm-svn: 86251 | ||||
| * | Move DataTypes.h to include/llvm/System, update all users. This breaks the last | Chandler Carruth | 2009-10-26 | 1 | -1/+1 |
| | | | | | | | direct inclusion edge from System to Support. llvm-svn: 85086 | ||||
| * | add a twine version of MCContext::GetOrCreateSymbol. | Chris Lattner | 2009-10-19 | 1 | -1/+9 |
| | | | | | llvm-svn: 84561 | ||||
| * | MC: Set symbol values in MachO MCStreamer. | Daniel Dunbar | 2009-10-16 | 1 | -1/+3 |
| | | | | | llvm-svn: 84236 | ||||
| * | Minor formatting tweaks. | Daniel Dunbar | 2009-10-16 | 2 | -34/+34 |
| | | | | | llvm-svn: 84235 | ||||
| * | MC: Switch assembler API to using MCExpr instead of MCValue. | Daniel Dunbar | 2009-10-16 | 2 | -31/+41 |
| | | | | | llvm-svn: 84234 | ||||
| * | MC: Remove unneeded context argument to MCExpr::Evaluate*. | Daniel Dunbar | 2009-10-16 | 2 | -9/+8 |
| | | | | | llvm-svn: 84233 | ||||
| * | 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 | ||||
| * | MC: Move assembler variable values from MCContext to MCSymbol. | Daniel Dunbar | 2009-10-16 | 1 | -2/+5 |
| | | | | | llvm-svn: 84229 | ||||
| * | MC: Switch MCContext value table to storing MCExprs. | Daniel Dunbar | 2009-10-16 | 2 | -21/+3 |
| | | | | | llvm-svn: 84228 | ||||
| * | Fixed MCSectionMachO::ParseSectionSpecifier to allow an attribute of "none" so | Kevin Enderby | 2009-10-07 | 1 | -4/+6 |
| | | | | | | | | that a symbol stub section with no attributes can be parsed as in: .section __TEXT,__picsymbolstub4,symbol_stubs,none,16 llvm-svn: 83488 | ||||
| * | No newline at end of files. | Edward O'Callaghan | 2009-10-05 | 2 | -2/+2 |
| | | | | | llvm-svn: 83318 | ||||
| * | eliminate a use of strtoul. | Chris Lattner | 2009-09-20 | 1 | -12/+2 |
| | | | | | llvm-svn: 82382 | ||||

