| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 100340
|
|
|
|
| |
llvm-svn: 100339
|
|
|
|
| |
llvm-svn: 100338
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
| |
enough to warrant caching in AsmPrinter, so remove it.
llvm-svn: 100336
|
|
|
|
|
|
| |
from the AsmPrinter interface.
llvm-svn: 100331
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
| |
print function level inline asm with EmitInlineAsm instead of writing
it directly to "O".
llvm-svn: 100326
|
|
|
|
|
|
|
| |
The only thing left is LEB printing, which uses EmitRawText
for now.
llvm-svn: 100325
|
|
|
|
| |
llvm-svn: 100324
|
|
|
|
| |
llvm-svn: 100323
|
|
|
|
|
|
| |
raw_ostream to print to.
llvm-svn: 100313
|
|
|
|
| |
llvm-svn: 100310
|
|
|
|
| |
llvm-svn: 100309
|
|
|
|
| |
llvm-svn: 100308
|
|
|
|
|
|
| |
member of AsmPrinter. Instead, pass it in explicitly.
llvm-svn: 100306
|
|
|
|
|
|
| |
of printOffset to pass in a stream to print to.
llvm-svn: 100296
|
|
|
|
| |
llvm-svn: 100295
|
|
|
|
|
|
| |
a few more things in AsmPrinter.cpp.
llvm-svn: 100294
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 99778
|
|
|
|
| |
llvm-svn: 99772
|
|
|
|
|
|
| |
handling constant unions.
llvm-svn: 98680
|
|
|
|
| |
llvm-svn: 98662
|
|
|
|
| |
llvm-svn: 98656
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to LLVM IR changes with addr label weirdness. In the testcase, we
generate references to the two bb's when codegen'ing the first
function:
_test1: ## @test1
leaq Ltmp0(%rip), %rax
..
leaq Ltmp1(%rip), %rax
Then continue to codegen the second function where the blocks
get merged. We're now smart enough to emit both labels, producing
this code:
_test_fun: ## @test_fun
## BB#0: ## %entry
Ltmp1: ## Block address taken
Ltmp0:
## BB#1: ## %ret
movl $-1, %eax
ret
Rejoice.
llvm-svn: 98595
|
|
|
|
|
|
|
|
|
| |
label is generated, but then the block is deleted. Since the
value is undefined, we just emit the label right after the entry
label of the function. It might matter that the label is in the
same section as the function was afterall.
llvm-svn: 98579
|
|
|
|
|
|
|
|
| |
machine instructions.
This is a work in progress.
llvm-svn: 98556
|
|
|
|
| |
llvm-svn: 98526
|
|
|
|
|
|
|
| |
label instead of trying to form one based on the BB name (which
causes collisions if the name is empty). This fixes PR6608
llvm-svn: 98495
|
|
|
|
|
|
| |
with an MCSymbol instead of an immediate.
llvm-svn: 98481
|
|
|
|
| |
llvm-svn: 98474
|
|
|
|
|
|
|
|
| |
an MCSymbol. Make the EH_LABEL MachineInstr hold its label
with an MCSymbol instead of ID. Fix a bug in MMI.cpp which
would return labels named "Label4" instead of "label4".
llvm-svn: 98463
|
|
|
|
| |
llvm-svn: 98451
|
|
|
|
|
|
|
|
|
|
|
| |
and passing off ownership to AsmPrinter. Now MachineModuleInfo
creates it and owns it by value. This allows us to use MCSymbols
more consistently throughout the rest of the code generator, and
simplifies a bit of code. This also allows MachineFunction to
keep an MCContext reference handy, and cleans up the TargetRegistry
interfaces for AsmPrinters.
llvm-svn: 98450
|
|
|
|
| |
llvm-svn: 98392
|
|
|
|
|
|
| |
some of its callers.
llvm-svn: 98388
|
|
|
|
| |
llvm-svn: 98378
|
|
|
|
|
|
| |
for a global instead of messing around with string buffers.
llvm-svn: 98366
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 98363
|
|
|
|
|
|
| |
are inside the function by the target at the point of use.
llvm-svn: 98255
|
|
|
|
| |
llvm-svn: 98124
|
|
|
|
|
|
|
| |
Now that setStartLabel takes an MCSymbol, we can de-ID'ize
beginScope and RecordSourceLine.
llvm-svn: 98047
|
|
|
|
|
|
| |
failures.
llvm-svn: 98039
|
|
|
|
|
|
| |
beginScope and RecordSourceLine.
llvm-svn: 98035
|