| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 167926
|
| |
|
|
|
|
| |
Based on the patch by Logan Chien!
llvm-svn: 167633
|
| |
|
|
|
|
|
|
| |
possible buffer change with a .macro directive.
rdar://12637628
llvm-svn: 167408
|
| |
|
|
|
|
|
|
|
|
| |
run through the 'C' preprocessor. That is pick up the file name
and line numbers from the cpp hash file line comments for the
dwarf file and line numbers tables.
rdar://9275556
llvm-svn: 167237
|
| |
|
|
|
|
| |
Part of rdar://12576868
llvm-svn: 166790
|
| |
|
|
|
|
| |
operator.
llvm-svn: 166779
|
| |
|
|
|
|
| |
AsmParser logic. To be used/tested in a subsequent commit.
llvm-svn: 166714
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds initial PPC64 TOC MC object creation using the small mcmodel
(a single 64K TOC) adding the some TOC relocations (R_PPC64_TOC,
R_PPC64_TOC16, and R_PPC64_TOC16DS).
The addition of 'undefinedExplicitRelSym' hook on 'MCELFObjectTargetWriter'
is meant to avoid the creation of an unreferenced ".TOC." symbol (used in
the .odp creation) as well to set the R_PPC64_TOC relocation target as the
temporary ".TOC." symbol. On PPC64 ABI, the R_PPC64_TOC relocation should
not point to any symbol.
llvm-svn: 166677
|
| |
|
|
|
|
|
|
|
|
| |
see the offsetof operator. Previously, we were matching something like MOVrm
in the front-end and later matching MOVrr in the back-end. This change makes
things more consistent. It also fixes cases where we can't match against a
memory operand as the source (test cases coming).
Part of rdar://12470317
llvm-svn: 166592
|
| |
|
|
|
|
|
| |
and easier to read by adding a couple helper functions. Suggestion by
Chandler Carruth and seconded by Meador Inge!
llvm-svn: 166515
|
| |
|
|
|
|
|
| |
on patch to r166433.
rdar://12470317
llvm-svn: 166488
|
| |
|
|
|
|
|
|
| |
.byte).
<rdar://problem/12470345>.
llvm-svn: 166451
|
| |
|
|
|
|
|
|
|
|
|
| |
Per the October 12, 2012 Proposal for annotated disassembly output sent out by
Jim Grosbach this set of changes implements this for X86 and arm. The llvm-mc
tool now has a -mdis option to produced the marked up disassembly and a couple
of small example test cases have been added.
rdar://11764962
llvm-svn: 166445
|
| |
|
|
|
|
|
|
| |
and friends.
It's unnecessary and makes the generated assembly less faithful to the original source.
llvm-svn: 166440
|
| |
|
|
|
|
| |
functions static.
llvm-svn: 166376
|
| |
|
|
|
|
| |
No functional change intended.
llvm-svn: 166360
|
| |
|
|
|
|
| |
inline assembly. Also make sure the remove the ignored statements from the IR.
llvm-svn: 166357
|
| |
|
|
| |
llvm-svn: 166352
|
| |
|
|
| |
llvm-svn: 166349
|
| |
|
|
|
|
|
| |
a memory operand. Retain this information and then add the sizing directives
to the IR. This allows the backend to do proper instruction selection.
llvm-svn: 166316
|
| |
|
|
| |
llvm-svn: 166292
|
| |
|
|
| |
llvm-svn: 166270
|
| |
|
|
|
|
| |
which will be used by the asm matcher in the near future.
llvm-svn: 166222
|
| |
|
|
|
|
|
| |
*NamedDecl. In turn, build the expressions after we're finished parsing the
asm. This avoids a crasher if the lookup fails.
llvm-svn: 166212
|
| |
|
|
|
|
|
|
|
| |
layer. Add the ParseMSInlineAsm() function, which is the new interface to
clang. Also expose the new MCAsmParserSemaCallback interface, which is used
by the back-end to do name lookup in Sema. Finally, remove the now defunct
APIs introduced in r165946.
llvm-svn: 166183
|
| |
|
|
|
|
| |
in a future commit.
llvm-svn: 166054
|
| |
|
|
| |
llvm-svn: 166051
|
| |
|
|
|
|
| |
an instruction.
llvm-svn: 165955
|
| |
|
|
|
|
|
|
|
| |
inline assembly. For the time being, these will be called directly by clang.
However, in the near future I expect these to be sunk back into the MC layer
and more basic APIs (e.g., getClobbers(), getConstraints(), etc.) will be called
by clang.
llvm-svn: 165946
|
| |
|
|
|
|
|
| |
This patch replaces the EmitRawText by a EmitTCEntry class (specialized for
each Streamer) in PowerPC64 TOC entry creation.
llvm-svn: 165940
|
| |
|
|
|
|
|
|
|
|
|
| |
the interface between the front-end and the MC layer when parsing inline
assembly. Unfortunately, this is too deep into the parsing stack. Specifically,
we're unable to handle target-independent assembly (i.e., assembly directives,
labels, etc.). Note the MatchAndEmitInstruction() isn't the correct
abstraction either. I'll be exposing target-independent hooks shortly, so this
is really just a cleanup.
llvm-svn: 165858
|
| |
|
|
| |
llvm-svn: 165540
|
| |
|
|
|
|
| |
be emitted if they're wanted on elf platforms.
llvm-svn: 165432
|
| |
|
|
|
|
| |
MCObjectStreamer.
llvm-svn: 165225
|
| |
|
|
| |
llvm-svn: 165203
|
| |
|
|
| |
llvm-svn: 165094
|
| |
|
|
|
|
| |
This is done from MCSubTargetInfo these days.
llvm-svn: 165092
|
| |
|
|
|
|
| |
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value.
llvm-svn: 165030
|
| |
|
|
|
|
|
|
|
|
| |
The target backend can support data-in-code load commands even when
the assembler doesn't, or vice-versa. Allow targets to opt-in for
direct-to-object.
PR13973.
llvm-svn: 164974
|
| |
|
|
|
|
|
| |
Reduces runtime of i386-large-relocations.s by 10x in Release builds, even more
in Debug+Asserts builds.
llvm-svn: 164945
|
| |
|
|
|
|
| |
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
|
| |
|
|
| |
llvm-svn: 164767
|
| |
|
|
|
|
| |
the rest of the tree.
llvm-svn: 164666
|
| |
|
|
|
|
| |
Patch by Kai!
llvm-svn: 164476
|
| |
|
|
|
|
|
|
|
|
| |
to improve compatibility with GNU as.
Based on a patch by PaX Team.
Fixed assertion failures on non-Darwin and added additional test cases.
llvm-svn: 164248
|
| |
|
|
|
|
|
|
| |
This patch is based on the one by PaX Team.
Patch by Andy Zhang!
llvm-svn: 164246
|
| |
|
|
|
|
|
|
| |
The directive can be matched with directives other than '.rept'
Patch by Andy Zhang!
llvm-svn: 164245
|
| |
|
|
| |
llvm-svn: 164182
|
| |
|
|
| |
llvm-svn: 164181
|
| |
|
|
|
|
| |
Patch by Adhemerval Zanella.
llvm-svn: 164141
|