| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 165320
|
| |
|
|
| |
llvm-svn: 165319
|
| |
|
|
|
|
| |
projects to transition to DataLayout without loosing functionality.
llvm-svn: 165318
|
| |
|
|
| |
llvm-svn: 165316
|
| |
|
|
|
|
|
|
|
| |
llvm-tblgen -gen-asm-matcher.
PPCInstrInfo.td | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
llvm-svn: 165315
|
| |
|
|
| |
llvm-svn: 165314
|
| |
|
|
| |
llvm-svn: 165313
|
| |
|
|
|
|
|
|
| |
LLIMCJITMemoryManager::getPointerToNamedFunction(), like legacy JITMemoryManager's.
CRT's __main (aka premain) invokes global ctors on cygming. See also PR3897.
llvm-svn: 165312
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Substitute hyphen to underscore, s/-/_/g, as the variable name.
- Additional parameter can be specified as the name of directory.
e.g.) add_llvm_external_project(clang-tools-extra extra)
- LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=/path/to/llvm-srcroot/tools/clang/tools/extra, by default.
- Build directory is in ${CMAKE_CURRENT_BINARY_DIR}/extra
llvm-svn: 165311
|
| |
|
|
| |
llvm-svn: 165309
|
| |
|
|
| |
llvm-svn: 165308
|
| |
|
|
|
|
|
|
| |
have an alloca or a parameter, since then the alloca test should make sense
to readers, while before it probably appears too specific. No functionality
change.
llvm-svn: 165306
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 165304
|
| |
|
|
|
|
| |
r165302.
llvm-svn: 165303
|
| |
|
|
|
|
| |
ExpandPostRAPseudos and mark them as pseudos in the td file.
llvm-svn: 165302
|
| |
|
|
|
|
|
|
|
| |
This document describes how to set up LLVM-style RTTI for a class
hierarchy. Surprisingly, this was not previously documented.
Also, link it into ProgrammersManual.html.
llvm-svn: 165293
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
going to be folded into the call. rdar://12437604
llvm-svn: 165287
|
| |
|
|
|
|
|
|
|
|
|
|
| |
are in fact identity operations. We detect these and kill their
partitions so that even splitting is unaffected by them. This is
particularly important because Clang relies on emitting identity memcpy
operations for struct copies, and these fold away to constants very
often after inlining.
Fixes the last big performance FIXME I have on my plate.
llvm-svn: 165285
|
| |
|
|
|
|
|
|
|
|
|
| |
the rewrite visitor to make the fact that the speculation is completely
independent a bit more clear.
I promise that this is just a cut/paste of the one visitor and adding
the annonymous namespace wrappings. The diff may look completely
preposterous, it does in git for some reason.
llvm-svn: 165284
|
| |
|
|
| |
llvm-svn: 165282
|
| |
|
|
|
|
| |
segmented registers. Test case to come.
llvm-svn: 165275
|
| |
|
|
| |
llvm-svn: 165270
|
| |
|
|
| |
llvm-svn: 165267
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make sure functions located in user specified text sections (via the
section attribute) are located together with the default text sections.
Otherwise, for large object files, the relocations for call instructions
are more likely to be out of range. This becomes even more likely in the
presence of LTO.
rdar://12402636
llvm-svn: 165254
|
| |
|
|
| |
llvm-svn: 165253
|
| |
|
|
|
|
| |
failure from r165249 where the wrong version of the file was submitted.
llvm-svn: 165251
|
| |
|
|
|
|
|
|
|
|
| |
a) frame setup instructions define the prologue
b) we shouldn't change our location mid-stream
Add a test to make sure that the stack adjustment stays within
the prologue.
llvm-svn: 165250
|
| |
|
|
| |
llvm-svn: 165249
|
| |
|
|
|
|
| |
Patch by Daniel Malea.
llvm-svn: 165246
|
| |
|
|
| |
llvm-svn: 165244
|
| |
|
|
| |
llvm-svn: 165243
|
| |
|
|
| |
llvm-svn: 165242
|
| |
|
|
|
|
|
|
| |
- Add 'HwEncoding' for X86 registers and call getEncodingValue() to
retrieve their encoding values.
- This's the first step to adopt new scheme. Furthur revising is onging.
llvm-svn: 165241
|
| |
|
|
| |
llvm-svn: 165239
|
| |
|
|
| |
llvm-svn: 165238
|
| |
|
|
|
|
|
|
|
|
| |
"Instruction 'foo' has no tokens" errors during llvm-tblgen
-gen-asm-matcher attempts. At this time, the added
tokens are "#comment" style rather than the actual mnemonic. This will
be revisited once the rest of the base asmparser bits get straightened
out for ppc64-elf-linux.
llvm-svn: 165237
|
| |
|
|
|
|
|
| |
Not all targets have itineraries, but the subtarget always has an
MCSchedModel.
llvm-svn: 165236
|
| |
|
|
| |
llvm-svn: 165235
|
| |
|
|
| |
llvm-svn: 165233
|
| |
|
|
|
|
|
|
|
|
| |
dereference" optimization to also handle instructions with multiple uses.
We conservatively only check the first use to avoid walking long use chains.
This catches the common case of having both a load and a store to a pointer
supplied by a PHI node.
llvm-svn: 165232
|
| |
|
|
|
|
|
|
| |
cpyDest can be mutated in some cases, which would then cause a crash later if
indeed the memory was underaligned. This brought down several buildbots, so
I guess the underaligned case is much more common than I thought!
llvm-svn: 165228
|
| |
|
|
|
|
| |
alignment of the return type. Teach the optimizers this.
llvm-svn: 165226
|
| |
|
|
|
|
| |
MCObjectStreamer.
llvm-svn: 165225
|