Skip to content
Snippets Groups Projects
  1. Jun 14, 2016
    • Adam Nemet's avatar
      Fix documentation bot after r272656 · 699ee8e7
      Adam Nemet authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272699 91177308-0d34-0410-b5e6-96231b3b80d8
      699ee8e7
    • Adam Nemet's avatar
      Add loop pragma for Loop Distribution · e280490a
      Adam Nemet authored
      Summary:
      This is similar to other loop pragmas like 'vectorize'.  Currently it
      only has state values: distribute(enable) and distribute(disable).  When
      one of these is specified the corresponding loop metadata is generated:
      
        !{!"llvm.loop.distribute.enable", i1 true/false}
      
      As a result, loop distribution will be attempted on the loop even if
      Loop Distribution in not enabled globally.  Analogously, with 'disable'
      distribution can be turned off for an individual loop even when the pass
      is otherwise enabled.
      
      There are some slight differences compared to the existing loop pragmas.
      
      1. There is no 'assume_safety' variant which makes its handling slightly
      different from 'vectorize'/'interleave'.
      
      2. Unlike the existing loop pragmas, it does not have a corresponding
      numeric pragma like 'vectorize' -> 'vectorize_width'.  So for the
      consistency checks in CheckForIncompatibleAttributes we don't need to
      check it against other pragmas.  We just need to check for duplicates of
      the same pragma.
      
      Reviewers: rsmith, dexonsmith, aaron.ballman
      
      Subscribers: bob.wilson, cfe-commits, hfinkel
      
      Differential Revision: http://reviews.llvm.org/D19403
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272656 91177308-0d34-0410-b5e6-96231b3b80d8
      e280490a
    • Vedant Kumar's avatar
      [docs] Coverage: Document the profile merge pool specifier · ade89cd3
      Vedant Kumar authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272604 91177308-0d34-0410-b5e6-96231b3b80d8
      ade89cd3
  2. Jun 11, 2016
  3. Jun 10, 2016
  4. Jun 09, 2016
  5. Jun 08, 2016
  6. Jun 07, 2016
  7. Jun 06, 2016
  8. Jun 02, 2016
  9. May 31, 2016
  10. May 30, 2016
    • Etienne Bergeron's avatar
      [ASTMatchers] Add support of hasCondition for SwitchStmt. · c33ca9eb
      Etienne Bergeron authored
      Summary:
      The switch statement could be added to the hasCondition matcher.
      
      Example:
      ```
      clang-query> match switchStmt(hasCondition(ignoringImpCasts(declRefExpr())))
      ```
      
      Output:
      ```
      Match #1:
      
      Binding for "root":
      SwitchStmt 0x2f9b528 </usr/local/google/home/etienneb/examples/enum.cc:35:3, line:38:3>
      |-<<<NULL>>>
      |-ImplicitCastExpr 0x2f9b510 <line:35:11> 'int' <IntegralCast>
      | `-ImplicitCastExpr 0x2f9b4f8 <col:11> 'enum Color' <LValueToRValue>
      |   `-DeclRefExpr 0x2f9b4d0 <col:11> 'enum Color' lvalue Var 0x2f9a118 'C' 'enum Color'
      `-CompoundStmt 0x2f9b610 <col:14, line:38:3>
        |-CaseStmt 0x2f9b578 <line:36:3, col:22>
        | |-ImplicitCastExpr 0x2f9b638 <col:8> 'int' <IntegralCast>
        | | `-DeclRefExpr 0x2f9b550 <col:8> 'enum Size' EnumConstant 0x2f99e40 'Small' 'enum Size'
        | |-<<<NULL>>>
        | `-ReturnStmt 0x2f9b5d0 <col:15, col:22>
        |   `-IntegerLiteral 0x2f9b5b0 <col:22> 'int' 1
        `-DefaultStmt 0x2f9b5f0 <line:37:3, col:12>
          `-BreakStmt 0x2f9b5e8 <col:12>
      
      1 match.
      ```
      
      Reviewers: aaron.ballman, sbenza, klimek
      
      Subscribers: klimek, cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D20767
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271208 91177308-0d34-0410-b5e6-96231b3b80d8
      c33ca9eb
  11. May 28, 2016
  12. May 27, 2016
  13. May 25, 2016
  14. May 23, 2016
    • David Majnemer's avatar
      Clang support for __is_assignable intrinsic · d1cedd4e
      David Majnemer authored
      MSVC now supports the __is_assignable type trait intrinsic,
      to enable easier and more efficient implementation of the
      Standard Library's is_assignable trait.
      As of Visual Studio 2015 Update 3, the VC Standard Library
      implementation uses the new intrinsic unconditionally.
      
      The implementation is pretty straightforward due to the previously
      existing is_nothrow_assignable and is_trivially_assignable.
      We handle __is_assignable via the same code as the other two except
      that we skip the extra checks for nothrow or triviality.
      
      Patch by Dave Bartolomeo!
      
      Differential Revision: http://reviews.llvm.org/D20492
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270458 91177308-0d34-0410-b5e6-96231b3b80d8
      d1cedd4e
  15. May 20, 2016
  16. May 18, 2016
  17. May 16, 2016
  18. May 13, 2016
  19. May 12, 2016
  20. May 06, 2016
  21. May 05, 2016
  22. May 04, 2016
Loading