Home
last modified time | relevance | path

Searched refs:once (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/llvm-project-15.0.7/clang/test/Analysis/
H A Ddispatch-once.m23 dispatch_once_t once;
28 static dispatch_once_t once;
29 dispatch_once(&once, ^{}); // no-warning
40 dispatch_once(once, ^{}); // no-warning
44 dispatch_once_t once; field
59 dispatch_once_t once; field
104 __block dispatch_once_t once;
110 void use_block_var(dispatch_once_t *once);
113 __block dispatch_once_t once;
115 use_block_var(&once);
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/darwin/
H A Ddispatch-once-nonstatic.mm1 // RUN: %check_clang_tidy %s darwin-dispatch-once-nonstatic %t
7 void bad_dispatch_once(dispatch_once_t once, void(^block)(void)) {}
8 …storage duration; function parameters should be pointer references [darwin-dispatch-once-nonstatic]
19 static dispatch_once_t once;
20 dispatch_once(&once, ^{
28 dispatch_once_t once;
29 …patch_once_t variables must have static or global storage duration [darwin-dispatch-once-nonstatic]
30 // CHECK-FIXES: static dispatch_once_t once;
31 dispatch_once(&once, ^{
40 dispatch_once_t once; // Allowed (at this time) field
[all …]
/llvm-project-15.0.7/llvm/test/MC/Hexagon/
H A Dmultiple-pc4.s6 # CHECK: rror: register {{.+}} modified more than once
9 # CHECK: rror: register {{.+}} modified more than once
12 # CHECK-NOT: rror: register {{.+}} modified more than once
17 # CHECK-NOT: rror: register {{.+}} modified more than once
/llvm-project-15.0.7/clang/test/TableGen/
H A Dredefined-group.td7 // CHECK: redefined-group.td:[[@LINE-3]]:1: error: group 'a' is defined more than once
13 // CHECK: redefined-group.td:[[@LINE-2]]:1: error: group 'b' is defined more than once
20 // CHECK: redefined-group.td:[[@LINE-4]]:1: error: group 'c' is implicitly defined more than once
26 // CHECK: redefined-group.td:[[@LINE-2]]:1: error: group 'd' is defined more than once
31 // CHECK: redefined-group.td:[[@LINE-1]]:1: error: group 'e' is defined more than once
40 // CHECK: redefined-group.td:[[@LINE-5]]:1: error: group 'f' is defined more than once
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dsame-file-strip.test1 ## Test llvm-strip using the same input file more than once.
2 ## When using stdin ('-') more than once llvm-strip should give an error
3 ## while a file more than once should be simply a warning.
10 # ERR: error: cannot specify '-' as an input file more than once
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/darwin/
H A Ddispatch-once-nonstatic.rst1 .. title:: clang-tidy - darwin-dispatch-once-nonstatic
3 darwin-dispatch-once-nonstatic
11 data once when the function runs, but programmers have been known to miss the
17 struct or class member initialization only once; however, this violates the
/llvm-project-15.0.7/clang/test/Modules/
H A Dimport-once.m2 …-fmodule-name=ImportOnce -fimplicit-module-maps -fmodules-cache-path=%t -F %S/Inputs/import-once %s
4 // Test #import-ed headers are processed only once, even without header guards.
13 // import-once.m
H A Dvalidate-system-headers.m25 // This should override -fmodules-validate-once-per-build-session
27 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session
33 // Don't recompile due to -fmodules-validate-once-per-build-session
34 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session
38 …der -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session
H A Dmerge-record-definition-nonmodular.m9 // Test a case when a struct definition once is included from a textual header and once from a modu…
/llvm-project-15.0.7/clang/test/Driver/
H A Dmodules.m19 // RUN: %clang -fmodules -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -#…
21 // MODULES_VALIDATE_ONCE: -fmodules-validate-once-per-build-session
23 // RUN: %clang -fmodules -fbuild-session-file=%t.build-session-file -fmodules-validate-once-per-bui…
25 // MODULES_VALIDATE_ONCE_FILE: -fmodules-validate-once-per-build-session
27 // RUN: %clang -fmodules -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-…
28 // MODULES_VALIDATE_ONCE_ERR: option '-fmodules-validate-once-per-build-session' requires '-fbuild-…
78 // RUN: %clang -fno-modules -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -che…
79 // VALIDATE_ONCE_FLAG-NOT: -fmodules-validate-once-per-build-session
/llvm-project-15.0.7/clang/test/Analysis/html_diagnostics/relevant_lines/
H A Dsynthesized_body.cpp16 static std::once_flag once; in call_deref_once() local
18 std::call_once(once, &deref, p); in call_deref_once()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dfix-sgpr-copies.mir65 # GCN-LABEL: name: legalize-operand-search-each-def-once
68 name: legalize-operand-search-each-def-once
90 # GCN-LABEL: name: process-phi-search-each-use-once
93 name: process-phi-search-each-use-once
/llvm-project-15.0.7/llvm/test/Transforms/Inline/AArch64/
H A Dlogical-and-or.ll20 %tobool1 = icmp eq i32 %b, 0 ; Should be dead once 'or' is simplified
35 %tobool1 = icmp eq i32 %b, 0 ; Should be dead once 'and' is simplified
78 %tobool1 = icmp eq i32 %b, 0 ; Should be dead once 'or' is simplified
82 isfalse: ; This block is unreachable once inlined
/llvm-project-15.0.7/llvm/test/Transforms/Coroutines/
H A Dcoro-retcon-unreachable.ll13 ; CHECK-NEXT: [[ID:%.*]] = call token @llvm.coro.id.retcon.once(i32 32, i32 8, i8* [[BUFFER:%.*]…
18 …%id = call token @llvm.coro.id.retcon.once(i32 32, i32 8, i8* %buffer, i8* bitcast (void (i8*, i1)…
36 declare token @llvm.coro.id.retcon.once(i32, i32, i8*, i8*, i8*, i8*) #5
H A Dcoro-retcon-once-private.ll10 …%id = call token @llvm.coro.id.retcon.once(i32 8, i32 8, i8* %buffer, i8* bitcast (void (i8*, i1)*…
37 declare token @llvm.coro.id.retcon.once(i32, i32, i8*, i8*, i8*, i8*)
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dcompress-float.ll1 ; This test is designed to run three times, once with function attributes, once
2 ; with all target attributes added on the command line, and once with compress
/llvm-project-15.0.7/lldb/unittests/Core/
H A DDiagnosticEventTest.cpp151 std::once_flag once; in TEST_F() local
152 Debugger::ReportWarning("foo", debugger_sp->GetID(), &once); in TEST_F()
169 Debugger::ReportWarning("foo", debugger_sp->GetID(), &once); in TEST_F()
/llvm-project-15.0.7/mlir/examples/standalone/python/
H A DCMakeLists.txt43 # TODO: Remove this in favor of showing fine grained registration once
58 # TODO: Remove this in favor of showing fine grained registration once
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Demutls.c124 static pthread_once_t once = PTHREAD_ONCE_INIT; in emutls_init_once() local
125 pthread_once(&once, emutls_init); in emutls_init_once()
208 static INIT_ONCE once; in emutls_init_once() local
209 InitOnceExecuteOnce(&once, emutls_init, NULL, NULL); in emutls_init_once()
/llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/
H A Dmodi.test3 ; -modi is specified more than once: command line error
6 ; TWICE: argument '-modi' specified more than once.
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dblocks-2.m1 // We run this twice, once as Objective-C and once as Objective-C++.
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-extract.rst32 specified multiple times to extract multiple alias at once.
61 specified multiple times to extract multiple functions at once.
72 specified multiple times to extract multiple global variables at once.
/llvm-project-15.0.7/clang/test/Rewriter/
H A Drewrite-modern-ivars-2.mm35 // FIXME: Check layout for this class, once it is clear what the right
47 // FIXME: Check layout for this class, once it is clear what the right
/llvm-project-15.0.7/lld/test/MachO/
H A Dweak-definition-gc.s5 ## write it to the output once (...assuming both input files use
11 ## Test that weak symbols are emitted just once with .subsections_via_symbols
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/
H A Dinstall-name-tool-id.test5 ## Specifying -id once:
11 ## Specifying -id more than once:

12345678910>>...23