summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* C++11: Use foreach in ScopDetectionTobias Grosser2014-03-021-25/+17
| | | | llvm-svn: 202634
* Revert a LLVM_OVERRIDE to 'override' change in documentation. My search and ↵Craig Topper2014-03-021-1/+1
| | | | | | replace was a little overzealous. llvm-svn: 202633
* [C++11] Replace LLVM_OVERRIDE with 'override'Craig Topper2014-03-0232-98/+98
| | | | llvm-svn: 202632
* [C++11] Clarify in the Compiler.h support macros and comments (andChandler Carruth2014-03-021-1/+6
| | | | | | | assert it with an #error) that we require MSVC 2012; MSVC 2010 will no longer suffice. llvm-svn: 202631
* [C++11] Remove an LLVM_OVERRIDE use that I missed in my previous commit.Craig Topper2014-03-021-1/+1
| | | | llvm-svn: 202630
* [C++11] Remove LLVM_FINAL and LLVM_OVERRIDE macros now that all their uses ↵Craig Topper2014-03-021-20/+0
| | | | | | are gone. llvm-svn: 202629
* [SparcV9] Adds support for branch on integer register instructions (BPr) and ↵Venkatraman Govindaraju2014-03-029-1/+243
| | | | | | conditional moves on integer register (MOVr/FMOVr). llvm-svn: 202628
* [C++11] Replace LLVM_OVERRIDE with just "override" now that we're allChandler Carruth2014-03-024-6/+6
| | | | | | using MSVC 2012 or newer. llvm-svn: 202627
* [C++11] Switch from LLVM_FINAL to just "final" now that all of LLVM isChandler Carruth2014-03-0216-21/+21
| | | | | | requiring MSVC 2012 or newer. llvm-svn: 202626
* Switch all uses of LLVM_OVERRIDE to just use 'override' directly.Craig Topper2014-03-0222-56/+55
| | | | llvm-svn: 202625
* AVX-512: Fixed extract_vector_elt for v8i1 vectorElena Demikhovsky2014-03-025-12/+32
| | | | llvm-svn: 202624
* [C++11] Update LLD documentation to just refer to the LLVM documentationChandler Carruth2014-03-021-31/+4
| | | | | | for C++11 issues. llvm-svn: 202623
* [C++11] Suggest placing callable arguments as the last argument toChandler Carruth2014-03-021-0/+4
| | | | | | | | facilitate the nice formatting of lambdas passed there. Suggested by Chris during review of my lambda additions, and something I strongly agree with. llvm-svn: 202622
* Switch all uses of LLVM_OVERRIDE to just use 'override' directly.Craig Topper2014-03-0287-773/+695
| | | | llvm-svn: 202621
* [C++11] Update the coding standards to provide some important guidanceChandler Carruth2014-03-021-4/+126
| | | | | | | | | | about a few constructs in C++11 that are worth starting off in a consistent manner within the codebase. This will be matched with a change to clang-format's LLVM style which will switch the options to support C++11 and use these conventions. llvm-svn: 202620
* Add back LLVM_FINAL macro. lld still needs it.Craig Topper2014-03-021-0/+10
| | | | llvm-svn: 202619
* Switch all uses of LLVM_FINAL to just use 'final', and remove the macro.Craig Topper2014-03-029-18/+8
| | | | llvm-svn: 202618
* remove an old entry whose link is broken anywayChris Lattner2014-03-021-8/+0
| | | | llvm-svn: 202617
* [Sparc] Add support for parsing branches and conditional move instructions ↵Venkatraman Govindaraju2014-03-025-86/+156
| | | | | | with %fcc1-%fcc3 conditional registers. llvm-svn: 202616
* Add [extern_c] attribute for modules, allowing a C module to be imported ↵Richard Smith2014-03-0215-22/+201
| | | | | | within an extern "C" block in C++ code. llvm-svn: 202615
* [Sparc] Make floating point branch instruction formats to accept %fcc0-%fcc1 ↵Venkatraman Govindaraju2014-03-024-34/+40
| | | | | | | | conditional registers as input. No functionality change. llvm-svn: 202614
* Make affinity support conditional on KMP_AFFINITY_SUPPORTEDAlp Toker2014-03-026-58/+48
| | | | | | | | | The feature was previously guarded with KMP_OS_LINUX || KMP_OS_WINDOWS but can now be enabled/disabled independently to simplify porting. Completes the work started in r202478. llvm-svn: 202613
* [C++11] Switch all uses of the llvm_move macro to use std::moveChandler Carruth2014-03-0215-45/+41
| | | | | | directly, and remove the macro. llvm-svn: 202612
* [C++11] Switch from the llvm_move macro to directly calling std::move.Chandler Carruth2014-03-024-7/+7
| | | | llvm-svn: 202611
* [Sparc] Add support for parsing fcmp with %fcc registers.Venkatraman Govindaraju2014-03-0211-18/+99
| | | | llvm-svn: 202610
* [C++11] Add support for OwningPtr<T> to be converted to and fromChandler Carruth2014-03-022-0/+92
| | | | | | | | std::unique_ptr<T>. Patch by Ahmed Charles! llvm-svn: 202609
* [C++11] Add unit tests for OwningPtr<T> in preparation for changes to makeChandler Carruth2014-03-022-0/+178
| | | | | | | | | | it interoperate (minimally) with std::unique_ptr<T>. This is part of my plan to migrate LLVM to use std::unique_ptr with a minimal impact on out-of-tree code. Patch by Ahmed Charles with some minor cleanups (and bool casts) by me. llvm-svn: 202608
* [C++11] Expand and eliminate the LLVM_ENUM_INT_TYPE() macroAlp Toker2014-03-0215-48/+30
| | | | llvm-svn: 202607
* [C++11] Expand and eliminate the LLVM_ENUM_INT_TYPE() macroAlp Toker2014-03-024-4/+4
| | | | llvm-svn: 202606
* [C++11] Drop legacy conditionals for TokenKind's underlying typeAlp Toker2014-03-022-6/+1
| | | | | | This relies on forward declaration of enums. llvm-svn: 202605
* [Sparc] Add register class for floating point conditional flags (%fcc0 - %fcc3).Venkatraman Govindaraju2014-03-023-11/+16
| | | | llvm-svn: 202604
* [docs] Fix some Sphinx warnings.Sean Silva2014-03-024-4/+7
| | | | | | | | | | | | | | | | | | | | | | | The docs now build cleanly. Yay! The following warnings were fixed: /home/sean/pg/llvm/llvm/docs/HowToReleaseLLVM.rst:364: WARNING: Enumerated list ends without a blank line; unexpected unindent. /home/sean/pg/llvm/llvm/docs/InAlloca.rst:: WARNING: document isn't included in any toctree /home/sean/pg/llvm/llvm/docs/CodingStandards.rst:85: WARNING: Title underline too short. Supported C++11 Language and Library Features ------------------------------------------- /home/sean/pg/llvm/llvm/docs/CodingStandards.rst:85: WARNING: Title underline too short. Supported C++11 Language and Library Features ------------------------------------------- /home/sean/pg/llvm/llvm/docs/GettingStarted.rst:185: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/sean/pg/llvm/llvm/docs/GettingStarted.rst:565: WARNING: Explicit markup ends without a blank line; unexpected unindent. /home/sean/pg/llvm/llvm/docs/GettingStarted.rst:567: WARNING: Block quote ends without a blank line; unexpected unindent. llvm-svn: 202603
* [SparcV9] Add support for parsing branch instructions with prediction.Venkatraman Govindaraju2014-03-018-44/+1034
| | | | llvm-svn: 202602
* R600: Add failing control flow tests.Matt Arsenault2014-03-015-0/+319
| | | | | | Simple cases hit a variety of problems at -O0. llvm-svn: 202601
* Remove extra truncs/exts around i32 bit operations on PPC64Hal Finkel2014-03-012-14/+112
| | | | | | | | | | | | | | | | | | | | | | | | | This generalizes the code to eliminate extra truncs/exts around i1 bit operations to also do the same on PPC64 for i32 bit operations. This eliminates a fairly prevalent code wart: int foo(int a) { return a == 5 ? 7 : 8; } On PPC64, because of the extension implied by the ABI, this would generate: cmplwi 0, 3, 5 li 12, 8 li 4, 7 isel 3, 4, 12, 2 rldicl 3, 3, 0, 32 blr where the 'rldicl 3, 3, 0, 32', the extension, is completely unnecessary. At least for the single-BB case (which is all that the DAG combine mechanism can handle), this unnecessary extension is no longer generated. llvm-svn: 202600
* [Sparc] Add support for parsing annulled branch instructions.Venkatraman Govindaraju2014-03-018-13/+196
| | | | llvm-svn: 202599
* [Sparc] Add support for parsing sparcv9 instructions addc/subc/addccc/subccc.Venkatraman Govindaraju2014-03-015-7/+36
| | | | llvm-svn: 202598
* [Sparc] Add missing ALU instruction patterns.Venkatraman Govindaraju2014-03-012-0/+83
| | | | llvm-svn: 202597
* Make helper function static.Benjamin Kramer2014-03-011-2/+1
| | | | llvm-svn: 202596
* Move private classes into anonymous namespaces.Benjamin Kramer2014-03-012-1/+5
| | | | llvm-svn: 202595
* Add missing FileCheck in test command line.Sasa Stankovic2014-03-011-1/+1
| | | | llvm-svn: 202594
* Move __clzti2 into 128bit fragment.Joerg Sonnenberger2014-03-011-2/+1
| | | | llvm-svn: 202593
* Avoid type pruning.Joerg Sonnenberger2014-03-012-6/+6
| | | | llvm-svn: 202592
* Consistently use COMPILER_RT_ABI for all public symbols.Joerg Sonnenberger2014-03-0187-145/+139
| | | | | | Move prototypes into headers and fix a few inconsistencies. llvm-svn: 202591
* [C++11] Replace verbose functors with succinct lambdasBenjamin Kramer2014-03-0112-227/+85
| | | | | | No functionality change. llvm-svn: 202590
* ASTReader.h: Prune \param ImportLoc according to r202560. [-Wdocumentation]NAKAMURA Takumi2014-03-011-1/+0
| | | | | FIXME: Give appropriate \param to llvm::ArrayRef<SubmoduleID> Overrides. llvm-svn: 202589
* Now that we have C++11, turn simple functors into lambdas and remove a ton ↵Benjamin Kramer2014-03-0120-312/+114
| | | | | | | | of boilerplate. No intended functionality change. llvm-svn: 202588
* [C++11] Remove LLVM_HAS_CXX11_STDLIB now that it is just on.Chandler Carruth2014-03-012-12/+0
| | | | llvm-svn: 202587
* [C++11] Remove LLVM_HAS_CXX11_TYPETRAITS now that it is a constant dueChandler Carruth2014-03-012-13/+0
| | | | | | | | | to the build being C++11. There is clearly still plenty of simplification than can be done here by using standard type traits instead of rolling our own in many places. llvm-svn: 202586
* [C++11] Now that we're not using it, remove theChandler Carruth2014-03-011-3/+0
| | | | | | LLVM_HAS_RVALUE_REFERENCES macro. llvm-svn: 202585
OpenPOWER on IntegriCloud