Searched refs:tmain (Results 1 - 25 of 26) sorted by relevance

12

/external/clang/test/OpenMP/
H A Dparallel_codegen.cpp19 // CHECK-DEBUG-DAG: [[LOC2:@.+]] = private unnamed_addr constant [{{.+}} x i8] c";{{.*}}parallel_codegen.cpp;tmain;[[@LINE+7]];9;;\00"
25 int tmain(T argc) { function
34 return tmain(argv);
44 // CHECK-NEXT: [[RET:%.+]] = call {{[a-z]*[ ]?i32}} [[TMAIN:@.+tmain.+]](i8** [[ARGV]])
60 // CHECK-DEBUG-NEXT: [[RET:%.+]] = call i32 [[TMAIN:@.+tmain.+]](i8** [[ARGV]])
H A Dsections_ast_print.cpp12 T tmain(T argc) { function
49 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0]));
H A Dsingle_ast_print.cpp12 T tmain(T argc) { function
35 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0]));
H A Dfor_ast_print.cpp12 T tmain(T argc) { function
61 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0]));
H A Dparallel_ast_print.cpp32 T tmain(T argc, T *argv) { function
45 // CHECK: template <typename T = int, int C = 5> int tmain(int argc, int *argv) {
55 // CHECK: template <typename T = long, int C = 1> long tmain(long argc, long *argv) {
65 // CHECK: template <typename T, int C> T tmain(T argc, T *argv) {
93 return tmain<int, 5>(b, &b) + tmain<long, 1>(x, &x);
H A Dparallel_if_messages.cpp13 int tmain(T argc, S **argv) { function
42 #pragma omp parallel if(if(tmain(argc, argv) // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
45 return tmain(argc, argv);
H A Dparallel_num_threads_messages.cpp13 T tmain(T argc, S **argv) { function
40 #pragma omp parallel num_threads (num_threads(tmain<int, char, -1>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}} expected-note {{in instantiation of function template specialization 'tmain<int, char, -1>' requested here}}
43 return tmain<int, char, 3>(argc, argv); // expected-note {{in instantiation of function template specialization 'tmain<int, char, 3>' requested here}}
H A Dparallel_for_ast_print.cpp12 T tmain(T argc) { function
61 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0]));
H A Dparallel_sections_ast_print.cpp32 T tmain(T argc, T *argv) { function
53 // CHECK: template <typename T = int, int C = 5> int tmain(int argc, int *argv) {
71 // CHECK: template <typename T = long, int C = 1> long tmain(long argc, long *argv) {
89 // CHECK: template <typename T, int C> T tmain(T argc, T *argv) {
141 return tmain<int, 5>(b, &b) + tmain<long, 1>(x, &x);
H A Dparallel_sections_if_messages.cpp13 int tmain(T argc, S **argv) { function
107 #pragma omp parallel sections if(if(tmain(argc, argv) // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
112 return tmain(argc, argv);
H A Dparallel_sections_num_threads_messages.cpp13 T tmain(T argc, S **argv) { function
59 #pragma omp parallel sections num_threads (num_threads(tmain<int, char, -1>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}} expected-note {{in instantiation of function template specialization 'tmain<int, char, -1>' requested here}}
62 return tmain<int, char, 3>(argc, argv); // expected-note {{in instantiation of function template specialization 'tmain<int, char, 3>' requested here}}
H A Dparallel_for_if_messages.cpp13 int tmain(T argc, S **argv) { function
65 #pragma omp parallel for if(if(tmain(argc, argv) // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
68 return tmain(argc, argv);
H A Dparallel_for_num_threads_messages.cpp13 T tmain(T argc, S **argv) { function
61 #pragma omp parallel for num_threads (num_threads(tmain<int, char, -1>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}} expected-note {{in instantiation of function template specialization 'tmain<int, char, -1>' requested here}}
64 return tmain<int, char, 3>(argc, argv); // expected-note {{in instantiation of function template specialization 'tmain<int, char, 3>' requested here}}
H A Dfor_collapse_messages.cpp13 T tmain(T argc, S **argv) { //expected-note 2 {{declared here}} function
75 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
76 #pragma omp for collapse(collapse(tmain<int, char, -1, -2>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}}
80 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 1, 0>' requested here}}
81 return tmain<int, char, 1, 0>(argc, argv);
H A Dsingle_copyprivate_messages.cpp45 T tmain(T argc, C **argv) { function
156 return tmain(argc, argv); // expected-note {{in instantiation of function template specialization 'tmain<int, char>' requested here}}
H A Dfor_schedule_messages.cpp13 T tmain(T argc, S **argv) { function
85 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
86 #pragma omp for schedule(dynamic, schedule(tmain<int, char, -1, -2>(argc, argv) // expected-error {{expected ')'}} expected-note {{to match this '('}}
88 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 1, 0>' requested here}}
89 return tmain<int, char, 1, 0>(argc, argv);
H A Dparallel_for_collapse_messages.cpp13 T tmain(T argc, S **argv) { //expected-note 2 {{declared here}} function
75 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
76 #pragma omp parallel for collapse(collapse(tmain<int, char, -1, -2>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}}
80 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 1, 0>' requested here}}
81 return tmain<int, char, 1, 0>(argc, argv);
H A Dparallel_for_schedule_messages.cpp13 T tmain(T argc, S **argv) { function
85 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
86 #pragma omp parallel for schedule(dynamic, schedule(tmain<int, char, -1, -2>(argc, argv) // expected-error {{expected ')'}} expected-note {{to match this '('}}
88 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 1, 0>' requested here}}
89 return tmain<int, char, 1, 0>(argc, argv);
H A Dsimd_collapse_messages.cpp13 T tmain(T argc, S **argv) { //expected-note 2 {{declared here}} function
77 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
78 #pragma omp simd collapse(collapse(tmain<int, char, -1, -2>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}}
80 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 1, 0>' requested here}}
81 return tmain<int, char, 1, 0>(argc, argv);
H A Dsimd_safelen_messages.cpp13 T tmain(T argc, S **argv) { //expected-note 2 {{declared here}} function
73 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, -1, -2>' requested here}}
74 #pragma omp simd safelen(safelen(tmain<int, char, -1, -2>(argc, argv) // expected-error 2 {{expected ')'}} expected-note 2 {{to match this '('}}
76 // expected-note@+1 {{in instantiation of function template specialization 'tmain<int, char, 12, 4>' requested here}}
77 return tmain<int, char, 12, 4>(argc, argv);
H A Dparallel_reduction_messages.cpp68 T tmain(T argc) { // expected-note 2 {{'argc' defined here}} function
239 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}
H A Dparallel_sections_reduction_messages.cpp68 T tmain(T argc) { // expected-note 2 {{'argc' defined here}} function
357 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}
H A Dsections_reduction_messages.cpp68 T tmain(T argc) { // expected-note 2 {{'argc' defined here}} function
412 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}
H A Dfor_reduction_messages.cpp68 T tmain(T argc) { // expected-note 2 {{'argc' defined here}} function
349 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}
H A Dparallel_for_reduction_messages.cpp68 T tmain(T argc) { // expected-note 2 {{'argc' defined here}} function
294 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}

Completed in 334 milliseconds

12