public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ken Matsui <kmatsui@cs.washington.edu>
To: Jason Merrill <jason@redhat.com>
Cc: Patrick Palka <ppalka@redhat.com>,
	Ken Matsui <kmatsui@gcc.gnu.org>,
	gcc-patches@gcc.gnu.org,  libstdc++@gcc.gnu.org
Subject: Re: [PATCH v14 21/26] c++: Implement __rank built-in trait
Date: Thu, 2 May 2024 09:56:08 -0700	[thread overview]
Message-ID: <CAML+3pVX9LGHFnKM2rNF6TrE5U_z5vV=umLSd0tFAmzzT=b3-A@mail.gmail.com> (raw)
In-Reply-To: <21abf361-86be-4c67-a845-9abc3a88a061@redhat.com>

On Thu, May 2, 2024 at 9:45 AM Jason Merrill <jason@redhat.com> wrote:
>
> On 5/2/24 12:20, Ken Matsui wrote:
> > On Thu, May 2, 2024 at 8:34 AM Ken Matsui <kmatsui@cs.washington.edu> wrote:
> >>
> >> On Thu, May 2, 2024 at 8:16 AM Patrick Palka <ppalka@redhat.com> wrote:
> >>>
> >>> On Tue, 30 Apr 2024, Jason Merrill wrote:
> >>>
> >>>> On 2/28/24 11:26, Ken Matsui wrote:
> >>>>> This patch implements built-in trait for std::rank.
> >>>>
> >>>> __rank seems too short, maybe __array_rank?
> >>>>
> >>>> Actually, it occurs to me that perhaps we should have been adding __builtin to
> >>>> all of these rather than just __ and the library trait name.  I guess it's too
> >>>> late to do that for the GCC 14 traits, but we could do it for this group?
> >>>
> >>> Clang already implements many of these built-in, without using
> >>> "__builtin" in their name.  Shouldn't we be consistent with Clang where
> >>> we can?
> >
> > Since I had already replaced the prefix locally with __builtin, I
> > submitted patches addressing all other Jason's reviews with that.
> > Please let me know if we want to use __ and __array_rank.
>
> If Clang already has a corresponding built-in (as with __array_rank,
> apparently), let's use the same name; otherwise let's add __builtin to
> the new ones.

I see.  It looks like Clang does not have built-ins for
is_unbounded_array, is_invocable, and is_nothrow_invocable.  I will
revert other built-ins.

>
> >> Oh, then, would using __array_rank and keeping existing built-in
> >> traits as-is sound like a better choice?
> >>
> >> https://github.com/llvm/llvm-project/blob/4aca302f5a82ee65847c88500b39a2530dfeceb4/libcxx/include/__type_traits/rank.h#L23
> >>
> >>>
> >>>>
> >>>>> gcc/cp/ChangeLog:
> >>>>>
> >>>>>      * cp-trait.def: Define __rank.
> >>>>>      * constraint.cc (diagnose_trait_expr): Handle CPTK_RANK.
> >>>>>      * semantics.cc (trait_expr_value): Likewise.
> >>>>>      (finish_trait_expr): Likewise.
> >>>>>
> >>>>> gcc/testsuite/ChangeLog:
> >>>>>
> >>>>>      * g++.dg/ext/has-builtin-1.C: Test existence of __rank.
> >>>>>      * g++.dg/ext/rank.C: New test.
> >>>>>
> >>>>> Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
> >>>>> ---
> >>>>>    gcc/cp/constraint.cc                     |  3 +++
> >>>>>    gcc/cp/cp-trait.def                      |  1 +
> >>>>>    gcc/cp/semantics.cc                      | 23 ++++++++++++++++++++---
> >>>>>    gcc/testsuite/g++.dg/ext/has-builtin-1.C |  3 +++
> >>>>>    gcc/testsuite/g++.dg/ext/rank.C          | 24 ++++++++++++++++++++++++
> >>>>>    5 files changed, 51 insertions(+), 3 deletions(-)
> >>>>>    create mode 100644 gcc/testsuite/g++.dg/ext/rank.C
> >>>>>
> >>>>> diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc
> >>>>> index 000df847342..23ea66d9c12 100644
> >>>>> --- a/gcc/cp/constraint.cc
> >>>>> +++ b/gcc/cp/constraint.cc
> >>>>> @@ -3870,6 +3870,9 @@ diagnose_trait_expr (tree expr, tree args)
> >>>>>        case CPTK_IS_VOLATILE:
> >>>>>          inform (loc, "  %qT is not a volatile type", t1);
> >>>>>          break;
> >>>>> +    case CPTK_RANK:
> >>>>> +      inform (loc, "  %qT cannot yield a rank", t1);
> >>>>> +      break;
> >>>>>        case CPTK_REF_CONSTRUCTS_FROM_TEMPORARY:
> >>>>>          inform (loc, "  %qT is not a reference that binds to a temporary "
> >>>>>            "object of type %qT (direct-initialization)", t1, t2);
> >>>>> diff --git a/gcc/cp/cp-trait.def b/gcc/cp/cp-trait.def
> >>>>> index 2d1cb7c227c..85056c8140b 100644
> >>>>> --- a/gcc/cp/cp-trait.def
> >>>>> +++ b/gcc/cp/cp-trait.def
> >>>>> @@ -99,6 +99,7 @@ DEFTRAIT_EXPR (IS_TRIVIALLY_COPYABLE,
> >>>>> "__is_trivially_copyable", 1)
> >>>>>    DEFTRAIT_EXPR (IS_UNBOUNDED_ARRAY, "__is_unbounded_array", 1)
> >>>>>    DEFTRAIT_EXPR (IS_UNION, "__is_union", 1)
> >>>>>    DEFTRAIT_EXPR (IS_VOLATILE, "__is_volatile", 1)
> >>>>> +DEFTRAIT_EXPR (RANK, "__rank", 1)
> >>>>>    DEFTRAIT_EXPR (REF_CONSTRUCTS_FROM_TEMPORARY,
> >>>>> "__reference_constructs_from_temporary", 2)
> >>>>>    DEFTRAIT_EXPR (REF_CONVERTS_FROM_TEMPORARY,
> >>>>> "__reference_converts_from_temporary", 2)
> >>>>>    DEFTRAIT_TYPE (REMOVE_ALL_EXTENTS, "__remove_all_extents", 1)
> >>>>> diff --git a/gcc/cp/semantics.cc b/gcc/cp/semantics.cc
> >>>>> index 45dc509855a..7242db75248 100644
> >>>>> --- a/gcc/cp/semantics.cc
> >>>>> +++ b/gcc/cp/semantics.cc
> >>>>> @@ -12550,6 +12550,9 @@ trait_expr_value (cp_trait_kind kind, tree type1,
> >>>>> tree type2)
> >>>>>        case CPTK_IS_DEDUCIBLE:
> >>>>>          return type_targs_deducible_from (type1, type2);
> >>>>>    +    /* __rank is handled in finish_trait_expr. */
> >>>>> +    case CPTK_RANK:
> >>>>
> >>>> This should have a gcc_unreachable.
> >>>>
> >>>>> +
> >>>>>    #define DEFTRAIT_TYPE(CODE, NAME, ARITY) \
> >>>>>        case CPTK_##CODE:
> >>>>>    #include "cp-trait.def"
> >>>>> @@ -12622,7 +12625,10 @@ finish_trait_expr (location_t loc, cp_trait_kind
> >>>>> kind, tree type1, tree type2)
> >>>>>      if (processing_template_decl)
> >>>>>        {
> >>>>>          tree trait_expr = make_node (TRAIT_EXPR);
> >>>>> -      TREE_TYPE (trait_expr) = boolean_type_node;
> >>>>> +      if (kind == CPTK_RANK)
> >>>>> +   TREE_TYPE (trait_expr) = size_type_node;
> >>>>> +      else
> >>>>> +   TREE_TYPE (trait_expr) = boolean_type_node;
> >>>>>          TRAIT_EXPR_TYPE1 (trait_expr) = type1;
> >>>>>          TRAIT_EXPR_TYPE2 (trait_expr) = type2;
> >>>>>          TRAIT_EXPR_KIND (trait_expr) = kind;
> >>>>> @@ -12714,6 +12720,7 @@ finish_trait_expr (location_t loc, cp_trait_kind
> >>>>> kind, tree type1, tree type2)
> >>>>>        case CPTK_IS_UNBOUNDED_ARRAY:
> >>>>>        case CPTK_IS_UNION:
> >>>>>        case CPTK_IS_VOLATILE:
> >>>>> +    case CPTK_RANK:
> >>>>>          break;
> >>>>>          case CPTK_IS_LAYOUT_COMPATIBLE:
> >>>>> @@ -12745,8 +12752,18 @@ finish_trait_expr (location_t loc, cp_trait_kind
> >>>>> kind, tree type1, tree type2)
> >>>>>          gcc_unreachable ();
> >>>>>        }
> >>>>>    -  tree val = (trait_expr_value (kind, type1, type2)
> >>>>> -         ? boolean_true_node : boolean_false_node);
> >>>>> +  tree val;
> >>>>> +  if (kind == CPTK_RANK)
> >>>>> +    {
> >>>>> +      size_t rank = 0;
> >>>>> +      for (; TREE_CODE (type1) == ARRAY_TYPE; type1 = TREE_TYPE (type1))
> >>>>> +   ++rank;
> >>>>> +      val = build_int_cst (size_type_node, rank);
> >>>>> +    }
> >>>>> +  else
> >>>>> +    val = (trait_expr_value (kind, type1, type2)
> >>>>> +      ? boolean_true_node : boolean_false_node);
> >>>>> +
> >>>>>      return maybe_wrap_with_location (val, loc);
> >>>>>    }
> >>>>>    diff --git a/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> >>>>> b/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> >>>>> index 3aca273aad6..7f7b27f7aa7 100644
> >>>>> --- a/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> >>>>> +++ b/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> >>>>> @@ -179,6 +179,9 @@
> >>>>>    #if !__has_builtin (__is_volatile)
> >>>>>    # error "__has_builtin (__is_volatile) failed"
> >>>>>    #endif
> >>>>> +#if !__has_builtin (__rank)
> >>>>> +# error "__has_builtin (__rank) failed"
> >>>>> +#endif
> >>>>>    #if !__has_builtin (__reference_constructs_from_temporary)
> >>>>>    # error "__has_builtin (__reference_constructs_from_temporary) failed"
> >>>>>    #endif
> >>>>> diff --git a/gcc/testsuite/g++.dg/ext/rank.C
> >>>>> b/gcc/testsuite/g++.dg/ext/rank.C
> >>>>> new file mode 100644
> >>>>> index 00000000000..28894184387
> >>>>> --- /dev/null
> >>>>> +++ b/gcc/testsuite/g++.dg/ext/rank.C
> >>>>> @@ -0,0 +1,24 @@
> >>>>> +// { dg-do compile { target c++11 } }
> >>>>> +
> >>>>> +#include <cstddef>
> >>>>> +
> >>>>> +#define SA(X) static_assert((X),#X)
> >>>>> +
> >>>>> +class ClassType { };
> >>>>> +
> >>>>> +SA(__rank(int) == 0);
> >>>>> +SA(__rank(int[2]) == 1);
> >>>>> +SA(__rank(int[][4]) == 2);
> >>>>> +SA(__rank(int[2][2][4][4][6][6]) == 6);
> >>>>> +SA(__rank(ClassType) == 0);
> >>>>> +SA(__rank(ClassType[2]) == 1);
> >>>>> +SA(__rank(ClassType[][4]) == 2);
> >>>>> +SA(__rank(ClassType[2][2][4][4][6][6]) == 6);
> >>>>> +
> >>>>> +template<class T> void f(T) = delete;
> >>>>> +void f(size_t);
> >>>>> +
> >>>>> +template<class T>
> >>>>> +void g() { f(__rank(T)); }
> >>>>> +
> >>>>> +template void g<int>();
> >>>>
> >>>>
> >>>
> >
>

  reply	other threads:[~2024-05-02 16:56 UTC|newest]

Thread overview: 294+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-23 22:02 [PATCH v2 0/8] Optimize more type traits Ken Matsui
2023-12-23 22:02 ` [PATCH v2 1/8] c++: Implement __is_const built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-04 22:06   ` Patrick Palka
2024-01-04 22:16     ` Patrick Palka
2024-01-06  4:59       ` Ken Matsui
2024-01-04 22:13   ` Jonathan Wakely
2024-01-06  4:59     ` Ken Matsui
2023-12-23 22:02 ` [PATCH v2 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-01-06  5:05 ` [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-01-06  5:05   ` [PATCH v3 1/8] c++: Implement __is_const built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-15  5:07   ` PING: [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-02-19 13:51   ` [PATCH v7 01/22] c++: Implement __is_const built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 02/22] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 03/22] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 04/22] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 05/22] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 06/22] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 07/22] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 08/22] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 09/22] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 10/22] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 11/22] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 12/22] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 13/22] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 14/22] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 15/22] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 16/22] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 17/22] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 18/22] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 19/22] c++: Implement __decay built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 20/22] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 21/22] c++: Implement __rank built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 22/22] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 23/24] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-20 15:52       ` [PATCH v9 " Ken Matsui
2024-02-21  6:20         ` [PATCH v11 " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 25/26] c++: Implement __is_nothrow_invocable " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-21  9:35             ` [PATCH v13 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-28 19:26               ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-04-30 20:58                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-04-30 20:59                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-04-30 21:02                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-04-30 21:03                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-04-30 21:08                   ` Jason Merrill
2024-05-02 15:00                     ` Ken Matsui
2024-05-02 15:15                     ` Patrick Palka
2024-05-02 15:34                       ` Ken Matsui
2024-05-02 16:20                         ` Ken Matsui
2024-05-02 16:45                           ` Jason Merrill
2024-05-02 16:56                             ` Ken Matsui [this message]
2024-05-02 17:12                             ` Trait built-in naming convention Jason Merrill
2024-05-02 17:24                               ` Ken Matsui
2024-05-02 17:37                                 ` Ville Voutilainen
2024-05-02 17:54                                   ` Marek Polacek
2024-05-02 19:30                                     ` Ken Matsui
2024-05-02 19:36                                       ` Iain Sandoe
2024-05-02 19:48                                         ` Jason Merrill
2024-05-02 19:52                                           ` Ken Matsui
2024-05-02 20:09                                             ` Jakub Jelinek
2024-05-02 20:15                                               ` Ken Matsui
2024-05-02 19:17                                   ` Jonathan Wakely
2024-05-02 19:25                                     ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-03-08 17:17                   ` Patrick Palka
2024-03-08 17:38                     ` Ken Matsui
2024-03-15  1:53                     ` Ken Matsui
2024-03-15  6:34                       ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-04-30 21:09                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-03-08 17:22                   ` Patrick Palka
2024-03-08 17:35                     ` Ken Matsui
2024-03-07 21:33                 ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-05-02 16:13                 ` [PATCH v16 " Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 01/26] c++: Implement __builtin_is_const trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 03/26] c++: Implement __builtin_is_volatile trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 05/26] c++: Implement __builtin_is_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 09/26] c++: Implement __builtin_add_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 11/26] c++: Implement __builtin_remove_extent trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 13/26] c++: Implement __builtin_remove_all_extents trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 15/26] c++: Implement __builtin_add_lvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 17/26] c++: Implement __builtin_add_rvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 19/26] c++: Implement __builtin_decay trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 21/26] c++: Implement __builtin_rank trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 18:42                   ` [PATCH v17 00/26] Optimize more type traits Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 19:50                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 20:12                     ` [PATCH v18 00/26] Optimize more type traits Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-07 13:55                         ` Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-05-02 20:38                         ` Jason Merrill
2024-05-02 20:45                           ` Marek Polacek
2024-05-02 20:50                             ` Ken Matsui
2024-05-02 20:47                           ` Ken Matsui
2024-05-03  2:43                             ` Jason Merrill
2024-05-03  2:46                               ` Ken Matsui
2024-05-02 20:54                           ` Ken Matsui
2024-05-03  2:09                         ` [PATCH v19 " Ken Matsui
2024-05-03  2:33                           ` Jason Merrill
2024-05-03  3:25                           ` [PATCH v20 " Ken Matsui
2024-05-03 19:38                             ` Jason Merrill
2024-05-03 20:28                               ` Ken Matsui
2024-05-03 20:52                             ` [PATCH v21 20/23] " Ken Matsui
2024-05-07 18:36                               ` Jason Merrill
2024-05-07 18:46                                 ` Ken Matsui
2024-05-08  5:04                               ` [PATCH v22 " Ken Matsui
2024-05-09 16:16                                 ` Jason Merrill
2024-05-10 11:18                                   ` Ken Matsui
2024-05-10 11:24                                 ` [PATCH v23 " Ken Matsui
2024-05-10 14:20                                   ` Jason Merrill
2024-05-10 14:43                                     ` Ken Matsui
2024-05-10 14:45                                   ` [PATCH v24 " Ken Matsui
2024-05-10 15:27                                     ` Jason Merrill
2024-05-10 16:11                                       ` Ken Matsui
2024-05-10 16:14                                     ` [PATCH v25 " Ken Matsui
2024-05-10 20:23                                       ` Jason Merrill
2024-05-10 20:39                                         ` Ken Matsui
2024-05-11  9:01                                       ` [PATCH v26 01/13] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-11  9:01                                         ` [PATCH v26 02/13] libstdc++: Optimize std::is_volatile " Ken Matsui
2024-06-13 12:17                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 03/13] libstdc++: Optimize std::is_pointer " Ken Matsui
2024-06-13 12:31                                           ` Jonathan Wakely
2024-06-13 13:08                                             ` Ken Matsui
2024-06-14 20:47                                             ` Andrew Pinski
2024-05-11  9:01                                         ` [PATCH v26 04/13] libstdc++: Optimize std::is_unbounded_array " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 05/13] libstdc++: Optimize std::add_pointer " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 06/13] libstdc++: Optimize std::remove_extent " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 07/13] libstdc++: Optimize std::remove_all_extents " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 08/13] libstdc++: Optimize std::add_lvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 09/13] libstdc++: Optimize std::add_rvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 10/13] libstdc++: Optimize std::decay " Ken Matsui
2024-06-13 12:39                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 11/13] libstdc++: Optimize std::rank " Ken Matsui
2024-06-13 12:40                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 12/13] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 13/13] libstdc++: Optimize std::is_nothrow_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-23 22:14                                         ` [PATCH v26 01/13] libstdc++: Optimize std::is_const " Patrick Palka
2024-05-23 22:15                                           ` Ken Matsui
2024-06-13 12:46                                             ` Jonathan Wakely
2024-06-13 12:50                                               ` Ken Matsui
2024-06-13 12:16                                         ` Jonathan Wakely
2024-06-13 13:39                                         ` [PATCH v27 1/3] libstdc++: Optimize std::is_pointer " Ken Matsui
2024-06-13 13:39                                           ` [PATCH v27 2/3] libstdc++: Optimize std::add_lvalue_reference " Ken Matsui
2024-06-13 13:55                                             ` Jonathan Wakely
2024-06-13 13:58                                               ` Ken Matsui
2024-06-13 13:39                                           ` [PATCH v27 3/3] libstdc++: Optimize std::add_rvalue_reference " Ken Matsui
2024-06-13 13:56                                             ` Jonathan Wakely
2024-06-13 13:57                                           ` [PATCH v27 1/3] libstdc++: Optimize std::is_pointer " Jonathan Wakely
2024-05-02 20:12                       ` [PATCH v18 24/26] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 24/24] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-02-20 22:17       ` [PATCH v10 " Ken Matsui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAML+3pVX9LGHFnKM2rNF6TrE5U_z5vV=umLSd0tFAmzzT=b3-A@mail.gmail.com' \
    --to=kmatsui@cs.washington.edu \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=kmatsui@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    --cc=ppalka@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).