- Apr 02, 2014
-
-
Adrian Prantl authored
llvm-svn: 205429
-
Adrian Prantl authored
llvm-svn: 205428
-
Ed Maste authored
llvm-svn: 205427
-
Tim Northover authored
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
-
Tim Northover authored
We were creating libcall nodes that returned an MVT::f128, when these particular operations actually return an int of some stripe. llvm-svn: 205425
-
Tim Northover authored
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
-
Tim Northover authored
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
-
Tim Northover authored
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
-
Job Noorman authored
llvm-svn: 205421
-
Samuel Benzaquen authored
Summary: Add matcher for ExprWithCleanups. Reviewers: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3248 llvm-svn: 205420
-
Samuel Benzaquen authored
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
-
Alexey Samsonov authored
llvm-svn: 205418
-
Evgeniy Stepanov authored
llvm-svn: 205417
-
-
Evgeniy Stepanov authored
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
-
Andreas Simbuerger authored
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
-
Evgeniy Stepanov authored
An assert()-like function that checks that a memory range is fully initialized. llvm-svn: 205413
-
Evgeniy Stepanov authored
llvm-svn: 205412
-
Alexey Samsonov authored
llvm-svn: 205411
-
Evgeniy Stepanov authored
llvm-svn: 205410
-
Renato Golin authored
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
-
Daniel Jasper authored
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
-
Daniel Jasper authored
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
-
Rui Ueyama authored
llvm-svn: 205406
-
Andrew MacPherson authored
Use getpgid() with waitpid() in case the process pgid is not equal to its pid, as is the case with a forked subprocess. Also a couple of fixes for unit test failures from Todd Fiala. llvm-svn: 205405
-
Rui Ueyama authored
llvm-svn: 205404
-
Rui Ueyama authored
llvm-svn: 205403
-
Rui Ueyama authored
llvm-svn: 205402
-
Rui Ueyama authored
llvm-svn: 205401
-
David Blaikie authored
llvm-svn: 205400
-
Rui Ueyama authored
No one inherits Resolver. Virtualizing the member functions was just making it inefficient. llvm-svn: 205399
-
David Blaikie authored
For namespaces, this is consistent with mangling and GCC's debug info behavior. For structs, GCC uses <anonymous struct> but we prefer consistency between all anonymous entities but don't want to confuse them with template arguments, etc, so we'll just go with parens in all cases. llvm-svn: 205398
-
Rui Ueyama authored
llvm-svn: 205397
-
David Blaikie authored
While investigating some debug info issues, Eric and I came across a particular template case where the location of a decl was quite different from the range of the same decl. It might've been rather helpful if the dumper had actually showed us this. llvm-svn: 205396
-
Shankar Easwaran authored
llvm-svn: 205395
-
Rui Ueyama authored
LinkingContext and InputGraph are unnecessarily entangled. Most linker input file data, e.g. the vector containing input files, the next index of the input file, etc. are managed by InputGraph, but only the current input file is for no obvious reason managed by LinkingContext. This patch is to move code from LinkingContext to InputGraph to fix it. It's now clear who's reponsible for managing input file state, which is InputGraph, and LinkingContext is now free from that responsibility. It improves the readability as we now have fewer dependencies between classes. No functionality change. Differential Revision: http://llvm-reviews.chandlerc.com/D3259 llvm-svn: 205394
-
Yaron Keren authored
and isTargetCygwin() to isTargetWindowsCygwin() to be consistent with the four Windows environments in Triple.h. Suggestion by Saleem Abdulrasool! llvm-svn: 205393
-
Shankar Easwaran authored
The attribute class holds positional attributes for Input files specified on the command line for the Gnu flavor. llvm-svn: 205392
-
Shankar Easwaran authored
This adds -z muldefs option which is widely used over --allow-multiple-definition. This option is supported by the GNU linker. llvm-svn: 205391
-
Saleem Abdulrasool authored
This is a mechanical change addressing the various sign comparison warnings that are identified by both clang and gcc. This helps cleanup some of the warning spew that occurs during builds. llvm-svn: 205390
-