Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/llvm-project-15.0.7/openmp/runtime/test/ompt/cancel/
H A Dcancel_taskgroup.c13 int condition=0; in main() local
24 #pragma omp task shared(condition) in main()
27 OMPT_SIGNAL(condition); in main()
28 OMPT_WAIT(condition,2); in main()
35 OMPT_SIGNAL(condition); in main()
36 OMPT_WAIT(condition,2); in main()
40 #pragma omp task shared(condition) in main()
43 OMPT_SIGNAL(condition); in main()
44 OMPT_WAIT(condition,2); in main()
51 OMPT_WAIT(condition,1); in main()
[all …]
H A Dcancel_worksharing.c11 int condition=0; in main() local
22 OMPT_SIGNAL(condition); in main()
28 OMPT_WAIT(condition,1); in main()
40 OMPT_SIGNAL(condition); in main()
45 OMPT_WAIT(condition,2); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcfref_rdar6080742.c34 void DebugTraceIf(unsigned int condition, const char *format,...);
37 #define Assert(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]… argument
38 #define AssertMsg(condition, message)if (!(condition)) { DebugStop("Assertion failure: %s (%s) [Fil… argument
39 #define Require(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu… argument
40 #define RequireAction(condition, action)if (!(condition)) { DebugStop("Assertion failure: %s [File:… argument
41 #define RequireActionSilent(condition, action)if (!(condition)) { action } argument
H A Dgtest.cpp124 #define EXPECT_TRUE(condition) \ argument
125 GTEST_TEST_BOOLEAN_((condition), #condition, false, true, \
127 #define ASSERT_TRUE(condition) \ argument
128 GTEST_TEST_BOOLEAN_((condition), #condition, false, true, \
131 #define ASSERT_FALSE(condition) \ argument
132 GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dspuriously-wake-up-functions.cpp122 condition.wait(lk); in consume_list_element()
127 condition.wait(lk); in consume_list_element()
131 condition.wait(lk); in consume_list_element()
135 condition.wait(lk); in consume_list_element()
140 condition.wait(lk); in consume_list_element()
146 condition.wait(lk); in consume_list_element()
152 condition.wait(lk); in consume_list_element()
158 condition.wait_for(lk, dur); in consume_list_element()
165 condition.wait_for(lk, dur); in consume_list_element()
168 condition.wait_for(lk, dur); in consume_list_element()
[all …]
H A Dassert-side-effect.m18 #define NSAssert(condition, description, ...) \
20 if (__builtin_expect(!(condition), 0)) { \
26 #define NSCAssert(condition, description, ...) \
28 if (__builtin_expect(!(condition), 0)) { \
33 #define NSAssert(condition, description, ...) do {} while (0)
34 #define NSCAssert(condition, description, ...) do {} while (0)
45 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: side effect in NSAssert() condition discarded in relea…
52 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: side effect in NSCAssert() condition discarded in rele…
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dthumb-invalid-crypto.txt5 @ CHECK: error: instruction 'aesd' is not predicable, but condition code specified
7 @ CHECK: error: instruction 'aesimc' is not predicable, but condition code specified
9 @ CHECK: error: instruction 'aesmc' is not predicable, but condition code specified
11 @ CHECK: error: instruction 'aese' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'sha1h' is not predicable, but condition code specified
17 @ CHECK: error: instruction 'sha1su1' is not predicable, but condition code specified
23 @ CHECK: error: instruction 'sha1c' is not predicable, but condition code specified
25 @ CHECK: error: instruction 'sha1m' is not predicable, but condition code specified
27 @ CHECK: error: instruction 'sha1p' is not predicable, but condition code specified
40 @ CHECK: error: instruction 'vmull' is not predicable, but condition code specified
[all …]
H A Dinvalid-crc32.s11 @ CHECK: error: instruction 'crc32cb' is not predicable, but condition code specified
12 @ CHECK: error: instruction 'crc32b' is not predicable, but condition code specified
13 @ CHECK: error: instruction 'crc32ch' is not predicable, but condition code specified
14 @ CHECK: error: instruction 'crc32h' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'crc32cw' is not predicable, but condition code specified
16 @ CHECK: error: instruction 'crc32w' is not predicable, but condition code specified
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dwidenable-conditions.ll14 %wc = call i1 @llvm.experimental.widenable.condition()
27 %wc = call i1 @llvm.experimental.widenable.condition()
42 %wc = call i1 @llvm.experimental.widenable.condition()
57 %wc = call i1 @llvm.experimental.widenable.condition()
77 %wc = call i1 @llvm.experimental.widenable.condition()
96 %wc = call i1 @llvm.experimental.widenable.condition()
110 %wc = call i1 @llvm.experimental.widenable.condition()
123 %wc = call i1 @llvm.experimental.widenable.condition()
139 %wc = call i1 @llvm.experimental.widenable.condition()
154 %wc = call i1 @llvm.experimental.widenable.condition()
[all …]
/llvm-project-15.0.7/libunwind/cmake/Modules/
H A DHandleLibunwindFlags.cmake57 if (${condition})
73 if (${condition})
80 if (NOT ${condition})
89 if (${condition})
122 if (${condition})
150 if (${condition})
175 if (${condition})
200 if (${condition})
225 if (${condition})
250 if (${condition})
[all …]
/llvm-project-15.0.7/libcxxabi/cmake/Modules/
H A DHandleLibcxxabiFlags.cmake56 if (${condition})
71 macro(define_if condition def)
72 if (${condition})
79 if (NOT ${condition})
88 if (${condition})
95 if (NOT ${condition})
121 if (${condition})
149 if (${condition})
174 if (${condition})
209 if (${condition})
[all …]
/llvm-project-15.0.7/libcxx/cmake/Modules/
H A DHandleLibcxxFlags.cmake57 if (${condition})
72 macro(define_if condition def)
73 if (${condition})
80 if (NOT ${condition})
89 if (${condition})
95 if (NOT ${condition})
119 if (${condition})
147 if (${condition})
172 if (${condition})
197 if (${condition})
[all …]
/llvm-project-15.0.7/openmp/runtime/test/ompt/tasks/
H A Dtaskyield.c12 int condition=0, x=0; in main() local
17 #pragma omp task shared(condition) in main()
19 OMPT_SIGNAL(condition); in main()
20 OMPT_WAIT(condition,2); in main()
22 OMPT_WAIT(condition,1); in main()
30 OMPT_SIGNAL(condition); in main()
H A Dtask_in_joinbarrier.c9 int condition=0; in main() local
21 #pragma omp task shared(condition) in main()
23 OMPT_SIGNAL(condition); in main()
29 OMPT_WAIT(condition,1); in main()
H A Dexplicit_task.c10 int condition=0; in main() local
22 #pragma omp task shared(condition) in main()
24 OMPT_SIGNAL(condition); in main()
31 OMPT_WAIT(condition,1); in main()
H A Ddependences.c12 int condition=0; in main() local
20 #pragma omp task depend(out : x) shared(condition) in main()
23 OMPT_WAIT(condition,1); in main()
31 OMPT_SIGNAL(condition); in main()
H A Duntied_task.c9 int condition=0; in main() local
21 #pragma omp task untied shared(condition) in main()
23 OMPT_SIGNAL(condition); in main()
38 OMPT_WAIT(condition,1); in main()
/llvm-project-15.0.7/llvm/test/Transforms/GuardWidening/
H A Dmixed_guards.ll5 ; Interaction between intrinsic and widenable condition guards.
12 declare i1 @llvm.experimental.widenable.condition() #0
14 ; Widen condition of intrinsic guard with a condition from widenable branch.
20 ; CHECK-NEXT: [[WIDENABLE_COND3:%.*]] = call i1 @llvm.experimental.widenable.condition()
31 %widenable_cond3 = call i1 @llvm.experimental.widenable.condition()
43 ; Widen condition of widenable condition guard with a condition from intrinsic.
47 ; CHECK-NEXT: [[WIDENABLE_COND:%.*]] = call i1 @llvm.experimental.widenable.condition()
58 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
H A Dbasic_widenable_condition_guards.ll28 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
37 %widenable_cond3 = call i1 @llvm.experimental.widenable.condition()
77 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
95 %widenable_cond3 = call i1 @llvm.experimental.widenable.condition()
139 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
158 %widenable_cond3 = call i1 @llvm.experimental.widenable.condition()
199 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
212 %widenable_cond3 = call i1 @llvm.experimental.widenable.condition()
258 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
316 %widenable_cond = call i1 @llvm.experimental.widenable.condition()
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dinfer-prestart-no-wrap.ll19 %condition = icmp eq i32 %counter, 1
21 br i1 %condition, label %exit, label %loop
43 %condition = icmp eq i32 %counter, 1
45 br i1 %condition, label %exit, label %loop
64 %condition = load i1, i1* %c
65 br i1 %condition, label %exit, label %loop
75 %entry.condition = icmp slt i8 %start, 127
84 %condition = load volatile i1, i1* %c
85 br i1 %condition, label %exit, label %loop
95 %entry.condition = icmp ult i8 %start, 255
[all …]
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/
H A DDefaultController.py47 condition = EarlyExitCondition(on_line=fc.on_line,
51 early_exit_conditions.append(condition)
55 for condition in early_exit_conditions:
56 if condition.on_line == line_no:
57 exit_condition_hit = condition.expression is None
58 if condition.expression is not None:
62 for value in condition.values:
68 if condition.hit_count <= 0:
71 condition.hit_count -= 1
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dredundant-branch-condition.rst1 .. title:: clang-tidy - bugprone-redundant-branch-condition
3 bugprone-redundant-branch-condition
6 Finds condition variables in nested ``if`` statements that were also checked in
23 The checker also detects redundant condition checks if the condition variable
43 condition variable and keep the other side of the ``&&``. In the second case
47 The condition of the outer ``if`` statement may also be a logical "and" (``&&``)
65 No error is detected if the condition variable may have been changed between the
77 Every possible change is considered, thus if the condition variable is not
84 The ``else`` branch is not checked currently for negated condition variable:
97 The checker currently only detects redundant checking of single condition
/llvm-project-15.0.7/openmp/runtime/test/ompt/misc/
H A Dinteroperability.cpp15 int condition = 0; variable
26 OMPT_SIGNAL(condition); in f()
29 OMPT_WAIT(condition, 2); in f()
34 OMPT_SIGNAL(condition); in f()
35 OMPT_WAIT(condition, 6); in f()
/llvm-project-15.0.7/mlir/test/Dialect/SCF/
H A Done-shot-bufferize-tensor-copy-insertion.mlir59 // CHECK: %[[condition:.*]] = tensor.extract %[[w0]]
60 %condition = tensor.extract %w0[%idx] : tensor<5xi1>
62 // CHECK: scf.condition(%[[condition]]) %[[w0]], %[[w1]]
63 scf.condition(%condition) %w0, %w1 : tensor<5xi1>, tensor<5xi1>
90 // CHECK: %[[condition:.*]] = tensor.extract %[[w0]]
91 %condition = tensor.extract %w0[%idx] : tensor<5xi1>
95 // CHECK: scf.condition(%[[condition]]) %[[yield0]], %[[yield1]]
96 scf.condition(%condition) %w1, %w0 : tensor<5xi1>, tensor<5xi1>
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddeclare_variant_messages.cpp98 #pragma omp declare variant(foo) match(user = {condition(foo)}) // expected-error {{the user condit…
99 #pragma omp declare variant(foo) match(user = {condition(foo())}) // expected-error {{the user cond…
106 #pragma omp declare variant(foo) match(user = {condition(foo)})
107 #pragma omp declare variant(foo) match(user = {condition(foo())})
115 #pragma omp declare variant(foo) match(user = {condition(foo)}) // expected-error {{the user condit…
116 #pragma omp declare variant(foo) match(user = {condition(foo())}) // expected-error {{the user cond…
117 #pragma omp declare variant(foo) match(user = {condition(<C>)}) // expected-error {{expected expres…
123 #pragma omp declare variant(foo) match(user = {condition(constexpr_fn(1))})
128 #pragma omp declare variant(foo) match(user = {condition(constexpr_fn(1))})
129 #pragma omp declare variant(foo) match(user = {condition(constexpr_fn(C))})
[all …]

12345678910>>...31