| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
the instruction syntax, not the entire asmprinter.
llvm-svn: 82387
|
|
|
|
|
|
| |
transcode from AT&T to intel syntax with "llvm-mc foo.s -output-asm-variant=1"
llvm-svn: 82385
|
|
|
|
|
|
| |
Make dllexport directives come out in determinstic order.
llvm-svn: 82381
|
|
|
|
|
|
| |
causes the "../foo" to not find the file
llvm-svn: 82270
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getSymbolForDwarfGlobalReference is smart enough to know that it
needs to register the stub it references with MachineModuleInfoMachO,
so that it gets emitted at the end of the file.
Move stub emission from X86ATTAsmPrinter::doFinalization to the
new X86ATTAsmPrinter::EmitEndOfAsmFile asmprinter hook. The important
thing here is that EmitEndOfAsmFile is called *after* the ehframes are
emitted, so we get all the stubs.
This allows us to remove a gross hack from the asmprinter where it would
"just know" that it needed to output stubs for personality functions.
Now this is all driven from a consistent interface.
The testcase change is just reordering the expected output now that the
stubs come out after the ehframe instead of before.
This also unblocks other changes that Bill wants to make.
llvm-svn: 82269
|
|
|
|
|
|
| |
exceeds 32-bits.
llvm-svn: 82235
|
|
|
|
|
|
| |
and use MachineModuleInfoMachO instead.
llvm-svn: 82022
|
|
|
|
| |
llvm-svn: 82020
|
|
|
|
|
|
| |
stuff common across all macho targets.
llvm-svn: 82018
|
|
|
|
| |
llvm-svn: 82011
|
|
|
|
|
|
| |
the global variable list only happen for COFF targets.
llvm-svn: 82010
|
|
|
|
|
|
| |
we have MCInstPrinter.
llvm-svn: 82006
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
be a MCInstPrinter.
llvm-svn: 81746
|
|
|
|
| |
llvm-svn: 81744
|
|
|
|
| |
llvm-svn: 81714
|
|
|
|
|
|
| |
the object, make it static instead of const.
llvm-svn: 81711
|
|
|
|
|
|
|
| |
of getting it from TRI, inst printing now is codegen context
free!
llvm-svn: 81710
|
|
|
|
|
|
| |
Nothing is using this info yet.
llvm-svn: 81707
|
|
|
|
|
|
|
| |
all the other targets. Add support for weak/linkonce linkage so it doesn't
crash on basically all nontrivial testcases.
llvm-svn: 81704
|
|
|
|
|
|
|
|
| |
class into its own X86ATTInstPrinter class. The inst
printer now has just one dependence on the code generator
(TRI).
llvm-svn: 81703
|
|
|
|
| |
llvm-svn: 81699
|
|
|
|
| |
llvm-svn: 81689
|
|
|
|
|
|
|
| |
Change the picbase symbol on non-darwin systems from ".Lllvm$4.$piclabel" to
".L4$pb". The actual name doesn't matter and the darwin name is shorter.
llvm-svn: 81688
|
|
|
|
| |
llvm-svn: 81685
|
|
|
|
|
|
|
| |
now that printBasicBlockLabel is only used for starting
a MBB. This allows elimination of a bunch of arguments.
llvm-svn: 81684
|
|
|
|
|
|
| |
instead.
llvm-svn: 81677
|
|
|
|
|
|
|
|
| |
Move GetMBBSymbol up to AsmPrinter and make printBasicBlockLabel use it so that
we only have one place that decides what to name bb labels. Hopefully various
clients of printBasicBlockLabel can start using GetMBBSymbol instead.
llvm-svn: 81652
|
|
|
|
| |
llvm-svn: 81630
|
|
|
|
|
|
|
|
| |
this means that it can only lower one MachineInstr to one MCInst. To
make this fly, we need to pull out handling of MO_GOT_ABSOLUTE_ADDRESS
(which generates an implicit label) out of X86MCInstLower.
llvm-svn: 81629
|
|
|
|
|
|
| |
MBB labels like everything else.
llvm-svn: 81628
|
|
|
|
|
|
|
| |
being embedded into X86ATTAsmPrinter). This still depends heavily
on X86ATTAsmPrinter, but this is a step in the right direction.
llvm-svn: 81627
|
|
|
|
|
|
|
| |
operand printing crapola cannot be removed yet because it is used by
the inline asm print stuff.
llvm-svn: 81626
|
|
|
|
|
|
|
| |
like:
foo.s:2412:non-relocatable subtraction expression, "_gomp_tls_key" minus "L1$pb"
llvm-svn: 81596
|
|
|
|
|
|
| |
because the sorting wasn't sorting.
llvm-svn: 81592
|
|
|
|
| |
llvm-svn: 81577
|
|
|
|
| |
llvm-svn: 81544
|
|
|
|
| |
llvm-svn: 81541
|
|
|
|
| |
llvm-svn: 81532
|
|
|
|
|
|
| |
FnStubs and GVStubs.
llvm-svn: 81514
|
|
|
|
|
|
| |
densemap instead of StringMap to match FnStubs.
llvm-svn: 81513
|
|
|
|
|
|
|
|
|
|
| |
more efficient SmallPtrSet<MCSymbol*>. This eliminates string
craziness and fixes CodeGen/X86/darwin-quote.ll with the new asmprinter.
Codegen is producing stubs in a nondeterminstic order, but it was doing
this before anyway.
llvm-svn: 81511
|
|
|
|
|
|
| |
for the two instruction MOVPC32r sequence.
llvm-svn: 81509
|
|
|
|
|
|
|
|
| |
Mangler::getNameWithPrefix. In addition to avoiding some over
quoting, this also is more efficient because it uses smallvector
instead of std::string thrashing.
llvm-svn: 81508
|
|
|
|
|
|
| |
instead of std::string and Mangler.
llvm-svn: 81503
|
|
|
|
| |
llvm-svn: 81502
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the MCInst path of the asmprinter. Instead, pull comment printing
out of the autogenerated asmprinter into each target that uses the
autogenerated asmprinter. This causes code duplication into each
target, but in a way that will be easier to clean up later when more
asmprinter stuff is commonized into the base AsmPrinter class.
This also fixes an xcore strangeness where it inserted two tabs
before every instruction.
llvm-svn: 81396
|
|
|
|
|
|
| |
new asmprinter. Differently gross hack coming next.
llvm-svn: 81379
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
asm printer into the "printInstruction" routine. This
fixes a problem where the experimental asmprinter would
drop debug labels in some cases, and fixes issues on ppc/xcore
where pseudo instructions like "mr" didn't get debug locs properly.
It is annoying that this moves the call from one place into each
target, but a future set of more invasive refactorings will fix
that problem.
llvm-svn: 81377
|
|
|
|
|
|
| |
printing stuff are quoting symbols now, breaking objc testcases.
llvm-svn: 81319
|