summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R600: Don't emit empty then clause and use alu_pop_afterVincent Lejeune2013-07-196-17/+175
| | | | llvm-svn: 186725
* R600: Simplify AMDILCFGStructurize by removing templates and assuming single ↵Vincent Lejeune2013-07-193-2494/+1324
| | | | | | exit llvm-svn: 186724
* R600: Replace legacy debug code in AMDILCFGStructurizer.cppVincent Lejeune2013-07-191-228/+235
| | | | llvm-svn: 186723
* Remove trailing whitespaceCraig Topper2013-07-191-28/+28
| | | | llvm-svn: 186722
* Fix inserting new elements in a specified location.Rafael Espindola2013-07-192-7/+38
| | | | | | We were only handling the 'a' and 'b' options during moves before. llvm-svn: 186721
* Add a cl.exe compatible driver modeHans Wennborg2013-07-197-3/+29
| | | | | | | The mode doesn't actually do anything yet, but this provides a way to get into it. llvm-svn: 186720
* Use an i686 triple for this test now that it uses stdcallReid Kleckner2013-07-191-1/+3
| | | | | | | There seems to be a crash here if we have a calling convention attribute that gets ignored and then we instantiate templates. llvm-svn: 186719
* Fix another place where clang check objc selector name instead of checking ↵Jean-Daniel Dupas2013-07-192-4/+5
| | | | | | | | | | | | the selector family Summary: In ARC mode, clang emits a warning if the result of an 'init' method is unused but miss cases where the method does not follows the Cocoa naming convention but is properly declared as an init family method. CC: cfe-commits, eli.friedman Differential Revision: http://llvm-reviews.chandlerc.com/D1163 llvm-svn: 186718
* Reworked the test decorators to match the test results on the buildbots.Ashok Thirumurthi2013-07-192-2/+2
| | | | llvm-svn: 186717
* ObjectiveC migrator: Another use case of enumFariborz Jahanian2013-07-193-3/+48
| | | | | | declaration which can be migrated to NS_ENUM. llvm-svn: 186716
* Add support for raw_ostream on the printing methods of Diagnostics.Samuel Benzaquen2013-07-194-51/+60
| | | | | | | | | | | | | | Summary: Add printToStream*(llvm::raw_ostream&) methods to Diagnostics, and reimplement everything based on streams instead of concatenating strings. Also, fix some functions to start with lowercase to match the style guide. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1187 llvm-svn: 186715
* Create calling convention AttributedType sugar nodesReid Kleckner2013-07-195-49/+132
| | | | | | | | | | | | Canonical types are unchanged. The type printer had to be changed to avoid printing any non-default implicit calling convention as well as the calling convention attribute. Reviewers: rjmccall Differential Revision: http://llvm-reviews.chandlerc.com/D1132 llvm-svn: 186714
* Fix for template substitution with packs.Eli Friedman2013-07-192-38/+50
| | | | | | | | | | When we see a pack, and replace it with a template argument which is also a pack, we want to use the pack pattern, not the expanded pack. The caller should take care of expanding the pack afterwards. Fixes PR16646. llvm-svn: 186713
* Add another link to the Python API docs.Daniel Malea2013-07-191-1/+1
| | | | llvm-svn: 186712
* Update users manual to indicate:Richard Smith2013-07-191-3/+11
| | | | | | | 1) clang++ must be used when linking C++ programs using -fsanitize=undefined, and 2) MSan can't be combined with TSan or ASan. llvm-svn: 186711
* [mips] Add support for command-line options -mno-check-zero-division andAkira Hatanaka2013-07-193-0/+23
| | | | | | -mcheck-zero-division. llvm-svn: 186710
* [arcmt] After checking is successful disable auto-synthesize to avoid ↵Argyrios Kyrtzidis2013-07-192-0/+50
| | | | | | | | | | "@synthesize of 'weak' property is only allowed in ARC" errors. rdar://14461559 llvm-svn: 186709
* Replace some existing type attribute diagnostics with aAaron Ballman2013-07-192-26/+20
| | | | | | single diagnostic that selects. No functional changes intended. llvm-svn: 186708
* Add SourceRange to PPCallbacks::Defined callback.John Thompson2013-07-194-15/+24
| | | | llvm-svn: 186707
* Updated the test suite to fix xpasses on the gcc buildbot primarily due to ↵Ashok Thirumurthi2013-07-193-3/+4
| | | | | | | | r186347 (thanks Greg!). Your mileage may vary depending on the gcc and stl versions in use (see llvm.org/pr15301). llvm-svn: 186706
* s/compiler_used/compiler.used/.Rafael Espindola2013-07-195-13/+13
| | | | | | | We were incorrectly using compiler_used instead of compiler.used. Unfortunately the passes using the broken name had tests also using the broken name. llvm-svn: 186705
* Add some flag exclusion tests.Reid Kleckner2013-07-192-12/+49
| | | | llvm-svn: 186704
* [Option] Add inclusion and exclusion flags to option parsingReid Kleckner2013-07-192-8/+36
| | | | | | | | | | | | | | | | | | | Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them from normal option parsing. Also changes the standard ParseArgs() method to consider unknown arguments with a leading slash as being inputs rather than flags. High level discussion for clang-cl is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1049 llvm-svn: 186703
* Fix source range of implicitly instantiated friend declaration.Enea Zaffanella2013-07-193-0/+25
| | | | llvm-svn: 186702
* Fix test to actually check things.Benjamin Kramer2013-07-191-3/+3
| | | | llvm-svn: 186701
* Fixes an ObjC migrator crash when last declFariborz Jahanian2013-07-193-3/+14
| | | | | | in file is an enum. llvm-svn: 186700
* Add links to LLDB API reference docsDaniel Malea2013-07-193-3/+5
| | | | llvm-svn: 186699
* Minor typeo fixes in doc scriptsDaniel Malea2013-07-192-2/+2
| | | | llvm-svn: 186698
* Add LLDB API reference docs (for Python and C++)Daniel Malea2013-07-19865-0/+260104
| | | | llvm-svn: 186697
* This patch implements __get_cpuid_max() as an inline and __cpuid() andRoman Divacky2013-07-191-2/+124
| | | | | | | | | | | | | __cpuid_count() as macros to be compatible with GCC's cpuid.h. It also adds bit_<foo> constants for the various feature bits as described in version 039 (May 2011) of Intel's SDM Volume 2 in the description of the CPUID instruction. The list of bit_<foo> constants is a bit exhaustive (GCC doesn't do near this many). More bits could be added from a newer version of SDM if desired. Patch by John Baldwin! llvm-svn: 186696
* lit: Support cancellation on WindowsNico Rieck2013-07-191-0/+21
| | | | | | | | | | | | The current machinery using KeyboardInterrupt for canceling doesn't work with multiple threads on Windows as it just cancels the currently run tests but the runners continue. We install a handler for Ctrl-C which stops the provider from providing any more tests to the runners. Together with aborting all currently running tests, this brings lit to a halt. llvm-svn: 186695
* [SystemZ] Add -march= command-line optionRichard Sandiford2013-07-195-3/+57
| | | | llvm-svn: 186694
* include only LLDB API in docs generated by lldb-cpp-doc (cmake) targetDaniel Malea2013-07-191-3/+1
| | | | llvm-svn: 186693
* Add a line that got missed off somehow. Sorry about that!Joey Gouly2013-07-191-0/+1
| | | | llvm-svn: 186692
* Implement generic upsample()Aaron Watry2013-07-194-0/+61
| | | | | | | | | | | | | | Reduces all vector upsamples down to its scalar components, so probably not the most efficient thing in the world, but it does what the spec says it needs to do. Another possible implementation would be to convert/cast everything as unsigned if necessary, upsample the input vectors, create the upsampled value, and then cast back to signed if required. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard at amd.com> llvm-svn: 186691
* [SystemZ] Add tests for ALHSIK and ALGHSIKRichard Sandiford2013-07-194-0/+147
| | | | | | | The insn definitions themselves crept into r186689, sorry. This should be the last of the distinct-ops instructions. llvm-svn: 186690
* [SystemZ] Add ALRK, AGLRK, SLRK and SGLRKRichard Sandiford2013-07-199-8/+152
| | | | | | | Follows the same lines as r186686, but much more limited, since we only use ADD LOGICAL for multi-i64 additions. llvm-svn: 186689
* [ARMv8] Implement the NEON instructions VRINT{N, X, A, Z, M, P}.Joey Gouly2013-07-197-0/+190
| | | | llvm-svn: 186688
* [SystemZ] Add AHIK and AGHIKRichard Sandiford2013-07-198-2/+270
| | | | | | | I did these as a separate patch because it uses a slightly different form of RIE layout. llvm-svn: 186687
* [SystemZ] Add ARK, AGRK, SRK and SGRKRichard Sandiford2013-07-1914-12/+186
| | | | | | The testsuite changes follow the same lines as for r186683. llvm-svn: 186686
* [SystemZ] Add NGRK, OGRK and XGRKRichard Sandiford2013-07-1915-10/+148
| | | | | | Like r186683, but for 64 bits. llvm-svn: 186685
* Initialize TempFileHandle.Serge Pavlov2013-07-191-1/+1
| | | | llvm-svn: 186684
* [SystemZ] Add NRK, ORK and XRKRichard Sandiford2013-07-1915-10/+163
| | | | | | | | | | | | The atomic tests assume the two-operand forms, so I've restricted them to z10. Running and-01.ll, or-01.ll and xor-01.ll for z196 as well as z10 shows why using convertToThreeAddress() is better than exposing the three-operand forms first and then converting back to two operands where possible (which is what I'd originally tried). Using the three-operand form first stops us from taking advantage of NG, OG and XG for spills. llvm-svn: 186683
* ARM: Add instruction aliases for the Thumb2 PLD/PLDW (literal) alternate form.Tilmann Scheller2013-07-193-1/+16
| | | | | | | | See A8.8.127 in ARM DDI 0406C.b. Related to <rdar://problem/14403733>. llvm-svn: 186682
* [SystemZ] Use SLLK, SRLK and SRAK for codegenRichard Sandiford2013-07-194-5/+136
| | | | | | This patch uses the instructions added in r186680 for codegen. llvm-svn: 186681
* [SystemZ] Start adding z196 and zEC12 supportRichard Sandiford2013-07-1911-22/+309
| | | | | | | | | | | | This first step just adds definitions for SLLK, SRLK and SRAK. The next patch will actually make use of them during codegen. insn-bad.s tests that some form of error is reported when using these instructions on z10. More work is needed to get the "instruction requires: distinct-ops" that we'd ideally like, so I've stubbed that part out for now. I'll come back and make it mandatory once the necessary changes are in. llvm-svn: 186680
* Split openFileForWrite into windows and unix versions.Rafael Espindola2013-07-194-30/+92
| | | | | | It is similar to 186511, but for creating files for writing. llvm-svn: 186679
* Add a unit test for checking that we respect the F_Binary flag.Rafael Espindola2013-07-191-0/+31
| | | | llvm-svn: 186676
* Fixed some formatting issues with clang-format to get a baseline.John Thompson2013-07-191-7/+6
| | | | llvm-svn: 186675
* [SystemZ] Enable frame-pointer elimination for -O1 and aboveRichard Sandiford2013-07-192-4/+11
| | | | | | Copies the x86 behavior. llvm-svn: 186674
OpenPOWER on IntegriCloud