Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 25 of 134) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dscan_messages.cpp10 #pragma omp scan // expected-error {{exactly one of 'inclusive' or 'exclusive' clauses is expected}} in tmain()
17 #pragma omp scan unknown // expected-warning {{extra tokens at the end of '#pragma omp scan' are ig… in tmain()
76 #pragma omp scan exclusive(argc) in tmain()
80 #pragma omp scan inclusive(argc) // expected-note {{previous 'scan' directive used here}} in tmain()
81 #pragma omp scan inclusive(argc) // expected-error {{exactly one 'scan' directive must appear in th… in tmain()
93 #pragma omp scan inclusive(argc) inclusive(argc) // expected-error {{exactly one of 'inclusive' or … in main()
98 #pragma omp scan exclusive(argc) inclusive(argc) // expected-error {{exactly one of 'inclusive' or … in main()
103 #pragma omp scan exclusive(argc) exclusive(argc) // expected-error {{exactly one of 'inclusive' or … in main()
168 #pragma omp scan inclusive(argc) in main()
172 #pragma omp scan inclusive(argc) // expected-note {{previous 'scan' directive used here}} in main()
[all …]
H A Dfor_scan_codegen.cpp62 #pragma omp scan inclusive(a[:n], b) in baz()
211 #pragma omp scan exclusive(a[:n], b) in baz()
/llvm-project-15.0.7/clang/tools/scan-build/
H A DCMakeLists.txt1 option(CLANG_INSTALL_SCANBUILD "Install the scan-build tool" ON)
7 scan-build
8 scan-build.bat
18 scan-build
32 scan-build.1)
51 COMPONENT scan-build)
65 COMPONENT scan-build)
79 COMPONENT scan-build)
91 install(FILES share/scan-build/${ShareFile}
93 COMPONENT scan-build)
[all …]
/llvm-project-15.0.7/clang/tools/scan-view/
H A DCMakeLists.txt1 option(CLANG_INSTALL_SCANVIEW "Install the scan-view tool" ON)
4 scan-view)
24 COMPONENT scan-view)
30 ${CMAKE_BINARY_DIR}/share/scan-view
37 DESTINATION "${CMAKE_INSTALL_DATADIR}/scan-view"
38 COMPONENT scan-view)
41 add_custom_target(scan-view ALL DEPENDS ${Depends})
42 set_target_properties(scan-view PROPERTIES FOLDER "Misc")
45 add_llvm_install_targets("install-scan-view"
46 DEPENDS scan-view
[all …]
/llvm-project-15.0.7/clang/tools/scan-build-py/
H A DCMakeLists.txt4 "scan-build")
36 # Need to rename scan-build to scan-build-py to prevent overwriting
37 # scan-build Perl implementation.
45 install (PROGRAMS "bin/scan-build"
47 RENAME scan-build-py
48 COMPONENT scan-build-py)
60 COMPONENT scan-build-py)
76 COMPONENT scan-build-py)
92 COMPONENT scan-build-py)
110 COMPONENT scan-build-py)
[all …]
H A DREADME.md1 scan-build
7 the build, as well as scan-build tool, which logs the build and runs
30 $ scan-build <your build command>
74 does the same job as `scan-build` does. So, you can expect the same output
75 from this line as simple `scan-build` would do:
79 The major difference is how and when the analyzer is run. The `scan-build`
145 [2]: https://pypi.python.org/pypi/scan-build
/llvm-project-15.0.7/clang/test/Index/
H A DTestClassDecl.m2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
18 // CHECK-scan: [1:1 - 8:1] Invalid Cursor => NoDeclFound
19 // CHECK-scan: [8:1 - 8:8] ObjCInterfaceDecl=Foo:8:8
20 // CHECK-scan: [8:8 - 8:11] ObjCClassRef=Foo:10:12
21 // CHECK-scan: [8:11 - 10:1] Invalid Cursor => NoDeclFound
22 // CHECK-scan: [10:1 - 11:5] ObjCInterfaceDecl=Foo:10:12
23 // CHECK-scan: [11:5 - 13:1] Invalid Cursor => NoDeclFound
24 // CHECK-scan: [13:1 - 13:15] FunctionDecl=function:13:6 (Definition)
25 // CHECK-scan: [13:15 - 13:18] ObjCClassRef=Foo:10:12
26 // CHECK-scan: [13:18 - 13:24] ParmDecl=arg:13:21 (Definition)
[all …]
H A DTestClassForwardDecl.m2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
15 // CHECK-scan: [1:1 - 8:1] Invalid Cursor => NoDeclFound
16 // CHECK-scan: [8:1 - 8:8] ObjCInterfaceDecl=Foo:8:8
17 // CHECK-scan: [8:8 - 8:11] ObjCClassRef=Foo:8:8
18 // CHECK-scan: [8:11 - 10:1] Invalid Cursor => NoDeclFound
19 // CHECK-scan: [10:1 - 10:15] FunctionDecl=function:10:6 (Definition)
20 // CHECK-scan: [10:15 - 10:18] ObjCClassRef=Foo:8:8
21 // CHECK-scan: [10:18 - 10:24] ParmDecl=arg:10:21 (Definition)
22 // CHECK-scan: [10:24 - 11:1] FunctionDecl=function:10:6 (Definition)
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_settings.cpp1194 if (*scan >= '0' && *scan <= '9') { in __kmp_parse_nested_num_threads()
1383 scan = next; in __kmp_stg_parse_target_offload()
2706 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2733 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2774 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2819 } else if ((**scan >= '0') && (**scan <= '9')) { in __kmp_parse_place()
2861 if ((*scan < '0') || (*scan > '9')) { in __kmp_parse_place_list()
2902 if ((*scan < '0') || (*scan > '9')) { in __kmp_parse_place_list()
3030 next = scan; in __kmp_stg_parse_places()
3332 for (scan = buf; *scan != '\0'; scan++) { in __kmp_stg_parse_proc_bind()
[all …]
H A Dkmp_affinity.cpp1344 KMP_SNPRINTF(scan, end - scan + 1, "{<empty>}"); in __kmp_affinity_print_mask()
1364 KMP_SNPRINTF(scan, end - scan + 1, "%s", ","); in __kmp_affinity_print_mask()
1374 KMP_SNPRINTF(scan, end - scan + 1, "%u", start); in __kmp_affinity_print_mask()
1377 KMP_SNPRINTF(scan, end - scan + 1, ",%u", previous); in __kmp_affinity_print_mask()
3487 next = scan; in __kmp_affinity_process_proclist()
3694 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
3722 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
3769 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
3808 } else if ((**scan >= '0') && (**scan <= '9')) { in __kmp_process_place()
3856 if (*scan == '\0' || *scan == ',') { in __kmp_affinity_process_placelist()
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/tools/scan-build/
H A DBUILD.gn1 group("scan-build") {
11 sources = [ "bin/scan-build" ]
15 sources += [ "bin/scan-build.bat" ]
35 sources = [ "man/scan-build.1" ]
41 "share/scan-build/scanview.css",
42 "share/scan-build/sorttable.js",
44 outputs = [ "$root_build_dir/share/scan-build/{{source_file_part}}" ]
/llvm-project-15.0.7/clang/test/Analysis/scan-build/
H A Dplist_html_output.test5 RUN: %scan-build -plist-html -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \
10 CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis
11 CHECK-STDOUT: scan-build: Analysis run complete.
12 CHECK-STDOUT: scan-build: Analysis results (plist files) deposited in '{{.*}}'
13 CHECK-STDOUT: scan-build: 1 bug found.
14 CHECK-STDOUT: scan-build: Run 'scan-view {{.*}}' to examine bug reports.
H A Dsilence-core-checkers.test5 RUN: %scan-build -o %t.output_dir \
10 RUN: %scan-build -o %t.output_dir \
16 RUN: %scan-build -o %t.output_dir \
22 RUN: %scan-build -o %t.output_dir \
28 CHECK-NO-BUGS: scan-build: No bugs found.
29 CHECK-ONE-BUG: scan-build: 1 bug found.
30 CHECK-TWO-BUGS: scan-build: 2 bugs found.
H A Ddeduplication.test5 RUN: %scan-build -o %t.output_dir \
13 RUN: %scan-build -o %t.output_dir \
22 RUN: %scan-build -o %t.output_dir \
32 CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis
33 CHECK-STDOUT: scan-build: 1 bug found.
34 CHECK-STDOUT: scan-build: Run 'scan-view {{.*}}' to examine bug reports.
H A Dhelp.test4 RUN: %scan-build -h | FileCheck %s
5 RUN: %scan-build --help | FileCheck %s
7 Test for help output from scan-build.
10 CHECK: USAGE: scan-build [options] <build command> [build options]
H A Dexclude_directories.test5 RUN: %scan-build -o %t.output_dir %clang -S \
16 CHECK-NO-EXCLUDE: scan-build: 2 bugs found.
21 RUN: %scan-build -o %t.output_dir --exclude directory1 %clang -S \
26 CHECK-EXCLUDE1: scan-build: 1 bug found.
31 RUN: %scan-build -o %t.output_dir --exclude directory1 --exclude directory2 %clang -S \
36 CHECK-EXCLUDE-BOTH: scan-build: 0 bugs found.
H A Dhtml_output.test5 RUN: %scan-build -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \
10 CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis
11 CHECK-STDOUT: scan-build: 1 bug found.
12 CHECK-STDOUT: scan-build: Run 'scan-view {{.*}}' to examine bug reports.
H A Dplist_output.test5 RUN: %scan-build -plist -o %t.output_dir %clang -S %S/Inputs/single_null_dereference.c \
10 CHECK-STDOUT: scan-build: Using '{{.*}}' for static analysis
11 CHECK-STDOUT: scan-build: Analysis run complete.
12 CHECK-STDOUT: scan-build: Analysis results (plist files) deposited in '{{.*}}'
H A Dlit.local.cfg10 config.substitutions.append(('%scan-build',
12 lit.util.which('scan-build',
16 'scan-build',
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Vector/CPU/
H A Dtest-scan.mlir1 // RUN: mlir-opt %s -test-vector-scan-lowering -convert-scf-to-cf -convert-vector-to-llvm -convert-…
27 %a:2 = vector.scan <add>, %x, %y {inclusive = true, reduction_dim = 0} :
29 %b:2 = vector.scan <add>, %x, %z {inclusive = true, reduction_dim = 1} :
31 %c:2 = vector.scan <add>, %x, %y {inclusive = false, reduction_dim = 0} :
33 %d:2 = vector.scan <add>, %x, %z {inclusive = false, reduction_dim = 1} :
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp561 if (!scan(*I)) in scan()
582 bool ScanReachableSymbols::scan(SVal val) { in scan() function in ScanReachableSymbols
584 return scan(X->getRegion()); in scan()
588 return scan(*X); in scan()
591 return scan(X->getLoc()); in scan()
594 return scan(Sym); in scan()
597 return scan(*X); in scan()
621 if (!scan(Super)) in scan()
637 if (!scan(I.getCapturedRegion())) in scan()
647 return S.scan(val); in scanReachableSymbols()
[all …]
/llvm-project-15.0.7/clang/tools/
H A DCMakeLists.txt16 add_clang_subdirectory(clang-scan-deps)
37 add_clang_subdirectory(scan-build)
38 add_clang_subdirectory(scan-build-py)
39 add_clang_subdirectory(scan-view)
/llvm-project-15.0.7/clang/docs/analyzer/user-docs/
H A DCrossTranslationUnit.rst126 `CodeChecker` or `scan-build-py`.
185 Automated CTU Analysis with scan-build-py (don't do it)
188 `scan-build-py` has various errors and issues, expect it to work only with the very basic projects …
190 Example usage of scan-build-py:
194 $ /your/path/to/llvm-project/clang/tools/scan-build-py/bin/analyze-build --ctu
195 …analyze-build: Run 'scan-view /tmp/scan-build-2019-07-17-17-53-33-810365-7fqgWk' to examine bug re…
196 …$ /your/path/to/llvm-project/clang/tools/scan-view/bin/scan-view /tmp/scan-build-2019-07-17-17-53-…
197 Starting scan-view at: http://127.0.0.1:8181
312 `CodeChecker` or `scan-build-py`.
371 Automated CTU Analysis with scan-build-py (don't do it)
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dreference-in-block-args.cpp20 void scan() { in scan() function
28 scan(); in main()
/llvm-project-15.0.7/clang/tools/clang-scan-deps/
H A DCMakeLists.txt6 add_clang_tool(clang-scan-deps
24 clang_target_link_libraries(clang-scan-deps

123456