| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
-dot-callgraph similarly follows a standard module pass pattern.
Patch by Speziale Ettore!
llvm-svn: 172220
|
| |
|
|
|
|
| |
Patch by Michael Muller.
llvm-svn: 172214
|
| |
|
|
|
|
|
| |
This removes previous special cases for each floating-point type in favour of a
shared codepath.
llvm-svn: 172189
|
| |
|
|
|
|
|
|
|
|
| |
Example:
>DATA bin/clang 0x26e8e40
<llvm::SparcSubTypeKV
<40799808 416
The last line is address and size of the object.
llvm-svn: 172180
|
| |
|
|
|
|
|
|
|
|
|
| |
order to select the max vectorization factor.
We don't have a detailed analysis on which values are vectorized and which stay scalars in the vectorized loop so we use
another method. We look at reduction variables, loads and stores, which are the only ways to get information in and out
of loop iterations. If the data types are extended and truncated then the cost model will catch the cost of the vector
zext/sext/trunc operations.
llvm-svn: 172178
|
| |
|
|
| |
llvm-svn: 172172
|
| |
|
|
|
|
|
|
|
|
|
|
| |
use FileCheck instead of grep.
Messages:
Converted test case trivial_codegen_tailcall.ll to use FileCheck.
Converted test return_constant.ll to use FileCheck instead of grep.
Converted test reorder_load.ll to use FileCheck instead of grep.
Converted test intervening-inst.ll to use FileCheck instead of grep.
llvm-svn: 172171
|
| |
|
|
|
|
|
|
| |
couple of undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg()."
It has been redundant since r172157.
llvm-svn: 172166
|
| |
|
|
|
|
|
|
|
| |
Right now, only OS X has a way to determine the column width of a string
(PR14910). Until we have a good way to deal with this, we just won't
print carets, source ranges, or fixits for SMDiagnostic if the source line
has multibyte characters in it.
llvm-svn: 172164
|
| |
|
|
|
|
|
|
|
| |
Before we learned about :doc:, we used :ref: and put a dummy link at the
top of each page. Don't do that anymore.
This fixes PR14891 as a special case.
llvm-svn: 172162
|
| |
|
|
|
|
| |
PR14890
llvm-svn: 172160
|
| |
|
|
| |
llvm-svn: 172159
|
| |
|
|
| |
llvm-svn: 172157
|
| |
|
|
|
|
| |
supported.
llvm-svn: 172156
|
| |
|
|
| |
llvm-svn: 172155
|
| |
|
|
|
|
| |
undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg().
llvm-svn: 172153
|
| |
|
|
| |
llvm-svn: 172151
|
| |
|
|
| |
llvm-svn: 172149
|
| |
|
|
|
|
| |
r172121.
llvm-svn: 172148
|
| |
|
|
| |
llvm-svn: 172146
|
| |
|
|
|
|
|
|
| |
The root cause is mistakenly taking for granted that
"dyn_cast<Instruction>(a-Value)"
return a non-NULL instruction.
llvm-svn: 172145
|
| |
|
|
|
|
| |
Value's current type. The casting is trivial even for aggregate type.
llvm-svn: 172143
|
| |
|
|
|
|
| |
underscore in symbol on linux.
llvm-svn: 172139
|
| |
|
|
|
|
|
|
|
|
| |
This change is basically just copying changes that we've used for Apple's
clang builds to the script used for building llvmCore. Besides cleaning it
up to use xcrun to locate the proper versions of tools, especially for cross
compiling, it fixes the build to work with newer versions of clang that
honor SDKROOT settings in the environment.
llvm-svn: 172138
|
| |
|
|
|
|
| |
switch. Committed with Jim's and Chris's approval.
llvm-svn: 172136
|
| |
|
|
| |
llvm-svn: 172130
|
| |
|
|
|
|
|
|
|
| |
This fixes va_start/va_copy of a va_list field which happens to not
be laid out at a 16-byte boundary.
Differential Revision: http://llvm-reviews.chandlerc.com/D276
llvm-svn: 172128
|
| |
|
|
| |
llvm-svn: 172125
|
| |
|
|
|
|
| |
than the string size.
llvm-svn: 172124
|
| |
|
|
| |
llvm-svn: 172123
|
| |
|
|
|
|
| |
Part of rdar://12991541
llvm-svn: 172121
|
| |
|
|
| |
llvm-svn: 172118
|
| |
|
|
|
|
| |
application of these operations commutes with the truncation, so we should prefer to do them in the smallest size we can, to save register space, use smaller constant pool entries, etc.
llvm-svn: 172117
|
| |
|
|
| |
llvm-svn: 172115
|
| |
|
|
| |
llvm-svn: 172114
|
| |
|
|
| |
llvm-svn: 172112
|
| |
|
|
|
|
|
| |
against the developer policy to include this sort of thing as SVN blame
already captures this in a far more fine-grained way.
llvm-svn: 172109
|
| |
|
|
| |
llvm-svn: 172108
|
| |
|
|
| |
llvm-svn: 172107
|
| |
|
|
| |
llvm-svn: 172105
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Like Clang's FixItHint, SMFixIt represents an insertion, replacement, or
removal of source text. One or more fix-its can be emitted as part of
a diagnostic, and will be printed below the source range line to show the
user how they can fix their code.
Currently, the only client of SMFixIt is clang-tblgen; thus, the tests for
this behavior live in clang/test/TableGen/tg-fixits.td. If/when SMFixIt is
adopted within LLVM itself, those tests should be moved to the LLVM suite.
llvm-svn: 172086
|
| |
|
|
|
|
|
|
|
|
| |
def foo : bar;
~~~
This allows us to produce more precise diagnostics about a certain
superclass, and even provide fixits.
llvm-svn: 172085
|
| |
|
|
| |
llvm-svn: 172084
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When calling hasProperty() on an instruction inside a bundle, it should
always behave as if IgnoreBundle was passed, and just return properties
for the current instruction.
Only attempt to aggregate bundle properties whan asked about the bundle
header.
The assertion fires on existing ARM test cases without this fix.
llvm-svn: 172082
|
| |
|
|
|
|
|
| |
Use memcpy to do type punning instead of a cast. A cast or similar
operation through a union breaks strict aliasing rules.
llvm-svn: 172081
|
| |
|
|
|
|
|
|
| |
BinaryOperator can be folded to an Undef, and we don't want to set NSW flags to undef vals.
PR14878
llvm-svn: 172079
|
| |
|
|
| |
llvm-svn: 172077
|
| |
|
|
|
|
|
|
|
| |
The purpose of this patch is to allow PredicateMethods to be set to something
like "isUImm<8>", calling a C++ template method to reduce code duplication. For
this to work, the PredicateMethod must be mangled into a valid C++ identifier
for insertion into an enum.
llvm-svn: 172073
|
| |
|
|
|
|
| |
VectorType.
llvm-svn: 172054
|
| |
|
|
|
|
| |
address spaces.
llvm-svn: 172051
|