| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 101035
|
|
|
|
| |
llvm-svn: 101013
|
|
|
|
| |
llvm-svn: 100954
|
|
|
|
|
|
|
| |
that do not build some (or all) of the targets that
edis supports.
llvm-svn: 100910
|
|
|
|
| |
llvm-svn: 100848
|
|
|
|
|
|
| |
integrated into the llvm-mc testing tool.
llvm-svn: 100842
|
|
|
|
|
|
|
|
| |
state was being executed too lazily, and the LLVM
assembly syntax for the disassembler was not being
written into the proper disassembler state variable.
llvm-svn: 100830
|
|
|
|
|
|
|
|
|
|
|
| |
I also added a rule to the ARM target's Makefile to
build the ARM-specific instruction information table
for the enhanced disassembler.
I will add the test harness for all this stuff in
a separate commit.
llvm-svn: 100735
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
demo:
$ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
<inline asm>:1:2: error: unrecognized instruction
abc incl %eax
^
LLVM ERROR: Error parsing inline asm
Only problem seems to be that the parser finalizes OutStreamer
at the end of the first inline asm, which isn't what we want.
For example:
$ cat asm.c
int foo(int X) {
__asm__ ("incl %0" : "+r" (X));
return X;
}
$ clang asm.c -S -o - -emit-llvm | llc
...
subq $8, %rsp
movl %edi, (%rsp)
movl %edi, %eax
## InlineAsm Start
incl %eax
## InlineAsm End
movl %eax, (%rsp)
movl %eax, 4(%rsp)
addq $8, %rsp
ret
$ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_foo:
0000000000000000 subq $0x08,%rsp
0000000000000004 movl %edi,(%rsp)
0000000000000007 movl %edi,%eax
0000000000000009 incl %eax
$
don't stop at inc!
llvm-svn: 100491
|
|
|
|
| |
llvm-svn: 100489
|
|
|
|
|
|
| |
a co-committed clang patch.
llvm-svn: 100485
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100287
|
|
|
|
|
|
|
|
|
|
|
|
| |
having the bitcode writer materialize mdnodes for all the
debug location tuples when writing out the bc file and
stores the information in a more compact form. For example,
the -O0 -g bc file for combine.c in 176.gcc shrinks from
739392 to 512096 bytes.
This concludes my planned short-term debug info work.
llvm-svn: 100261
|
|
|
|
| |
llvm-svn: 100260
|
|
|
|
| |
llvm-svn: 100257
|
|
|
|
|
|
|
|
| |
on Mac OS X to use @rpath rather than an absolute
path. Also allowed the version to be set using an
environment variable.
llvm-svn: 100163
|
|
|
|
| |
llvm-svn: 100064
|
|
|
|
| |
llvm-svn: 99915
|
|
|
|
| |
llvm-svn: 99721
|
|
|
|
| |
llvm-svn: 99719
|
|
|
|
| |
llvm-svn: 99716
|
|
|
|
|
|
|
| |
exactly two passes in that case, and don't ever need to recompute any layout,
so this is a nice baseline for relaxation performance.
llvm-svn: 99563
|
|
|
|
| |
llvm-svn: 99416
|
|
|
|
|
|
| |
raw_ostream variables immediately before they go out of scope.
llvm-svn: 99413
|
|
|
|
| |
llvm-svn: 99349
|
|
|
|
| |
llvm-svn: 99343
|
|
|
|
|
|
| |
Apple-style builds.
llvm-svn: 99336
|
|
|
|
|
|
| |
this fixes crashes in error cases, PR6683
llvm-svn: 99334
|
|
|
|
| |
llvm-svn: 99186
|
|
|
|
| |
llvm-svn: 99180
|
|
|
|
|
|
|
|
|
| |
by dropping all references from all constants that can use other
constants before trying to destroy any of them.
I also had to free bugpoint's Module in ~BugDriver().
llvm-svn: 99160
|
|
|
|
| |
llvm-svn: 99101
|
|
|
|
| |
llvm-svn: 99098
|
|
|
|
| |
llvm-svn: 98973
|
|
|
|
|
|
| |
createAsmStreamer now takes ownership of the instprinter.
llvm-svn: 98939
|
|
|
|
|
|
|
| |
this patch raises the default to 800MB when valgrind's active. 800
was chosen semi-arbitrarily.
llvm-svn: 98905
|
|
|
|
|
|
|
| |
Mac OS X to match current install location. This has no
effect on other platforms.
llvm-svn: 98773
|
|
|
|
|
|
|
|
|
| |
works for me: bugpoint Output/bisort.llvm.bc -run-llc-ia -safe-run-llc
This uses llc with the integrated assembler as the test compiler and llc
without it as the safe compiler.
llvm-svn: 98618
|
|
|
|
| |
llvm-svn: 98445
|
|
|
|
|
|
| |
compiler may not lead with the text section.
llvm-svn: 98418
|
|
|
|
| |
llvm-svn: 98417
|
|
|
|
| |
llvm-svn: 98378
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 98363
|
|
|
|
|
|
| |
can get it from the context now.
llvm-svn: 98361
|
|
|
|
| |
llvm-svn: 98293
|
|
|
|
| |
llvm-svn: 98222
|
|
|
|
|
|
|
| |
parallel builds: the gold plugin fails to link because the lto
library is in the middle of being written out by the linker.
llvm-svn: 98054
|
|
|
|
|
|
| |
As in 'llvmc -O2 -O2 test.c'.
llvm-svn: 97787
|
|
|
|
| |
llvm-svn: 97780
|