Home
last modified time | relevance | path

Searched refs:SpecialFuncs (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dattr-cpuspecific.cpp89 struct SpecialFuncs { struct
91 __attribute__((cpu_specific(atom))) SpecialFuncs();
93 __attribute__((cpu_specific(atom))) ~SpecialFuncs();
96 SpecialFuncs& __attribute__((cpu_specific(atom))) operator=(const SpecialFuncs&) = default;
98 SpecialFuncs& __attribute__((cpu_specific(atom))) operator=(SpecialFuncs&&) = delete;
Dattr-target-mv.cpp122 struct SpecialFuncs { struct
124 __attribute__((target("default"))) SpecialFuncs();
126 __attribute__((target("default"))) ~SpecialFuncs();
129 SpecialFuncs& __attribute__((target("default"))) operator=(const SpecialFuncs&) = default;
131 SpecialFuncs& __attribute__((target("default"))) operator=(SpecialFuncs&&) = delete;
/external/llvm-project/clang/test/OpenMP/
Ddeclare_variant_implementation_vendor_codegen.cpp52 struct SpecialFuncs { struct
54 SpecialFuncs(); argument
55 ~SpecialFuncs();
58 #pragma omp declare variant(SpecialFuncs::method_) \ argument
61 #pragma omp declare variant(SpecialFuncs::method_) \ argument
66 int SpecialFuncs::Method() { return 13; } in Method()
Ddeclare_variant_ast_print.cpp153 struct SpecialFuncs { struct
155 SpecialFuncs(); argument
156 ~SpecialFuncs();
161 #pragma omp declare variant(SpecialFuncs::baz) match(xxx = {}) argument
162 #pragma omp declare variant(SpecialFuncs::bar) match(xxx = {})
163 #pragma omp declare variant(SpecialFuncs::bar) match(implementation = {vendor(ibm)}, device = {kind…
164 #pragma omp declare variant(SpecialFuncs::baz) match(implementation = {vendor(unknown)}, device = {…
166 #pragma omp declare variant(SpecialFuncs::baz) match(implementation = {vendor(unknown)}, device = {… argument
173 void SpecialFuncs::xxx() {} in xxx()
Ddeclare_variant_messages.cpp269 struct SpecialFuncs { struct
272 #pragma omp declare variant(SpecialFuncs::vd) match(implementation = {}) // expected-warning {{expe…
273 SpecialFuncs(); // expected-error {{'#pragma omp declare variant' does not support constructors}}
275 #pragma omp declare variant(SpecialFuncs::vd) match(xxx = {}) // expected-warning {{'xxx' is not a …
276 ~SpecialFuncs(); // expected-error {{'#pragma omp declare variant' does not support destructors}}
281 #pragma omp declare variant(SpecialFuncs::baz) match(implementation = {}) // expected-warning {{exp…
282 #pragma omp declare variant(SpecialFuncs::bar) match(xxx = {}) // expected-warning {{'xxx' is not a…
286 SpecialFuncs& foo(const SpecialFuncs&);
287 SpecialFuncs& bar(SpecialFuncs&&);
289 #pragma omp declare variant(SpecialFuncs::foo) match(xxx = {}) // expected-warning {{'xxx' is not a…
[all …]
Dnvptx_declare_variant_implementation_vendor_codegen.cpp66 struct SpecialFuncs { struct
68 SpecialFuncs(); argument
69 ~SpecialFuncs();
72 #pragma omp declare variant(SpecialFuncs::method_) \ argument
75 #pragma omp declare variant(SpecialFuncs::method_) \ argument
80 int SpecialFuncs::Method() { return 13; } in Method()
Ddeclare_variant_device_kind_codegen.cpp147 struct SpecialFuncs { struct
149 SpecialFuncs(); argument
150 ~SpecialFuncs();
153 #pragma omp declare variant(SpecialFuncs::method_) \ argument
156 #pragma omp declare variant(SpecialFuncs::method_) \ argument
161 int SpecialFuncs::Method() { return 1; } in Method()
Dnvptx_declare_variant_device_kind_codegen.cpp90 struct SpecialFuncs { struct
92 SpecialFuncs(); argument
93 ~SpecialFuncs();
95 #pragma omp declare variant(SpecialFuncs::method_) \ argument
98 #pragma omp declare variant(SpecialFuncs::method_) \ argument
103 int SpecialFuncs::Method() { return 13; } in Method()
Ddeclare_variant_mixed_codegen.cpp65 struct SpecialFuncs { struct
67 SpecialFuncs(); argument
68 ~SpecialFuncs();
71 #pragma omp declare variant(SpecialFuncs::method_) \ argument
74 #pragma omp declare variant(SpecialFuncs::method_) \ argument
79 int SpecialFuncs::Method() { return 14; } in Method()