Home
last modified time | relevance | path

Searched refs:cnd (Results 1 – 25 of 91) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/PRE/
Dload-pre-licm.ll45 define i32 @test1(i1 %cnd, i32* %p) {
64 define i32 @test2(i1 %cnd, i32* %p) {
75 br i1 %cnd, label %bb1, label %bb2
92 define i32 @test3(i1 %cnd, i32* %p) {
99 br i1 %cnd, label %bb1, label %bb2
117 define i32 @test4(i1 %cnd, i32* %p) {
129 br i1 %cnd, label %bb1, label %bb2
147 define i32 @test5(i1 %cnd, i32* %p) {
159 br i1 %cnd, label %bb1, label %bb2
177 declare void @llvm.experimental.guard(i1 %cnd, ...)
[all …]
Dinvariant-load.ll32 define i32 @test3(i1 %cnd, i32* %p, i32* %q) {
37 br i1 %cnd, label %bb1, label %bb2
51 define i32 @test4(i1 %cnd, i32* %p, i32* %q) {
56 br i1 %cnd, label %bb1, label %bb2
71 define i32 @test5(i1 %cnd, i32* %p) {
87 define i32 @test6(i1 %cnd, i32* %p) {
104 define i32 @test7(i1 %cnd, i32* %p) {
117 define i32 @test8(i1 %cnd, i32* %p) {
124 br i1 %cnd, label %taken, label %merge
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
D2-1.c201 pthread_cond_t cnd; member
240 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); in child()
242 ret = pthread_cond_wait(&td->cnd, &td->mtx1); in child()
287 ret = pthread_cond_timedwait(&td->cnd, &td->mtx2, &ts); in child()
289 ret = pthread_cond_wait(&td->cnd, &td->mtx2); in child()
519 ret = pthread_cond_init(&td->cnd, &ca); in main()
599 ret = pthread_cond_broadcast(&td->cnd); in main()
613 ret = pthread_cond_destroy(&td->cnd); in main()
621 memset(&td->cnd, 0xFF, sizeof(pthread_cond_t)); in main()
660 ret = pthread_cond_init(&td->cnd, &ca); in main()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
Ds-c.c84 pthread_cond_t cnd[10 * SCALABILITY_FACTOR]; member
183 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main()
187 ret = pthread_cond_destroy(&(cur->cnd[i])); in main()
191 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main()
195 ret = pthread_cond_destroy(&(cur->cnd[i])); in main()
199 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main()
242 ret = pthread_cond_destroy(&(cur->cnd[i])); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D2-5.c67 pthread_cond_t cnd; /* The cond var c */ member
98 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1)); in threaded()
100 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), in threaded()
133 ret = pthread_cond_wait(&(data.cnd), &(data.mtx2)); in threaded()
135 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2), in threaded()
276 ret = pthread_cond_init(&(data.cnd), &ca); in main()
325 ret = pthread_cond_broadcast(&(data.cnd)); in main()
351 ret = pthread_cond_destroy(&(data.cnd)); in main()
/external/llvm/test/Transforms/GVN/
Dinvariant-load.ll32 define i32 @test3(i1 %cnd, i32* %p, i32* %q) {
37 br i1 %cnd, label %bb1, label %bb2
51 define i32 @test4(i1 %cnd, i32* %p, i32* %q) {
56 br i1 %cnd, label %bb1, label %bb2
71 define i32 @test5(i1 %cnd, i32* %p) {
87 define i32 @test6(i1 %cnd, i32* %p) {
104 define i32 @test7(i1 %cnd, i32* %p) {
117 define i32 @test8(i1 %cnd, i32* %p) {
124 br i1 %cnd, label %taken, label %merge
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Ds-c1.c93 pthread_cond_t cnd; variable
149 ret = pthread_cond_signal(&cnd); in threaded()
192 ret = pthread_cond_init(&cnd, NULL); in main()
278 ret = pthread_cond_wait(&cnd, &m); in main()
305 ret = pthread_cond_destroy(&cnd); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress1.c211 pthread_cond_t cnd; member
237 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
244 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); in threaded_B()
251 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
302 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); in threaded_A()
307 ret = pthread_cond_signal(&(cd->cnd)); in threaded_A()
585 ret = pthread_cond_init(&(CD.cnd), &ca); in main()
663 ret = pthread_cond_destroy(&(td->cd[i].cnd)); in main()
Dstress2.c189 pthread_cond_t cnd; member
243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
258 ret = pthread_cond_broadcast(&(cd->cnd)); in worker()
295 ret = pthread_cond_signal(&(cd->cnd)); in signaler()
547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
643 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
Dstress.c189 pthread_cond_t cnd; member
243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
258 ret = pthread_cond_broadcast(&(cd->cnd)); in worker()
295 ret = pthread_cond_signal(&(cd->cnd)); in signaler()
547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
643 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress1.c201 pthread_cond_t cnd; member
229 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
241 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_B()
252 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
310 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_A()
319 ret = pthread_cond_signal(&(cd->cnd)); in threaded_A()
591 ret = pthread_cond_init(&(CD.cnd), &ca); in main()
666 ret = pthread_cond_destroy(&(td->cd[i].cnd)); in main()
Ds-c.c101 pthread_cond_t *cnd; member
185 void do_measure(pthread_mutex_t * mtx, pthread_cond_t * cnd, clockid_t cid, in do_measure() argument
212 rc = pthread_cond_timedwait(cnd, mtx, &ts_cnd); in do_measure()
265 ret = pthread_cond_wait(dt->cnd, dt->mtx); in waiter()
302 pthread_cond_t cnd; in do_threads_test() local
312 td.cnd = &cnd; in do_threads_test()
387 ret = pthread_cond_init(&cnd, &ca); in do_threads_test()
416 ret = pthread_cond_broadcast(&cnd); in do_threads_test()
469 do_measure(&mtx, &cnd, test_scenar[s].cid, &ts); in do_threads_test()
485 ret = pthread_cond_broadcast(&cnd); in do_threads_test()
[all …]
Dstress2.c180 pthread_cond_t cnd; member
234 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
249 ret = pthread_cond_broadcast(&(cd->cnd)); in worker()
286 ret = pthread_cond_signal(&(cd->cnd)); in signaler()
538 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main()
634 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers.ll71 define void @test2(i1 %cnd, i64 addrspace(1)* %base_obj, i64 addrspace(1)* %base_arg2) gc "statepoi…
95 %next = select i1 %cnd, i64 addrspace(1)* %nexta, i64 addrspace(1)* %base_arg2
96 %extra2 = select i1 %cnd, i64 addrspace(1)* %nexta, i64 addrspace(1)* %base_arg2
101 define i64 addrspace(1)* @test3(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
104 br i1 %cnd, label %merge, label %taken
119 define i64 addrspace(1)* @test4(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
122 br i1 %cnd, label %merge, label %taken
136 define i64 addrspace(1)* @test5(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
147 br i1 %cnd, label %merge, label %next
Dbase-vector.ll21 define i64 addrspace(1)* @test2(<2 x i64 addrspace(1)*>* %ptr, i1 %cnd, i32 %idx1, i32 %idx2) gc "s…
24 br i1 %cnd, label %taken, label %untaken
36 br i1 %cnd, label %taken2, label %untaken2
92 define void @test5(i1 %cnd, i64 addrspace(1)* %obj) gc "statepoint-example" {
106 define void @test6(i1 %cnd, i64 addrspace(1)* %obj, i64 %idx) gc "statepoint-example" {
128 define i64 addrspace(1)* @test7(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
144 br i1 %cnd, label %merge1, label %next1
161 br i1 %cnd, label %merge, label %next
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers.ll72 define void @test2(i1 %cnd, i64 addrspace(1)* %base_obj, i64 addrspace(1)* %base_arg2) gc "statepoi…
96 %next = select i1 %cnd, i64 addrspace(1)* %nexta, i64 addrspace(1)* %base_arg2
97 %extra2 = select i1 %cnd, i64 addrspace(1)* %nexta, i64 addrspace(1)* %base_arg2
102 define i64 addrspace(1)* @test3(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
105 br i1 %cnd, label %merge, label %taken
120 define i64 addrspace(1)* @test4(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
123 br i1 %cnd, label %merge, label %taken
137 define i64 addrspace(1)* @test5(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
148 br i1 %cnd, label %merge, label %next
Dbase-vector.ll22 define i64 addrspace(1)* @test2(<2 x i64 addrspace(1)*>* %ptr, i1 %cnd, i32 %idx1, i32 %idx2) gc "s…
25 br i1 %cnd, label %taken, label %untaken
37 br i1 %cnd, label %taken2, label %untaken2
94 define void @test5(i1 %cnd, i64 addrspace(1)* %obj) gc "statepoint-example" {
108 define void @test6(i1 %cnd, i64 addrspace(1)* %obj, i64 %idx) gc "statepoint-example" {
130 define i64 addrspace(1)* @test7(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "state…
146 br i1 %cnd, label %merge1, label %next1
163 br i1 %cnd, label %merge, label %next
218 define i64 addrspace(1)* @test10(i1 %cnd, i64 addrspace(1)* %obj, i64 addrspace(1)* %obj2) gc "stat…
222 br i1 %cnd, label %here, label %merge
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dsmrd-vccz-bug.ll17 %cnd = fcmp oeq float 0.0, %cond
19 br i1 %cnd, label %if, label %endif
38 %cnd = fcmp oeq float 0.0, %vgpr
39 br i1 %cnd, label %if, label %endif
Dbranch-relax-bundle.ll32 define amdgpu_kernel void @bundle_size(i32 addrspace(1)* %arg, i32 %cnd) #0 {
34 %cmp = icmp eq i32 %cnd, 0
48 store volatile i32 %cnd, i32 addrspace(1)* %arg
/external/llvm/test/CodeGen/AMDGPU/
Dsmrd-vccz-bug.ll18 %cnd = fcmp oeq float 0.0, %cond
20 br i1 %cnd, label %if, label %endif
40 %cnd = fcmp oeq float 0.0, %vgpr
41 br i1 %cnd, label %if, label %endif
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D1-2.c199 pthread_cond_t cnd; member
237 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child()
239 ret = pthread_cond_wait(&td->cnd, &td->mtx); in child()
254 ret = pthread_cond_signal(&td->cnd); in child()
460 ret = pthread_cond_init(&td->cnd, &ca); in main()
554 ret = pthread_cond_signal(&td->cnd); in main()
622 ret = pthread_cond_destroy(&td->cnd); in main()
/external/llvm/test/Transforms/InstCombine/
Datomic.ll149 define i32 @test15(i1 %cnd) {
153 %addr = select i1 %cnd, i32* @a, i32* @b
159 define i32 @test16(i1 %cnd) {
162 %addr = select i1 %cnd, i32* @a, i32* @b
168 define i32 @test17(i1 %cnd) {
171 %addr = select i1 %cnd, i32* @a, i32* @b
176 define i32 @test22(i1 %cnd) {
180 br i1 %cnd, label %block1, label %block2
194 define i32 @test23(i1 %cnd) {
196 ; CHECK: br i1 %cnd, label %block1, label %block2
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GuardWidening/
Dloop-schedule.ll29 %cnd = load i1, i1* %c_p
30 br i1 %cnd, label %loop, label %leave.loopexit
55 %cnd = load i1, i1* %c_p
56 br i1 %cnd, label %loop, label %leave.loopexit
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/
Dinvariant.start.ll131 define i32 @test_merge(i32* %p, i1 %cnd) {
136 br i1 %cnd, label %merge, label %taken
147 define i32 @test_negative_after_mergeclobber(i32* %p, i1 %cnd) {
151 br i1 %cnd, label %merge, label %taken
165 define i32 @test_false_negative_merge(i32* %p, i1 %cnd) {
169 br i1 %cnd, label %merge, label %taken
181 define i32 @test_merge_unanalyzable_load(i32* %p, i1 %cnd) {
187 br i1 %cnd, label %merge, label %taken
198 define void @test_dse_before_load(i32* %p, i1 %cnd) {
208 define void @test_dse_after_load(i32* %p, i1 %cnd) {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/
Dselects.ll5 define void @base_case(i1 %cnd, i32 addrspace(1)* %a, i32 addrspace(1)* %b, <3 x i32> addrspace(1)*…
13 %selected = select i1 %cnd, i32 addrspace(1)* %a, i32 addrspace(1)* %b
14 %selected14 = select i1 %cnd, i32 addrspace(1)* %gep1, i32 addrspace(1)* %gep4
15 %selected25 = select i1 %cnd, i32 addrspace(1)* %gep2, i32 addrspace(1)* %gep5
26 define void @scev_targeting_complex_case(i1 %cnd, i32 addrspace(1)* %a, i32 addrspace(1)* %b, i32 %…
50 …%selected.base.x16.p0.or.4 = select i1 %cnd, i32 addrspace(1)* %a.base.x16, i32 addrspace(1)* %b.b…
51 …%gep.selected.base.x16.p8.or.12 = select i1 %cnd, i8 addrspace(1)* %gep.a.base.x16.p8, i8 addrspac…

1234