| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Now where we used to call ReInitMCSubtargetInfo, we actually recompute
the same information as InitMCSubtargetInfo instead of only setting
the feature bits.
llvm-svn: 164105
|
| |
|
|
| |
llvm-svn: 164098
|
| |
|
|
|
|
| |
model.
llvm-svn: 164092
|
| |
|
|
|
|
|
| |
I have to work out the Target/CodeGen header dependencies
before putting this back.
llvm-svn: 164072
|
| |
|
|
| |
llvm-svn: 164066
|
| |
|
|
| |
llvm-svn: 164065
|
| |
|
|
|
|
| |
model.
llvm-svn: 164061
|
| |
|
|
| |
llvm-svn: 163970
|
| |
|
|
| |
llvm-svn: 163934
|
| |
|
|
| |
llvm-svn: 163933
|
| |
|
|
|
|
|
|
|
|
| |
* wrap code blocks in \code ... \endcode;
* refer to parameter names in paragraphs correctly (\arg is not what most
people want -- it starts a new paragraph);
* use \param instead of \arg to document parameters in order to be consistent
with the rest of the codebase.
llvm-svn: 163902
|
| |
|
|
|
|
|
|
| |
For gas compatibility.
rdar://12219394
llvm-svn: 163854
|
| |
|
|
|
|
|
|
|
|
|
| |
.set a, b - c + CONSTANT
d = b - c + CONSTANT
Both 'a' and 'd' should be marked as absolute symbols (N_ABS).
rdar://12219394
llvm-svn: 163853
|
| |
|
|
|
|
|
|
| |
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163344.
llvm-svn: 163679
|
| |
|
|
|
|
|
|
| |
Apparently, NumSubRegIndices was completely unused before. Adjust it by
one to include the null subreg index, just like getNumRegs() includes
the null register.
llvm-svn: 163628
|
| |
|
|
| |
llvm-svn: 163547
|
| |
|
|
|
|
|
|
| |
For some reason .lcomm uses byte alignment and .comm log2 alignment so we can't
use the same setting for both. Fix this by reintroducing the LCOMM enum.
I verified this against mingw's gcc.
llvm-svn: 163420
|
| |
|
|
|
|
| |
bytes, not power of 2.
llvm-svn: 163405
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Darwin lied about not supporting .lcomm and turned it into zerofill in the
asm parser. Push the zerofill-conversion down into macho-specific code.
- This makes the tri-state LCOMMType enum superfluous, there are no targets
without .lcomm.
- Do proper error reporting when trying to use .lcomm with alignment on a target
that doesn't support it.
- .comm and .lcomm alignment was parsed in bytes on COFF, should be power of 2.
- Fixes PR13755 (.lcomm crashes on ELF).
llvm-svn: 163395
|
| |
|
|
|
|
| |
No functional change.
llvm-svn: 163344
|
| |
|
|
|
|
| |
the SubtargetInfoKV tables. Found by gcc48 -Wcast-qual.
llvm-svn: 163251
|
| |
|
|
|
|
|
|
| |
padding. If the desired padding is smaller than the supported NOP size,
we will enlarge the padding to make it work.
llvm-svn: 162870
|
| |
|
|
| |
llvm-svn: 162826
|
| |
|
|
| |
llvm-svn: 162678
|
| |
|
|
|
|
| |
In collaboration with Adhemerval Zanella.
llvm-svn: 162562
|
| |
|
|
| |
llvm-svn: 162446
|
| |
|
|
| |
llvm-svn: 162362
|