| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Clean up the DynamicValueTestCase
Namely, I split off the part of the test that validates child counts to a separate test
llvm-svn: 205450
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the instructions ext/ext32/cins/cins32.
It also changes pop/dpop to accept the two operand version and
adds a simple pattern to generate baddu.
Tests for the two operand versions (including baddu/dmul/dpop/pop)
and the code generation pattern for baddu are included.
Reviewed by: Daniel.Sanders@imgtec.com
llvm-svn: 205449
|
|
|
|
|
|
|
|
|
|
|
| |
meaningful to odr-use the VarDecl inside a variable template. (Separately, it'd
be nice to track referenced-ness for templates, and warn on unused ones, but
that's really a distinct issue...)
Move a test that generates and tests a warning-suppressing error out to its own
test file, so it doesn't have weird effects on the other tests in the same file.
llvm-svn: 205448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was committed 4 years ago in 108916 with insufficient testing to
explain why the "getTypeAsWritten" case was appropriate. Experience says
that it isn't - the presence or absence of an explicit instantiation
declaration was causing this code to generate either i<int> or i<int,
int>.
That didn't seem to be a useful distinction, and omitting the template
arguments was destructive to debuggers being able to associate the two
types across translation units or across compilers (GCC, reasonably,
never omitted the arguments).
llvm-svn: 205447
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205446
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205445
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205444
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205443
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205442
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205441
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205440
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205439
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205438
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 205437
|
|
|
|
|
|
| |
This provides some 3% speedup when preprocessing gcc.c as a single file.
llvm-svn: 205436
|
|
|
|
| |
llvm-svn: 205435
|
|
|
|
|
|
|
|
| |
reduce number of arguments.
No functional changes.
llvm-svn: 205434
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 205433
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 205432
|
|
|
|
|
|
|
|
|
| |
and ContiguousBlobAccumulator classes. Pass ContiguousBlobAccumulator to
the handleSymtabSectionHeader function directly.
No functional changes.
llvm-svn: 205431
|
|
|
|
|
|
| |
Patch by Alex Crichton, ILyoan, Luqman Aden and Svetoslav.
llvm-svn: 205430
|
|
|
|
| |
llvm-svn: 205429
|
|
|
|
| |
llvm-svn: 205428
|
|
|
|
| |
llvm-svn: 205427
|
|
|
|
|
|
|
|
|
|
| |
Weak symbols cannot use the small code model's usual ADRP sequences since the
instruction simply may not be able to encode a value of 0.
This redirects them to use the GOT, which hopefully linkers are able to cope
with even in the static relocation model.
llvm-svn: 205426
|
|
|
|
|
|
|
| |
We were creating libcall nodes that returned an MVT::f128, when these
particular operations actually return an int of some stripe.
llvm-svn: 205425
|
|
|
|
|
|
|
|
|
| |
Some Intrinsics are overloaded to the extent that return type equality (all
that's been checked up to now) does not guarantee that the arguments are the
same. In these cases SLP vectorizer should not recurse into the operands, which
can be achieved by comparing them as "Function *" rather than simply the ID.
llvm-svn: 205424
|
|
|
|
|
|
|
|
| |
Again, coalescing and other optimisations swiftly made the MachineInstrs
consistent again, but when compiled at -O0 a bad INSERT_SUBREGISTER was
produced.
llvm-svn: 205423
|
|
|
|
|
|
|
|
| |
The previous attempt was fine with optimisations, but was actually rather
cavalier with its types. When compiled at -O0, it produced invalid COPY
MachineInstrs.
llvm-svn: 205422
|
|
|
|
| |
llvm-svn: 205421
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Add matcher for ExprWithCleanups.
Reviewers: klimek
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D3248
llvm-svn: 205420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Add support for named values in the parser.
This allows injection of arbitrary constants using a custom Sema object.
Completions are not supported right now.
Will be used by clang_query to support the 'let' command.
Usage example:
clang_query> let unique_ptr recordDecl(hasName("unique_ptr"))
clang_query> match varDecl(hasType(unique_ptr))
Reviewers: klimek, pcc
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D3229
llvm-svn: 205419
|
|
|
|
|
|
| |
every call to __asan_init
llvm-svn: 205418
|
|
|
|
| |
llvm-svn: 205417
|
|
|
|
| |
llvm-svn: 205416
|
|
|
|
|
|
|
| |
It does not do what it's name says, and what it actually does is hard to
describe, and is not useful at all.
llvm-svn: 205415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces the ancient INVALID/INVALID_NOVERIFY macros with a real
function.
The new invalid(..) function uses small diagnostic objects that are
generated on demand. We can store arbitrary additional information per
error type and generate useful debug/error messages on the fly.
Use it as follows:
if (/* Some error condition (ReportFoo) */)
invalid<ReportFoo>(Context, /*Assert=*/true/false,
(/* List of helpful diagnostic objects */));
Where ReportFoo is a subclass of RejectReason that is able to take the
list of helpful diagnostic objects in its constructor.
The implementation of invalid will create the report and fire
an assertion, if necessary.
llvm-svn: 205414
|
|
|
|
|
|
| |
An assert()-like function that checks that a memory range is fully initialized.
llvm-svn: 205413
|
|
|
|
| |
llvm-svn: 205412
|
|
|
|
| |
llvm-svn: 205411
|
|
|
|
| |
llvm-svn: 205410
|
|
|
|
|
|
|
|
|
| |
ARM specific optimiztion, finding places in ARM machine code where 2 dmbs
follow one another, and eliminating one of them.
Patch by Reinoud Elhorst.
llvm-svn: 205409
|
|
|
|
|
|
|
|
| |
Also make tests slightly less dependent on default flags. Once we have
implemented configuration file support, we might want to store the
clang-tidy configuration for the tests there.
llvm-svn: 205408
|
|
|
|
|
|
|
|
| |
The goal is to be able to run clang-tidy on LLVM files without further
configuration for now. Once llvm.org/PR19306 is addressed, we can add a
configuration file instead and choose other defaults.
llvm-svn: 205407
|
|
|
|
| |
llvm-svn: 205406
|
|
|
|
|
|
| |
pid, as is the case with a forked subprocess. Also a couple of fixes for unit test failures from Todd Fiala.
llvm-svn: 205405
|
|
|
|
| |
llvm-svn: 205404
|
|
|
|
| |
llvm-svn: 205403
|
|
|
|
| |
llvm-svn: 205402
|
|
|
|
| |
llvm-svn: 205401
|