| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | for-range-examples.cpp | 51 value_range_detail::value_range<T> range(const T &a, const T &b) { return value_range_detail::value… in range() 54 value_range_detail::value_range_step<T> range(const T &a, const T &b, const T &step) { return value… in range() 75 struct tuple : tuple_elem<A>... { struct 76 tuple() : tuple_elem<A>()... {} in tuple() function 77 tuple(A... a) : tuple_elem<A>(a)... {} in tuple() argument 78 template<typename B> B &get() { return tuple_elem<B>::t; } in get() 146 for (auto a : map(map_range::mem_fun(&T::get<int>), pairs)) { in main() local 157 void test(A &a) { in test() 169 template<typename T> void f() { for (auto a : A()) {} } in f() local 245 int b = 1, a[b]; in foo() local
|
| H A D | cxx1z-class-template-argument-deduction.cpp | 49 template<typename ...T> struct tuple { tuple(T...); }; struct 114 template<typename T> void g(T a) { in g() 233 A a(1, 2, 3); variable 265 template<class ...T> struct tuple { struct 269 tuple a = {1, 2, 3}; variable 275 template<class ...T> struct tuple { struct 283 template <> class tuple<> {}; class 345 A<int> a; variable 387 void foo(A<int> &a, B<int> &b) { in foo() 424 A a(0, {}); variable [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | default-arguments-cxx0x.cpp | 32 template <typename T1, typename T2> class tuple { class 35 constexpr tuple() {} in tuple() function in PR16689::tuple 37 template <class X, class... Y> struct a : public X { struct
|
| H A D | partial-spec-instantiate.cpp | 22 void a(char *a, char *b) {X2<char*>::f();} in a() argument 117 template <typename... T> struct tuple {}; // expected-warning 0-1{{extension}} struct
|
| H A D | pack-deduction.cpp | 26 void g(A<char, short> a) { in g() 134 template<typename ...T> struct tuple {}; struct
|
| H A D | alias-templates.cpp | 19 A<int> a; variable 171 template <typename ... Args> struct tuple {}; struct 182 template <typename ... Args> struct tuple {}; struct 243 A<> a; // ok variable 272 Arr<3> a; member
|
| H A D | deduction.cpp | 100 void test(A& a) { (void)f(a); } in test() 121 int a[3][3]; in test() local 157 template <class> struct a { using b = const float; }; argument 169 template <E e> void foo(const A<e> &a) {} in foo() 172 A<E0> a; in test() local 352 C() { A a; T t; (a.*F)(t); } in C() local 376 void h(float a, double b, int c) { in h() 416 void f(A a) { in f() 471 void g(A<int> a) { f(a); } // expected-error {{no match}} in g() 515 template<typename T, T V> void a(const int (&)[V]) { in a() function [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/ |
| H A D | dcl58-cpp.cpp | 47 namespace posix::a { namespace 114 class tuple<int, MyError, std::io_errc> {}; class 123 class tuple<int, const std::io_errc, float> {}; class
|
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr13xx.cpp | 142 static int a; member 162 static int a; member 246 auto a(1); // expected-error 0-1{{extension}} variable 298 A<NonLit, NonLit, Virt> a = NonLit(); variable 319 …union B { constexpr B() = default; int a; }; // expected-error {{not constexpr}} expected-note 2{{… member 320 …union C { constexpr C() = default; int a, b; }; // expected-error {{not constexpr}} expected-note … member 324 constexpr A a = A(); variable 360 template<typename ...T> struct tuple { typedef char type; }; // expected-error 0-2{{C++11}} argument 365 void g(pair<int, char> a, pair<long, char> b, tuple<char, char> c) { in g() argument 398 void g(A a) { in g() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-emplace.cpp | 274 class tuple { class 280 tuple(const Ts &...) {} in tuple() function in std::tuple 281 tuple(Ts &&...) {} in tuple() function in std::tuple 284 tuple(const tuple<Us...> &){}; in tuple() function in std::tuple 286 tuple(tuple<Us...> &&) {} in tuple() function in std::tuple 289 tuple(const pair<U1, U2> &) { in tuple() function in std::tuple 293 tuple(pair<U1, U2> &&) { in tuple() function in std::tuple 856 int a = 31; in testSomeEmplaceCases() local
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_test.c | 6939 const char *tuple; member 6965 isl_multi_id *tuple; in test_bind_set() local 6988 const char *tuple; member 7046 const char *tuple; member 7095 const char *tuple; member 7152 const char *tuple; member 7297 const char *tuple; member 7369 const char *tuple; member 7418 const char *tuple; member 7467 const char *tuple; member [all …]
|
| H A D | isl_map.c | 2115 static void swap_vars(struct isl_blk blk, isl_int *a, in swap_vars() 2290 static void swap_div(__isl_keep isl_basic_map *bmap, int a, int b) in swap_div() 2301 int a, int b) in isl_basic_map_swap_div() 12650 __isl_keep isl_multi_id *tuple) in equate_params() 12689 __isl_take isl_multi_id *tuple) in isl_set_bind() 12709 __isl_keep isl_multi_id *tuple) in map_equate_params() 12748 __isl_take isl_multi_id *tuple) in isl_map_bind_domain() 12769 __isl_take isl_multi_id *tuple) in isl_map_bind_range() 12782 __isl_take isl_set *set, __isl_take isl_multi_id *tuple) in unbind_params_insert_domain() 12799 __isl_take isl_multi_id *tuple) in isl_set_unbind_params()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | Character.cpp | 411 mlir::Value a, mlir::Value b) { in genMin() 698 mlir::Value tuple) { in extractCharacterProcedureTuple() 725 mlir::Value tuple = builder.create<fir::UndefOp>(loc, tupleType); in createCharacterProcedureTuple() local
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/ |
| H A D | PolynomialApproximation.cpp | 142 for (const auto &tuple : llvm::enumerate(expandedOperands)) in handleMultidimensionalVectors() local 914 auto fmla = [&](Value a, Value b, Value c) { in matchAndRewrite() 917 auto mul = [&](Value a, Value b) -> Value { in matchAndRewrite() 920 auto sub = [&](Value a, Value b) -> Value { in matchAndRewrite() 1107 auto mul = [&](Value a, Value b) -> Value { in matchAndRewrite() 1110 auto sub = [&](Value a, Value b) -> Value { in matchAndRewrite() 1116 auto fPToSingedInteger = [&](Value a) -> Value { in matchAndRewrite() 1120 auto modulo4 = [&](Value a) -> Value { in matchAndRewrite() 1124 auto isEqualTo = [&](Value a, Value b) -> Value { in matchAndRewrite() 1136 auto fmla = [&](Value a, Value b, Value c) { in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/ |
| H A D | AsyncToAsyncRuntime.cpp | 546 for (auto tuple : llvm::zip(adaptor.getOperands(), coro.returnValues)) { in matchAndRewrite() local 714 llvm::sort(users, [](Operation *a, Operation *b) { in funcsToCoroutines()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | CodeGen.cpp | 172 loadFromOffset(mlir::Location loc, mlir::Value a, mlir::LLVM::ConstantOp c0, in loadFromOffset() 420 genExtractValueWithIndex(mlir::Location loc, mlir::Value tuple, mlir::Type ty, in genExtractValueWithIndex() 437 mlir::Value a = adaptor.getOperands()[0]; in matchAndRewrite() local 505 mlir::Value a = adaptor.getOperands()[0]; in matchAndRewrite() local 539 mlir::Value a = adaptor.getOperands()[0]; in matchAndRewrite() local 574 mlir::Value a = adaptor.getOperands()[0]; in matchAndRewrite() local 639 for (auto a : llvm::enumerate(arr.getValue())) { in matchAndRewrite() local 3028 mlir::Value tuple = adaptor.getOperands()[0]; in matchAndRewrite() local 3182 mlir::Value a = opnds[0]; in complexSum() local 3243 mlir::Value a = adaptor.getOperands()[0]; in matchAndRewrite() local [all …]
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 3195 mlir::Value tuple = createBoxProcCharTuple( in genRawProcedureRef() local 3321 ExtValue genref(const A &a) { in genref() 3325 ExtValue genref(const A &a) { in genref() 5062 mlir::Value tuple = createBoxProcCharTuple( in genElementalUserDefinedProcRef() local
|