| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The internal representation of the Attributes class will be opaque. All of the
query methods will need to query the opaque class. Therefore, these methods need
to be out-of-line.
No functionality change intended.
llvm-svn: 165305
|
| |
|
|
|
|
|
| |
Use isa<> or cast<> when semantically that is what is happening. Also
some trivial "style" cleanups at fix sites.
llvm-svn: 165292
|
| |
|
|
|
|
|
|
| |
This is a mechanical change of dynamic_cast<> to dyn_cast<>. A number of
these uses are actually more like isa<> or cast<>, and will be changed
to the semanticaly appropriate one in a future patch.
llvm-svn: 165291
|
| |
|
|
| |
llvm-svn: 165290
|
| |
|
|
|
|
| |
PR14029, LLVM part.
llvm-svn: 165288
|
| |
|
|
| |
llvm-svn: 165270
|
| |
|
|
|
|
| |
files, this should fix the problems and the changes to rename to DataLayout will come next.
llvm-svn: 165262
|
| |
|
|
|
|
|
|
| |
a pointer to a type, in order to remove the uses of getGlobalContext().
Patch by Tyler Nowicki.
llvm-svn: 165255
|
| |
|
|
| |
llvm-svn: 165253
|
| |
|
|
| |
llvm-svn: 165249
|
| |
|
|
| |
llvm-svn: 165244
|
| |
|
|
| |
llvm-svn: 165242
|
| |
|
|
| |
llvm-svn: 165239
|
| |
|
|
| |
llvm-svn: 165235
|
| |
|
|
|
|
| |
MCObjectStreamer.
llvm-svn: 165225
|
| |
|
|
| |
llvm-svn: 165224
|
| |
|
|
| |
llvm-svn: 165212
|
| |
|
|
| |
llvm-svn: 165210
|
| |
|
|
| |
llvm-svn: 165208
|
| |
|
|
|
|
|
|
| |
This allows the processor-specific machine model to override selected
base opcodes without any fanciness.
e.g. InstRW<[CoreXWriteVANDP], (instregex "VANDP")>.
llvm-svn: 165180
|
| |
|
|
| |
llvm-svn: 165168
|
| |
|
|
|
|
|
|
| |
In order to avoid rev-lock with Clang when moving to the new API, also
preserve the current API temporarily and insert a shim to implement the
new API in terms of the old.
llvm-svn: 165165
|
| |
|
|
| |
llvm-svn: 165164
|
| |
|
|
| |
llvm-svn: 165135
|
| |
|
|
| |
llvm-svn: 165134
|
| |
|
|
|
|
| |
enums. This allows for better encapsulation of the Attributes class.
llvm-svn: 165132
|
| |
|
|
|
|
| |
more detail.
llvm-svn: 165099
|
| |
|
|
|
|
| |
This is done from MCSubTargetInfo these days.
llvm-svn: 165092
|
| |
|
|
|
|
|
|
|
|
| |
most of the behavior we want, but wrap the predicate in one which erases
elements from the set if they pass the predicate. Oh what I wouldn't
give for a lambda here.
Let me know if the predicate wrapping is too much magic. ;]
llvm-svn: 165076
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
preserves the values of the relocated entries, unlikely remove_if. This
allows walking them and erasing them.
Also flesh out the predicate we are using for this to support the
various constraints actually imposed on a UnaryPredicate -- without this
we can't compose it with std::not1.
Thanks to Sean Silva for the review here and noticing the issue with
std::remove_if.
llvm-svn: 165073
|
| |
|
|
| |
llvm-svn: 165069
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scheduled for processing on the worklist eventually gets deleted while
we are processing another alloca, fixing the original test case in
PR13990.
To facilitate this, add a remove_if helper to the SetVector abstraction.
It's not easy to use the standard abstractions for this because of the
specifics of SetVectors types and implementation.
Finally, a nice small test case is included. Thanks to Benjamin for the
fantastic reduced test case here! All I had to do was delete some empty
basic blocks!
llvm-svn: 165065
|
| |
|
|
|
|
|
| |
also makes it more consistent with Clang and several passes' doxygen
style.
llvm-svn: 165064
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of operand is specific to MS-style inline assembly and should not be generated
when parsing normal assembly.
The purpose of the wildcard operands are to allow the AsmParser to match
multiple instructions (i.e., MCInsts) to a given ms-style asm statement. For
the time being the matcher just returns the first match. This patch only
implements wildcard matches for memory operands. Support for register
wildcards will be added in the near future.
llvm-svn: 165057
|
| |
|
|
| |
llvm-svn: 165053
|
| |
|
|
|
|
|
| |
with just an insert point from the MachineBasicBlock and let
the location be updated as we access it.
llvm-svn: 165049
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
map constraints and MCInst operands to inline asm operands. This replaces the
getMCInstOperandNum() function.
The logic to determine the constraints are not in place, so we still default to
a register constraint (i.e., "r"). Also, we no longer build the MCInst but
rather return just the opcode to get the MCInstrDesc.
llvm-svn: 164979
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 164969
|
| |
|
|
|
|
| |
calling conventions.
llvm-svn: 164948
|
| |
|
|
|
|
|
|
|
| |
- Update maximal stack alignment when stack arguments are prepared before a
call.
- Test cases are enhanced to show it's not a Win32 specific issue but a generic
one.
llvm-svn: 164946
|
| |
|
|
|
|
|
| |
Reduces runtime of i386-large-relocations.s by 10x in Release builds, even more
in Debug+Asserts builds.
llvm-svn: 164945
|
| |
|
|
| |
llvm-svn: 164935
|
| |
|
|
| |
llvm-svn: 164899
|
| |
|
|
| |
llvm-svn: 164897
|
| |
|
|
|
|
| |
on gcc 4.7.
llvm-svn: 164880
|
| |
|
|
| |
llvm-svn: 164848
|
| |
|
|
|
|
| |
Patch committed on behalf of Kirill Uhanov
llvm-svn: 164831
|
| |
|
|
| |
llvm-svn: 164826
|