| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiation-dependence.cpp | 48 static constexpr int specialization = 0; member 57 static constexpr int specialization = 1; member 62 static constexpr int specialization = 2; member 70 static_assert(trait<A>::specialization == 0); 71 static_assert(trait<B>::specialization == 1); // FIXME expected-error {{failed}} 72 static_assert(trait<C>::specialization == 2); // FIXME expected-error {{failed}} 73 static_assert(trait<D>::specialization == 0); // FIXME-error {{ambiguous partial specialization}}
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/ |
| H A D | function-specialization2.ll | 2 ; RUN: opt -function-specialization -deadargelim -force-function-specialization -S < %s | FileCheck… 3 ; RUN: opt -function-specialization -func-specialization-max-iters=1 -deadargelim -force-function-s… 4 ; RUN: opt -function-specialization -func-specialization-max-iters=0 -deadargelim -force-function-s… 5 ; RUN: opt -function-specialization -func-specialization-avg-iters-cost=1 -deadargelim -force-funct…
|
| H A D | function-specialization-recursive.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=2… 2 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=3… 3 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=4…
|
| H A D | function-specialization-nonconst-glob.ll | 3 ; RUN: opt -function-specialization -force-function-specialization -S < %s | FileCheck %s 4 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-on-address=… 5 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-on-address=…
|
| H A D | function-specialization3.ll | 1 ; RUN: opt -function-specialization -func-specialization-avg-iters-cost=3 -S < %s | \ 3 ; RUN: opt -function-specialization -force-function-specialization -S < %s | \ 5 ; RUN: opt -function-specialization -func-specialization-avg-iters-cost=3 -force-function-specializ…
|
| H A D | function-specialization4.ll | 1 ; RUN: opt -function-specialization -force-function-specialization \ 2 ; RUN: -func-specialization-max-clones=2 -S < %s | FileCheck %s 4 ; RUN: opt -function-specialization -force-function-specialization \ 5 ; RUN: -func-specialization-max-clones=1 -S < %s | FileCheck %s --check-prefix=CONST1
|
| H A D | bug55000-read-uninitialized-value.ll | 1 …-specialization -func-specialization-max-iters=2 -func-specialization-size-threshold=20 -func-spec…
|
| H A D | function-specialization-constant-expression.ll | 3 ; Test function specialization wouldn't crash due to constant expression. 4 ; Note that this test case shows that function specialization pass would 5 ; transform the function even if no specialization happened. 7 ; RUN: opt -function-specialization -force-function-specialization -S < %s | FileCheck %s
|
| H A D | specialize-multiple-arguments.ll | 2 ; RUN: opt -function-specialization -func-specialization-max-clones=0 -func-specialization-size-thr… 3 ; RUN: opt -function-specialization -func-specialization-max-clones=1 -func-specialization-size-thr… 4 ; RUN: opt -function-specialization -func-specialization-max-clones=2 -func-specialization-size-thr… 5 ; RUN: opt -function-specialization -func-specialization-max-clones=3 -func-specialization-size-thr…
|
| H A D | function-specialization-recursive2.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=2…
|
| H A D | function-specialization-recursive4.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=2…
|
| H A D | function-specialization-loop.ll | 1 ; RUN: opt -function-specialization -func-specialization-avg-iters-cost=3 -func-specialization-size… 3 ; Check that the loop depth results in a larger specialization bonus.
|
| H A D | function-specialization-stats.ll | 2 ; RUN: opt -stats -function-specialization -S -force-function-specialization < %s 2>&1 | FileCheck … 4 ; CHECK: 2 function-specialization - Number of functions specialized
|
| H A D | function-specialization-recursive3.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-max-iters=2…
|
| H A D | function-specialization-constant-integers.ll | 1 ; RUN: opt -function-specialization -function-specialization-for-literal-constant=true -func-specia…
|
| H A D | function-specialization-constant-expression5.ll | 2 ; RUN: opt -function-specialization -force-function-specialization -func-specialization-on-address …
|
| H A D | function-specialization-always-inline.ll | 1 ; RUN: opt -function-specialization -func-specialization-avg-iters-cost=3 -func-specialization-size…
|
| H A D | function-specialization-minsize2.ll | 1 ; RUN: opt -function-specialization -func-specialization-size-threshold=3 -S < %s | FileCheck %s
|
| H A D | function-specialization-nodup.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -S < %s | FileCheck %s
|
| H A D | function-specialization-noexec.ll | 1 ; RUN: opt -function-specialization -force-function-specialization -S < %s | FileCheck %s
|
| /llvm-project-15.0.7/clang/test/SemaOpenCLCXX/ |
| H A D | template-opencl-types.clcpp | 17 …templ<image1d_t>(); // expected-note{{in instantiation of function template specialization 'templ<… 18 …templ<half>(); // expected-note{{in instantiation of function template specialization 'templ<half>… 19 …templ<__local event_t>(); // expected-note{{in instantiation of function template specialization '… 25 …lk_event_t>; // expected-note{{in instantiation of variable template specialization 'global_variab…
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | literals.mm | 116 …terals(int); // expected-note{{in instantiation of function template specialization 'test_array_li… 133 …ls(int, id); // expected-note{{in instantiation of function template specialization 'test_dictiona… 134 …ls(id, int); // expected-note{{in instantiation of function template specialization 'test_dictiona… 147 …, NSArray*); // expected-note{{in instantiation of function template specialization 'test_variadic… 173 …nary_expansion(NSNumber *, // expected-note{{in instantiation of function template specialization}} 176 …nary_expansion(NSNumber *, // expected-note{{in instantiation of function template specialization}}
|
| H A D | arc-nsconsumed-errors.mm | 44 …; // expected-error {{no function template matches function template specialization 'templateFunct… 47 …; // expected-error {{no function template matches function template specialization 'templateRelea… 50 …} // expected-error {{no function template matches function template specialization 'templateRelea…
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/ |
| H A D | no-body.cpp | 79 … expected-error {{no function template matches function template specialization 'f1'}} 81 … expected-error {{class template specialization of 'x1' must occur at global scope}}
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | dcl58-cpp.rst | 15 - Anything that is not a template specialization. 19 - Explicit or partial specialization of any member class template of a standard library class or cl… 42 struct ::std::hash<MyData> { // no warning: specialization with user-defined type
|