| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
of AsmPrinter and InstLowering into libx86 and out of the
asmprinter subdirectory. Now X86/AsmPrinter just depends on
MC stuff, not all of codegen and LLVM IR.
llvm-svn: 108782
|
|
|
|
| |
llvm-svn: 108545
|
|
|
|
|
|
| |
patch by Michael Spencer!
llvm-svn: 108342
|
|
|
|
|
|
|
| |
print the (%rip) only if the 'a' modifier is present.
PR 7528.
llvm-svn: 107727
|
|
|
|
| |
llvm-svn: 105381
|
|
|
|
|
|
| |
changed dllexport code to use EmitBytes instead of EmitRawText, and changed the export option to use /EXPORT: instead of -export: on the windows platform
llvm-svn: 103377
|
|
|
|
| |
llvm-svn: 103373
|
|
|
|
|
|
| |
patch by Nathan Jeffords!
llvm-svn: 103346
|
|
|
|
|
|
| |
patch by Peter Housel!
llvm-svn: 103267
|
|
|
|
| |
llvm-svn: 101640
|
|
|
|
|
|
| |
api and update clients to use MCContext instead.
llvm-svn: 100808
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
| |
which will abort in .o file writing mode.
llvm-svn: 100314
|
|
|
|
|
|
| |
raw_ostream to print to.
llvm-svn: 100313
|
|
|
|
| |
llvm-svn: 100311
|
|
|
|
|
|
|
|
| |
raw_ostream to print an instruction to had to be specified
at MCInstPrinter construction time instead of being able
to pick at each call to printInstruction.
llvm-svn: 100307
|
|
|
|
|
|
| |
of printOffset to pass in a stream to print to.
llvm-svn: 100296
|
|
|
|
| |
llvm-svn: 100033
|
|
|
|
| |
llvm-svn: 98451
|
|
|
|
|
|
|
| |
targets. This is a temporary hack for the .o file writer that Daniel
wants :)
llvm-svn: 98413
|
|
|
|
|
|
| |
some of its callers.
llvm-svn: 98388
|
|
|
|
|
|
| |
it to be non-virtual and soon disappear.
llvm-svn: 98387
|
|
|
|
| |
llvm-svn: 98384
|
|
|
|
| |
llvm-svn: 98377
|
|
|
|
|
|
| |
actually X86_StdCall or X86_FastCall.
llvm-svn: 98374
|
|
|
|
| |
llvm-svn: 98373
|
|
|
|
| |
llvm-svn: 98370
|
|
|
|
|
|
| |
definitions.
llvm-svn: 98368
|
|
|
|
| |
llvm-svn: 98367
|
|
|
|
|
|
|
|
| |
indicates that an MCSymbol is external or not. (It's true if it's external.)
This will be used to specify the correct information to add to non-lazy
pointers. That will be explained further when this bit is used.
llvm-svn: 98199
|
|
|
|
| |
llvm-svn: 98124
|
|
|
|
| |
llvm-svn: 98018
|
|
|
|
| |
llvm-svn: 96288
|
|
|
|
|
|
| |
Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there
llvm-svn: 96285
|
|
|
|
|
|
| |
This should fix alot of problems we saw so far, e.g. PRs 5851 & 2936
llvm-svn: 95980
|
|
|
|
|
|
| |
third stub case.
llvm-svn: 95209
|
|
|
|
| |
llvm-svn: 95208
|
|
|
|
|
|
| |
instead of textually.
llvm-svn: 95206
|
|
|
|
|
|
|
| |
of const ones. non-const ones aren't very useful, because you can't
even, say, emit them.
llvm-svn: 95205
|
|
|
|
|
|
| |
.o files don't like that.
llvm-svn: 95187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the streamer. Demo:
$ cat t.ll
define i32 @test() nounwind {
ret i32 42
}
$ llc t.ll -o -
...
_test:
movl $42, %eax
ret
$ llc t.ll -o t.o -filetype=obj
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_test:
00000000 movl $0x0000002a,%eax
00000005 ret
llvm-svn: 95179
|
|
|
|
|
|
|
|
| |
Move the X86 implementation of function body emission up to
AsmPrinter::EmitFunctionBody, which works by calling the virtual
EmitInstruction method.
llvm-svn: 94716
|
|
|
|
|
|
|
| |
logic up from X86 into the common code. The other targets will
hopefully start using this soon.
llvm-svn: 94614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is more convenient, and change getPICJumpTableRelocBaseExpr
to take a MachineFunction to match.
Next, move the X86 code that create a PICBase symbol to
X86TargetLowering::getPICBaseSymbol from
X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific
library. This eliminates a 'gross hack', and allows us to
implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now
calls it.
This in turn allows us to eliminate the
X86AsmPrinter::printPICJumpTableSetLabel method, which was the
only overload of printPICJumpTableSetLabel.
llvm-svn: 94526
|
|
|
|
|
|
|
| |
EK_LabelDifference32 kind and the target has .set support. Simplify
X86AsmPrinter::printPICJumpTableSetLabel to make use of recent helpers.
llvm-svn: 94518
|
|
|
|
|
|
|
|
|
|
|
| |
jump table entry kind, instead of overloading
AsmPrinter::printPICJumpTableEntry.
This has a pretty horrible and inefficient FIXME around how @GOTOFF
is currently smashed into the mcsymbol name, but otherwise this is
much cleaner.
llvm-svn: 94516
|
|
|
|
|
|
| |
the AsmPrinter::GetMBBSymbol.
llvm-svn: 94515
|
|
|
|
|
|
|
| |
AsmPrinter::SetupMachineFunction sets it. Note that systemz
and msp430 didn't. Yay for reduced inconsistency! :)
llvm-svn: 94510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. MachineJumpTableInfo is now created lazily for a function the first time
it actually makes a jump table instead of for every function.
2. The encoding of jump table entries is now described by the
MachineJumpTableInfo::JTEntryKind enum. This enum is determined by the
TLI::getJumpTableEncoding() hook, instead of by lots of code scattered
throughout the compiler that "knows" that jump table entries are always
32-bits in pic mode (for example).
3. The size and alignment of jump table entries is now calculated based on
their kind, instead of at machinefunction creation time.
Future work includes using the EntryKind in more places in the compiler,
eliminating other logic that "knows" the layout of jump tables in various
situations.
llvm-svn: 94470
|
|
|
|
| |
llvm-svn: 94464
|