/llvm-project/llvm/include/llvm/ADT/ |
H A D | identity.h | 22 template <class Ty> struct identity { struct 23 using is_transparent = void; 24 using argument_type = Ty; 26 Ty &operator()(Ty &self) const { in operator() 29 const Ty &operator()(const Ty &self) const { in operator()
|
/llvm-project/compiler-rt/lib/orc/ |
H A D | stl_extras.h | 24 template <class Ty> struct identity { struct 25 is_transparentidentity global() argument 26 argument_typeidentity global() argument 28 operatoridentity operator() argument 29 operatoridentity operator() argument
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | instantiate-message.mm | 10 struct identity { struct 17 R *result2 = [typename identity<T>::type method1:arg1]; argument 21 template void test_class_method<ClassMethods, ClassMethods>(void*); 22 template void test_class_method<ClassMethods, ClassMethods>(int*); 24 @interface ClassMethods2
|
H A D | arc-templates.mm | 114 template<typename T> struct identity { }; struct 116 template<typename T> identity<T> accept_strong_ptr(__strong T*); argument 117 template<typename T> identity<T> accept_strong_ref(__strong T&); argument 119 template<typename T> identity<T> accept_any_ptr(T*); argument 120 template<typename T> identity<T> accept_any_ref(T&); argument 128 identity<id> res1 = accept_strong_ptr(sip); argument 148 identity<A *> res1 = accept_strong_ptr(sip); argument
|
/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/ |
H A D | equivalence.cpp | 6 template<typename T> struct identity { using type = T; }; argument 28 template<typename T> struct identity { using type = T; }; struct 30 template<typename T> requires requires { typename ns::identity<T>::type; } // expected-error{{requi…
|
H A D | type-requirement.cpp | 7 template<typename T> struct identity { using type = T; }; argument 78 template<typename T, typename U> struct identity {}; struct
|
/llvm-project/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.user/ |
H A D | p3-0x.cpp | 4 template<typename T> struct identity struct 5 { typedef T type; };
|
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
H A D | p11.cpp | 11 struct identity { struct 16 T* f2(int, typename identity<T>::type = 0); argument
|
/llvm-project/clang/test/Parser/ |
H A D | cxx2a-concepts-requires-expr.cpp | 61 template<typename T> struct identity { using type = T; }; argument
|
/llvm-project/libcxx/test/libcxx/depr/depr.function.objects/ |
H A D | depr.adaptors.cxx1z.pass.cpp | 24 int identity(int v) { return v; } identity() function 31 int identity(int v) const { return v; } identity() function
|
H A D | adaptors.depr_in_cxx11.verify.cpp | 18 int identity(int v) { return v; } in identity() function 25 int identity(int v) { return v; } in identity() function
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | mangle-variadic-templates.cpp | 6 template<typename T> struct identity { using type = T; }; argument
|
/llvm-project/libcxx/test/std/numerics/numeric.ops/transform.reduce/ |
H A D | transform_reduce_iter_iter_init_bop_uop.pass.cpp | 29 struct identity struct 32 constexpr decltype(auto) operator()(T&& x) const { in operator ()()
|
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
H A D | p4.cpp | 5 template<class T> struct identity { typedef T type; }; argument
|
/llvm-project/libcxx/test/std/concepts/concepts.lang/concept.same/ |
H A D | same_as.pass.cpp | 66 struct identity { struct 70 template <template <typename> class Modifier = identity> argument
|
/llvm-project/flang/lib/Evaluate/ |
H A D | fold-reduction.h | 184 DoReduction(const Constant<ARRAY> & array,const Constant<LogicalResult> & mask,std::optional<int> & dim,const Scalar<T> & identity,ACCUMULATOR & accumulator) DoReduction() argument 274 FoldMaxvalMinval(FoldingContext & context,FunctionRef<T> && ref,RelationalOperator opr,const Scalar<T> & identity) FoldMaxvalMinval() argument 315 FoldProduct(FoldingContext & context,FunctionRef<T> && ref,Scalar<T> identity) FoldProduct() argument [all...] |
H A D | fold-character.cpp | 81 if (auto identity{Identity<T>( in FoldIntrinsicFunction() local 91 if (auto identity{Identity<T>( in FoldIntrinsicFunction() local
|
/llvm-project/libcxx/test/std/utilities/variant/variant.get/ |
H A D | get_type.pass.cpp | 109 template <class Tp> struct identity { using type = Tp; }; struct
|
/llvm-project/clang/test/CodeGen/WebAssembly/ |
H A D | wasm-funcref.c | 37 funcref_t identity(funcref_t fn) { in identity() function
|
/llvm-project/llvm/test/tools/llvm-ml/ |
H A D | macro_function.asm | 5 identity MACRO arg macro
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | instantiate-requires-expr.cpp | 55 struct identity { using type = T; }; argument [all...] |
H A D | address-spaces.cpp | 63 template<typename T> struct identity {}; struct
|
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ |
H A D | ranges.remove.pass.cpp | 166 constexpr S& identity() { return *this; } in test() function
|
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
H A D | ranges.replace.pass.cpp | 129 constexpr const S& identity() const { return *this; } in test() function
|
/llvm-project/llvm/unittests/Support/ |
H A D | ParallelTest.cpp | 55 auto identity = [](uint32_t v) { return v; }; TEST() local
|