Home
last modified time | relevance | path

Searched refs:latch (Results 1 – 25 of 198) sorted by relevance

12345678

/external/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll15 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
18 br i1 %in.bounds, label %ok, label %latch
19 ; CHECK: br i1 true, label %ok, label %latch
24 br label %latch
26 latch:
43 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
46 br i1 %in.bounds, label %ok, label %latch
47 ; CHECK: br i1 true, label %ok, label %latch
52 br label %latch
54 latch:
[all …]
Dlcssa-preservation.ll14 %outer.iv = phi i32 [ 0, %entry ], [ %x, %outer.latch ]
21 %inner.iv = phi i32 [ undef, %outer.header ], [ %inc, %inner.latch ]
23 br i1 %cmp1, label %inner.latch, label %outer.latch
24 ; CHECK: br i1 {{.*}}, label %inner.latch, label %outer.latch
26 inner.latch:
27 ; CHECK: inner.latch:
33 outer.latch:
34 ; CHECK: outer.latch:
39 ; CHECK-NEXT: %[[LCSSA:.*]] = phi i32 [ %[[SCEV_EXPANDED]], %inner.latch ]
47 %exit.phi = phi i32 [ %inc, %inner.latch ], [ undef, %outer.latch ]
Dstrengthen-overflow.ll11 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ]
15 br i1 %cmp, label %latch, label %break
17 latch:
37 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ]
41 br i1 %cmp, label %latch, label %break
43 latch:
63 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ]
67 br i1 %cmp, label %latch, label %break
69 latch:
89 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll15 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
18 br i1 %in.bounds, label %ok, label %latch
19 ; CHECK: br i1 true, label %ok, label %latch
24 br label %latch
26 latch:
43 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
46 br i1 %in.bounds, label %ok, label %latch
47 ; CHECK: br i1 true, label %ok, label %latch
52 br label %latch
54 latch:
[all …]
Dlcssa-preservation.ll14 %outer.iv = phi i32 [ 0, %entry ], [ %x, %outer.latch ]
21 %inner.iv = phi i32 [ undef, %outer.header ], [ %inc, %inner.latch ]
23 br i1 %cmp1, label %inner.latch, label %outer.latch
24 ; CHECK: br i1 {{.*}}, label %inner.latch, label %outer.latch
26 inner.latch:
27 ; CHECK: inner.latch:
33 outer.latch:
34 ; CHECK: outer.latch:
39 ; CHECK-NEXT: %[[LCSSA:.*]] = phi i32 [ %[[SCEV_EXPANDED]], %inner.latch ]
47 %exit.phi = phi i32 [ %inc, %inner.latch ], [ undef, %outer.latch ]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnroll/
Druntime-loop-multiexit-dom-verify.ll16 …K-NEXT: %shftphi = phi i64 [ %shft, %latch ], [ %shft.1, %latch.1 ], [ %shft.2, %latch.2 ], [ %…
28 header: ; preds = %latch, %preheader
29 %iv = phi i64 [ 2, %preheader ], [ %add.iv, %latch ]
32 br i1 %cmp1, label %latch, label %headerexit
34 latch: ; preds = %header
43 latchexit: ; preds = %latch
44 %shftphi = phi i64 [ %shft, %latch ]
56 ; CHECK: br i1 %cmp1.1, label %latch.1, label %headerexit
57 ; CHECK-LABEL: latch.3:
67 header: ; preds = %latch, %preheader
[all …]
Dpr18861.ll18 ; ( inner.latch ) ( outer.latch )
23 ; When the inner loop is unrolled, we inner.latch block has only one
33 outer.header: ; preds = %outer.latch, %entry
34 %storemerge1 = phi i32 [ 0, %entry ], [ %inc9, %outer.latch ]
37 inner.header: ; preds = %inner.latch, %outer.header
38 %storemerge = phi i32 [ %add, %inner.latch ], [ 0, %outer.header ]
40 br i1 %cmp, label %inner.latch, label %outer.latch
42 inner.latch: ; preds = %inner.header
47 exit: ; preds = %inner.latch
48 %storemerge1.lcssa = phi i32 [ %storemerge1, %inner.latch ]
[all …]
Dpeel-loop-irreducible.ll3 ; Check we don't peel loops where the latch is not the exiting block.
9 ; CHECK: br i1 {{.*}} label %latch, label %exiting
10 ; CHECK: latch:
13 ; CHECK: br i1 {{.*}} label %latch, label %exit
20 %i = phi i32 [ 0, %entry ], [ %inc, %latch ]
21 %cmp.phi = phi i1 [ false, %entry ], [ %cmp, %latch ]
22 br i1 %cmp.phi, label %latch, label %exiting
24 latch:
30 %cmp.exiting = phi i1 [ %cmp.phi, %header ], [ %cmp, %latch ]
31 br i1 %cmp.exiting, label %latch, label %exit
Dupdate-loop-info-in-subloops.ll9 ; CHECK: L.inner.latch:
10 ; CHECK: L.latch:
12 ; CHECK: L.inner.latch.1:
13 ; CHECK: L.latch.1:
20 %0 = phi i64 [ 1, %entry ], [ %1, %L.latch ]
24 br label %L.inner.latch
26 L.inner.latch:
27 br i1 false, label %L.latch, label %L.inner
29 L.latch:
Druntime-multiexit-heuristic.ll6 ; the second exit block is a deopt block. The loop has one exiting block other than the latch.
10 ; CHECK-NEXT: %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %latch.epil ], [ %indvars.iv.…
20 ; CHECK-LABEL: latch.7:
33 %indvars.iv = phi i64 [ %indvars.iv.next, %latch ], [ 0, %entry ]
34 %sum.02 = phi i32 [ %add, %latch ], [ 0, %entry ]
39 br i1 %cmp, label %otherexit, label %latch
41 latch:
49 latchexit: ; preds = %latch
50 %sum.0.lcssa = phi i32 [ %add, %latch ]
70 %indvars.iv = phi i64 [ %indvars.iv.next, %latch ], [ 0, %entry ]
[all …]
Druntime-loop-multiple-exits.ll82 ; The non-latch exit block has 2 unique predecessors.
141 ; the non-latch exiting block has a switch.
209 ; FIXME: Support multiple exiting blocks to the same latch exit block.
262 LoopExit: ; preds = %header, %latch
263 %tmp2.ph = phi i32 [ %tmp4, %header ], [ -1, %latch ]
270 header: ; preds = %preheader, %latch
271 %tmp4 = phi i32 [ %inc, %latch ], [ %arg, %preheader ]
273 br i1 true, label %LoopExit, label %latch
275 latch: ; preds = %header
281 ; the non-latch exiting block has duplicate edges to the non-latch exit block.
[all …]
Dinvalidate_right_loop.ll16 outer.loop: ; preds = %outer.latch, %entry
17 %local_2_ = phi i32 [ 10, %entry ], [ %tmp2, %outer.latch ]
21 outer.latch: ; preds = %inner.latch
25 inner.loop: ; preds = %inner.latch, %outer.loop
26 %local_4_20 = phi i32 [ 7, %outer.loop ], [ %tmp15, %inner.latch ]
33 br i1 %tmp1, label %exit, label %inner.latch
35 inner.latch: ; preds = %store.block
38 br i1 %tmp16, label %outer.latch, label %inner.loop
Druntime-li.ll15 header.outer: ; preds = %latch.outer, %entry
16 %tmp = phi double* [ %tmp8, %latch.outer ], [ %arg, %entry ]
19 header.inner: ; preds = %latch.inner, %header.outer
20 br i1 undef, label %latch.inner, label %latch.outer
22 latch.inner: ; preds = %header.inner
28 latch.outer: ; preds = %header.inner
34 exit: ; preds = %latch.outer
/external/llvm/test/Transforms/LoopUnroll/
Dpr18861.ll18 ; ( inner.latch ) ( outer.latch )
23 ; When the inner loop is unrolled, we inner.latch block has only one
33 outer.header: ; preds = %outer.latch, %entry
34 %storemerge1 = phi i32 [ 0, %entry ], [ %inc9, %outer.latch ]
37 inner.header: ; preds = %inner.latch, %outer.header
38 %storemerge = phi i32 [ %add, %inner.latch ], [ 0, %outer.header ]
40 br i1 %cmp, label %inner.latch, label %outer.latch
42 inner.latch: ; preds = %inner.header
47 exit: ; preds = %inner.latch
48 %storemerge1.lcssa = phi i32 [ %storemerge1, %inner.latch ]
[all …]
Dupdate-loop-info-in-subloops.ll8 ; CHECK: L.inner.latch:
9 ; CHECK: L.latch:
11 ; CHECK: L.inner.latch.1:
12 ; CHECK: L.latch.1:
19 %0 = phi i64 [ 1, %entry ], [ %1, %L.latch ]
23 br label %L.inner.latch
25 L.inner.latch:
26 br i1 false, label %L.latch, label %L.inner
28 L.latch:
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/
Dheader-succ.ll15 %ind = phi i32 [0, %top], [%nextind, %latch]
18 ; CHECK: br i1 %cmp, label %latch, label %exit
19 br i1 %cmp, label %body, label %latch
24 br label %latch
26 latch:
49 %ind = phi i32 [0, %top], [%nextind, %latch]
52 ; CHECK: br i1 %cmp, label %exit, label %latch
53 br i1 %cmp, label %body, label %latch
58 br label %latch
60 latch:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimpleLoopUnswitch/
Dtrivial-unswitch.ll200 br i1 %cond1, label %latch, label %loop_exit
202 ; CHECK-NEXT: br label %latch
204 latch:
207 ; CHECK: latch:
243 br i1 %cond2, label %latch, label %loop_exit
246 ; CHECK-NEXT: br i1 %cond2, label %latch, label %loop_exit
248 latch:
251 ; CHECK: latch:
288 switch i32 %cond1, label %latch [
293 ; CHECK-NEXT: br label %latch
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DConcurrentWeakIdentityHashMapTest.java51 testConcurrentWeakIdentityHashMapSingleThreadedHelper(CountDownLatch latch) in testConcurrentWeakIdentityHashMapSingleThreadedHelper() argument
54 Exception e1 = new ExceptionWithLatch("e1", latch); in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
60 Exception suppressed1 = new ExceptionWithLatch("suppressed1", latch); in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
64 Exception suppressed2 = new ExceptionWithLatch("suppressed2", latch); in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
76 Exception e2 = new ExceptionWithLatch("e2", latch); in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
78 Exception e3 = new ExceptionWithLatch("e3", latch); in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
86 CountDownLatch latch = new CountDownLatch(5); in testSingleThreadedUse() local
88 testConcurrentWeakIdentityHashMapSingleThreadedHelper(latch); in testSingleThreadedUse()
93 latch.await(); // wait for e1 to be garbage collected. in testSingleThreadedUse()
99 int numMainExceptions, int numSuppressedPerMain, CountDownLatch latch) { in createExceptionWithSuppressed() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/
Dlcssa-ssa-promoter.ll26 br i1 undef, label %outer.latch, label %inner.preheader
28 ; CHECK-NEXT: br i1 undef, label %outer.latch, label %inner.preheader
36 br i1 undef, label %inner.body.rhs, label %inner.latch
38 ; CHECK-NEXT: %[[PHI0:[^,]+]] = phi i32 [ %{{[^,]+}}, %inner.latch ], [ 0, %inner.preheader ]
39 ; CHECK-NEXT: br i1 undef, label %inner.body.rhs, label %inner.latch
43 br label %inner.latch
45 ; CHECK-NEXT: br label %inner.latch
47 inner.latch:
51 ; CHECK: inner.latch:
56 br label %outer.latch
[all …]
/external/llvm/test/Transforms/LICM/
Dlcssa-ssa-promoter.ll26 br i1 undef, label %outer.latch, label %inner.preheader
28 ; CHECK-NEXT: br i1 undef, label %outer.latch, label %inner.preheader
36 br i1 undef, label %inner.body.rhs, label %inner.latch
38 ; CHECK-NEXT: %[[PHI0:[^,]+]] = phi i32 [ %{{[^,]+}}, %inner.latch ], [ 0, %inner.preheader ]
39 ; CHECK-NEXT: br i1 undef, label %inner.body.rhs, label %inner.latch
43 br label %inner.latch
45 ; CHECK-NEXT: br label %inner.latch
47 inner.latch:
51 ; CHECK: inner.latch:
56 br label %outer.latch
[all …]
/external/okhttp/okhttp-ws-tests/src/main/java/com/squareup/okhttp/ws/
DAutobahnTester.java71 final CountDownLatch latch = new CountDownLatch(1); in runTest() local
110 latch.countDown(); in runTest()
115 latch.countDown(); in runTest()
119 if (!latch.await(30, TimeUnit.SECONDS)) { in runTest()
132 final CountDownLatch latch = new CountDownLatch(1); in getTestCount() local
148 latch.countDown(); in getTestCount()
153 latch.countDown(); in getTestCount()
157 if (!latch.await(10, TimeUnit.SECONDS)) { in getTestCount()
171 final CountDownLatch latch = new CountDownLatch(1); in updateReports() local
183 latch.countDown(); in updateReports()
[all …]
/external/dagger2/core/src/test/java/dagger/internal/
DDoubleCheckLazyTest.java45 final CountDownLatch latch = new CountDownLatch(numThreads); in get() local
46 LatchedProvider provider = new LatchedProvider(latch); in get()
53 latch.countDown(); in get()
84 final CountDownLatch latch; field in DoubleCheckLazyTest.LatchedProvider
86 LatchedProvider(CountDownLatch latch) { in LatchedProvider() argument
87 this.latch = latch; in LatchedProvider()
93 if (latch != null) { in get()
94 Uninterruptibles.awaitUninterruptibly(latch); in get()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopRotate/
Dpreserve-loop-simplify.ll25 ; Now the latch!
33 br i1 undef, label %outer.latch, label %inner.latch
36 inner.latch:
42 br label %outer.latch
43 ; CHECK-NEXT: br label %outer.latch
47 ; CHECK-NEXT: br label %outer.latch
49 outer.latch:
50 ; CHECK: outer.latch:
/external/llvm/test/Transforms/LoopRotate/
Dpreserve-loop-simplify.ll25 ; Now the latch!
33 br i1 undef, label %outer.latch, label %inner.latch
36 inner.latch:
42 br label %outer.latch
43 ; CHECK-NEXT: br label %outer.latch
47 ; CHECK-NEXT: br label %outer.latch
49 outer.latch:
50 ; CHECK: outer.latch:
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnrollAndJam/
Ddisable.ll13 ; CHECK: %i.029 = phi i32 [ %add10, %for.latch ], [ 0, %for.preheader ]
25 %i.029 = phi i32 [ %add10, %for.latch ], [ 0, %for.preheader ]
26 %b.028 = phi i32 [ %inc8, %for.latch ], [ 1, %for.preheader ]
39 br i1 %exitcond, label %for.latch, label %for.inner
41 for.latch:
58 ; CHECK: %i.032 = phi i32 [ %add13, %for.latch ], [ 0, %for.preheader ]
70 %i.032 = phi i32 [ %add13, %for.latch ], [ 0, %for.preheader ]
74 br i1 %tobool, label %for.latch, label %for.inner
87 br i1 %exitcond, label %for.latch, label %for.inner
89 for.latch:
[all …]

12345678