Home
last modified time | relevance | path

Searched refs:directive (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dassumes_messages_attr.c7 [[omp::directive(end assumes)]];
11 [[omp::directive(end assumes)]];
15 [[omp::directive(end assumes)]];
23 [[omp::directive(end assumes)]];
27 [[omp::directive(end assumes)]];
31 [[omp::directive(end assumes)]];
35 [[omp::directive(end assumes)]];
39 [[omp::directive(end assumes)]];
43 [[omp::directive(end assumes)]];
47 [[omp::directive(end assumes)]];
[all …]
H A Dtarget_map_names_attr.cpp53 [[omp::directive(target map(d))]] in foo()
55 [[omp::directive(target map(i))]] in foo()
59 [[omp::directive(target map(p))]] in foo()
63 [[omp::directive(target map(s))]] in foo()
65 [[omp::directive(target map(s.i))]] in foo()
67 [[omp::directive(target map(s.s.f))]] in foo()
69 [[omp::directive(target map(s.p))]] in foo()
73 [[omp::directive(target map(s.ps))]] in foo()
83 [[omp::directive(target map(ps))]] in foo()
125 [[omp::directive(target)]] in bar()
[all …]
H A Dteams_distribute_parallel_for_simd_num_teams_messages_attr.cpp17 [[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(C)))]] in tmain()
19 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(T)))]] /… in tmain()
21 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams))]] // e… in tmain()
23 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams()))]] //… in tmain()
27 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(argc + k… in tmain()
31 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(S1)))]] … in tmain()
35 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams(-10u)))]] in tmain()
45 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams))]] // e… in main()
48 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams ()))]] /… in main()
54 …[[omp::sequence(directive(target), directive(teams distribute parallel for simd num_teams (argc + … in main()
[all …]
H A Dtaskloop_reduction_messages_attr.cpp32 [[omp::directive(taskloop reduction(+:ref))]] in foobar()
118 [[omp::directive(taskloop reduction)]] // expected-error {{expected '(' after 'reduction'}} in tmain()
175 …[[omp::sequence(directive(parallel private(k)), directive(taskloop reduction(+ : p), reduction(+ :… in tmain()
184 …[[omp::sequence(directive(parallel shared(i)), directive(parallel reduction(min : i)), directive(t… in tmain()
190 [[omp::sequence(directive(parallel reduction(* : fl)), directive(taskloop reduction(+ : fl)))]] in tmain()
217 [[omp::directive(taskloop reduction)]] // expected-error {{expected '(' after 'reduction'}} in main()
235 [[omp::directive(taskloop reduction(&& : argc, z))]] in main()
289 …[[omp::sequence(directive(parallel shared(i)), directive(parallel reduction(min : i)), directive(t… in main()
292 [[omp::sequence(directive(parallel private(fl)), directive(taskloop reduction(+ : fl)))]] in main()
295 [[omp::sequence(directive(parallel reduction(* : fl)), directive(taskloop reduction(+ : fl)))]] in main()
[all …]
H A Dmasked_messages_attr.cpp6 [[omp::directive(masked)]] in xxx()
12 [[omp::directive(masked filter(1))]] in yyy()
19 [[omp::directive(masked)]] in main()
30 [[omp::directive(masked)]] in main()
33 [[omp::directive(masked filter(2))]] in main()
35 [[omp::directive(for)]] in main()
41 [[omp::directive(sections)]] in main()
47 [[omp::directive(single)]] in main()
53 [[omp::directive(masked)]] in main()
56 [[omp::directive(masked)]] in main()
[all …]
H A Dopenmp_attribute_parsing.cpp13 [[omp::directive]]; // expected-warning {{unknown attribute 'directive' ignored}}
17 [[omp::directive()]]; // expected-error {{expected an OpenMP directive}}
22 [[omp::sequence(directive)]]; // expected-error {{expected '('}}
24 [[omp::sequence(omp::directive)]]; // expected-error {{expected '('}}
30 [[omp::sequence(directive(), sequence())]]; // expected-error {{expected an OpenMP directive}} expe…
38 directive(
45 [[using omp: directive()]]; // expected-error {{expected an OpenMP directive}}
47 [[using omp: sequence(omp::directive())]]; // expected-error {{expected an OpenMP directive}}
48 [[using omp: sequence(directive())]]; // expected-error {{expected an OpenMP directive}}
71 [[deprecated, omp::directive(threadprivate(x))]] int y; // FIXME-expected-note {{'y' has been expli…
[all …]
H A Dcritical_codegen_attr.cpp39 [[omp::directive(critical)]] in main()
48 [[omp::directive(critical(the_name))]] in main()
57 [[omp::directive(critical(the_name1) hint(23))]] in main()
67 [[omp::directive(critical(the_name))]] in main()
81 [[omp::directive(critical)]] in lambda_critical()
91 [[omp::sequence(directive(parallel), directive(critical))]] in lambda_critical()
111 [[omp::directive(critical)]] in critical_ref()
121 [[omp::sequence(directive(parallel), directive(critical))]] in parallel_critical()
H A Dallocate_codegen_attr.cpp40 [[omp::directive(allocate(b) allocator(omp_default_mem_alloc))]];
44 [[ omp::directive(allocate(a) allocator(omp_large_cap_mem_alloc)),
45 directive(allocate(b) allocator(omp_const_mem_alloc)),
46 directive(allocate(d, c) allocator(omp_high_bw_mem_alloc)) ]];
51 [[omp::directive(allocate(m) allocator(omp_low_lat_mem_alloc))]];
56 [[omp::directive(allocate(v) allocator(omp_cgroup_mem_alloc))]]; in foo()
64 [[omp::directive(allocate(ns::a) allocator(omp_pteam_mem_alloc))]];
70 [[omp::directive(allocate(a) allocator(omp_thread_mem_alloc))]]; in main()
73 [[omp::directive(allocate(b))]]; in main()
117 [[omp::directive(allocate(a, z) allocator(omp_default_mem_alloc))]]; in bar()
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmodule-directive-bad.s6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
46 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
54 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
62 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-module.m13 // CHECK-NEXT: Identifier: "include" [2:2 - 2:9] inclusion directive=[[INC_DIR]]
14 // CHECK-NEXT: Punctuation: "<" [2:10 - 2:11] inclusion directive=[[INC_DIR]]
16 // CHECK-NEXT: Punctuation: "/" [2:26 - 2:27] inclusion directive=[[INC_DIR]]
18 // CHECK-NEXT: Punctuation: "." [2:42 - 2:43] inclusion directive=[[INC_DIR]]
19 // CHECK-NEXT: Identifier: "h" [2:43 - 2:44] inclusion directive=[[INC_DIR]]
20 // CHECK-NEXT: Punctuation: ">" [2:44 - 2:45] inclusion directive=[[INC_DIR]]
34 // CHECK-MOD-NEXT: Punctuation: "<" [1:10 - 1:11] inclusion directive=[[INC_DIR]]
36 // CHECK-MOD-NEXT: Punctuation: "/" [1:17 - 1:18] inclusion directive=[[INC_DIR]]
38 // CHECK-MOD-NEXT: Punctuation: "." [1:22 - 1:23] inclusion directive=[[INC_DIR]]
39 // CHECK-MOD-NEXT: Identifier: "h" [1:23 - 1:24] inclusion directive=[[INC_DIR]]
[all …]
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dcv-def-range-errors.s4 # CHECK: error: expected comma before def_range type in .cv_def_range directive
5 # CHECK: error: expected def_range type in directive
8 # CHECK: error: expected def_range type in directive
19 # CHECK: error: expected comma before offset in .cv_def_range directive
31 # CHECK: error: expected def_range type in directive
34 # CHECK: error: expected def_range type in directive
49 # CHECK: error: expected def_range type in directive
52 # CHECK: error: expected def_range type in directive
55 # CHECK: error: expected comma before offset in .cv_def_range directive
68 # CHECK: error: expected def_range type in directive
[all …]
H A Dcv-errors.s6 # CHECK: error: expected file number in '.cv_file' directive
12 # CHECK: error: expected function id in '.cv_func_id' directive
15 # CHECK: error: expected function id in '.cv_func_id' directive
21 # CHECK: error: expected function id in '.cv_inline_site_id' directive
28 # CHECK: error: expected 'within' identifier in '.cv_inline_site_id' directive
32 # CHECK: error: expected function id in '.cv_inline_site_id' directive
36 # CHECK: error: expected 'inlined_at' identifier in '.cv_inline_site_id' directive
40 # CHECK: error: file number less than one in '.cv_inline_site_id' directive
44 # CHECK: error: unassigned file number in '.cv_inline_site_id' directive
/llvm-project-15.0.7/llvm/test/MC/MachO/ARM/
H A Dbad-darwin-directives.s10 @ CHECK-ERROR: error: unknown directive
13 @ CHECK-ERROR: error: unknown directive
16 @ CHECK-ERROR: error: unknown directive
19 @ CHECK-ERROR: error: unknown directive
22 @ CHECK-ERROR: error: unknown directive
25 @ CHECK-ERROR: error: unknown directive
28 @ CHECK-ERROR: error: unknown directive
/llvm-project-15.0.7/llvm/test/FileCheck/
H A Dmissspelled-directive.txt10 CHECK1: error: misspelled directive 'P1_LABEL:'
13 CHECK2: error: misspelled directive 'P2_NEXT:'
16 CHECK3: error: misspelled directive 'P3_NOT:'
19 CHECK4: error: misspelled directive 'P4_COUNT-2:'
22 CHECK5: error: misspelled directive 'P5_SAME:'
25 CHECK6: error: misspelled directive 'P6_EMPTY:'
28 CHECK7: error: misspelled directive 'P7_DAG:'
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/openmp/
H A Duse-default-none.rst21 // ``for`` directive cannot have ``default`` clause, no diagnostics.
28 // ``parallel`` directive.
30 // ``parallel`` directive can have ``default`` clause, but said clause is not
35 // WARNING: OpenMP directive ``parallel`` does not specify ``default``
39 // ``parallel`` directive can have ``default`` clause, and said clause is
46 // ``parallel`` directive can have ``default`` clause, and said clause is
51 // WARNING: OpenMP directive ``parallel`` specifies ``default(shared)``
55 // ``parallel`` directive can have ``default`` clause, and said clause is
60 // WARNING: OpenMP directive ``parallel`` specifies ``default(firstprivate)``
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-format-spec.td23 // CHECK: error: 'attr-dict' directive not found
26 // CHECK: error: 'attr-dict' directive has already been seen
30 // CHECK: error: 'attr-dict' directive has already been seen
34 // CHECK: error: 'attr-dict' directive can only be used as a top-level directive
49 // CHECK: error: expected '<' before custom directive name
53 // CHECK: error: expected custom directive name identifier
57 // CHECK: error: expected '>' after custom directive name
61 // CHECK: error: expected '(' before custom directive parameters
69 // CHECK: error: expected ')' after custom directive parameters
124 // CHECK: error: 'operands' directive creates overlap in format
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/
H A Dpp-trace.rst278 Ident is called when a #ident or #sccs directive is read.
298 PragmaDirective is called when start reading any pragma directive.
318 PragmaComment is called when a #pragma comment directive is read.
327 …r (message directive) const std::string …
340 PragmaDetectMismatch is called when a #pragma detect_mismatch directive is read.
362 PragmaDebug is called when a #pragma clang __debug directive is read.
382 PragmaMessage is called when a #pragma message directive is read.
446 PragmaDiagnostic is called when a #pragma gcc diagnostic directive is read.
494 PragmaWarning is called when a #pragma warning directive is read.
516 PragmaWarningPush is called when a #pragma warning(push) directive is read.
[all …]
/llvm-project-15.0.7/llvm/test/MC/AsmParser/
H A Dhash-directive.s3 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
9 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
12 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
15 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
23 # CHECK: hash-directive.s:[[@LINE-1]]:1: error
H A Dseh-directive-errors.s5 # CHECK: error: .seh_ directive must appear within an active frame
9 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
12 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
47 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
109 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: incorrect register number for use with this directive
112 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: register is not supported for use with this directive
115 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: register is not supported for use with this directive
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Deh-directive-vsave-diagnostics.s4 @ Check the diagnostics for .vsave directive
6 @ .vsave directive should always come after .fnstart directive
7 @ and before .handlerdata directive.
38 @ CHECK: error: .save or .vsave must precede .handlerdata directive
H A Deh-directive-save-diagnostics.s4 @ Check the diagnostics for .save directive
6 @ .save directive should always come after .fnstart directive and
7 @ before .handlerdata directive.
38 @ CHECK: error: .save or .vsave must precede .handlerdata directive
H A Ddirective-arch-mode-switch.s8 @ In ARM mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in AR…
15 @ In ARM mode, switch to an arch which has Thumb only, expect warning and .code 16 directive
21 @ In Thumb mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in …
28 @ In Thumb mode, switch to a CPU which has ARM and Thumb, no warning or .code directive (stay in Th…
39 @ In ARM mode, switch to a CPU which has ARM and Thumb, no warning or .code directive (stay in ARM …
46 @ In ARM mode, switch to a CPU which has Thumb only, expect warning and .code 16 directive
/llvm-project-15.0.7/llvm/test/TableGen/
H A Ddirective3.td1 // RUN: not llvm-tblgen -gen-directive-decl -I %p/../../include %s 2>&1 | FileCheck -match-full-lin…
2 // RUN: not llvm-tblgen -gen-directive-impl -I %p/../../include %s 2>&1 | FileCheck -match-full-lin…
40 // CHECK: error: Clause TDLC_ClauseA already defined on directive TDL_DirA
41 // CHECK: error: Clause TDLC_ClauseD already defined on directive TDL_DirA
42 // CHECK: error: One or more clauses are defined multiple times on directive TDL_DirA
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dformat-cstrings-warning.m1 // RUN: %clang_cc1 -Wcstring-format-directive -verify -fsyntax-only %s
33 …ength %c name %s", 1, 'a', "something"]; // expected-warning {{using %s directive in NSString whic…
34 …tringWithFormat : @"Hello%s", " There"]; // expected-warning {{using %s directive in NSString whic…
35 …[pns initWithFormat : @"Hello%s %d %d", "Hello", 1, 2]; // expected-warning {{using %s directive i…
36 …%s %d %d" locale:0 arguments: argList]; // expected-warning {{using %s directive in NSString whic…
37 …tringWithFormat : @"Hello%s", " There"]; // expected-warning {{using %s directive in NSString whic…
63 …lloc, 0, (CFStringRef)@"%s\n", argList); // expected-warning {{using %s directive in CFString whic…
64 …ringRef)"Hello %s there %d\n", argList); // expected-warning {{using %s directive in CFString whic…
74 …MyNSLog(@"%s\n", "Hello"); // expected-warning {{using %s directive in CFString which is being pas…
76 …MyCFStringCreateWithFormat((CFStringRef)@"%s", "Hello"); // expected-warning {{using %s directive
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Frontend/Directive/
H A DDirectiveBase.td1 //===-- DirectiveBase.td - Base directive definition file --*- tablegen -*-===//
14 // General information about the directive language.
16 // Name of the directive language such as omp or acc.
19 // The C++ namespace that code of this directive language should be placed
22 // By default, uses the name of the directive language as the only namespace.
130 // Information about a specific directive.
132 // Name of the directive. Can be composite directive sepearted by whitespace.
143 // List of allowed clauses for the directive.
155 // Set directive used by default when unknown.

12345678910>>...14