- Nov 09, 2012
-
-
Anton Korobeynikov authored
Based on the patch by Logan Chien! llvm-svn: 167633
-
- Nov 05, 2012
-
-
Kevin Enderby authored
possible buffer change with a .macro directive. rdar://12637628 llvm-svn: 167408
-
- Nov 01, 2012
-
-
Kevin Enderby authored
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
-
- Oct 26, 2012
-
-
Chad Rosier authored
Part of rdar://12576868 llvm-svn: 166790
-
Chad Rosier authored
operator. llvm-svn: 166779
-
- Oct 25, 2012
-
-
Chad Rosier authored
AsmParser logic. To be used/tested in a subsequent commit. llvm-svn: 166714
-
Adhemerval Zanella authored
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
-
- Oct 24, 2012
-
-
Chad Rosier authored
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
-
Kevin Enderby authored
and easier to read by adding a couple helper functions. Suggestion by Chandler Carruth and seconded by Meador Inge! llvm-svn: 166515
-
- Oct 23, 2012
-
-
Chad Rosier authored
on patch to r166433. rdar://12470317 llvm-svn: 166488
-
Eli Friedman authored
<rdar://problem/12470345>. llvm-svn: 166451
-
Kevin Enderby authored
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
-
- Oct 22, 2012
-
-
Eli Friedman authored
It's unnecessary and makes the generated assembly less faithful to the original source. llvm-svn: 166440
-
- Oct 20, 2012
-
-
Benjamin Kramer authored
llvm-svn: 166376
-
Chad Rosier authored
[ms-inline asm] Rename AsmOpRewrite to just AsmRewrite to be more generic. No functional change intended. llvm-svn: 166360
-
Chad Rosier authored
inline assembly. Also make sure the remove the ignored statements from the IR. llvm-svn: 166357
-
Chad Rosier authored
llvm-svn: 166352
-
Chad Rosier authored
llvm-svn: 166349
-
- Oct 19, 2012
-
-
Chad Rosier authored
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
-
Chad Rosier authored
llvm-svn: 166292
-
Nick Lewycky authored
llvm-svn: 166270
-
- Oct 18, 2012
-
-
Chad Rosier authored
which will be used by the asm matcher in the near future. llvm-svn: 166222
-
Chad Rosier authored
*NamedDecl. In turn, build the expressions after we're finished parsing the asm. This avoids a crasher if the lookup fails. llvm-svn: 166212
-
Chad Rosier authored
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
-
- Oct 16, 2012
-
-
Chad Rosier authored
llvm-svn: 166054
-
Michael Liao authored
llvm-svn: 166051
-
- Oct 15, 2012
-
-
Chad Rosier authored
llvm-svn: 165955
-
Chad Rosier authored
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
-
Adhemerval Zanella authored
This patch replaces the EmitRawText by a EmitTCEntry class (specialized for each Streamer) in PowerPC64 TOC entry creation. llvm-svn: 165940
-
- Oct 13, 2012
-
-
Chad Rosier authored
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
-
- Oct 09, 2012
-
-
Chad Rosier authored
llvm-svn: 165540
-
- Oct 08, 2012
-
-
Eric Christopher authored
be emitted if they're wanted on elf platforms. llvm-svn: 165432
-
- Oct 04, 2012
-
-
Benjamin Kramer authored
llvm-svn: 165225
-
Craig Topper authored
llvm-svn: 165203
-
- Oct 03, 2012
-
-
Craig Topper authored
llvm-svn: 165094
-
Craig Topper authored
Remove unused function that used to get itineraries from SubTargetFeatures. This is done from MCSubTargetInfo these days. llvm-svn: 165092
-
- Oct 02, 2012
-
-
Andrew Kaylor authored
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
-
Jim Grosbach authored
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
-
- Oct 01, 2012
-
-
Benjamin Kramer authored
Reduces runtime of i386-large-relocations.s by 10x in Release builds, even more in Debug+Asserts builds. llvm-svn: 164945
-
- Sep 27, 2012
-
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
-