Home
last modified time | relevance | path

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

12

/external/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll14 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
17 br i1 %in.bounds, label %ok, label %latch
18 ; CHECK: br i1 true, label %ok, label %latch
23 br label %latch
25 latch:
42 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ]
45 br i1 %in.bounds, label %ok, label %latch
46 ; CHECK: br i1 true, label %ok, label %latch
51 br label %latch
53 latch:
[all …]
Dlcssa-preservation.ll15 %outer.iv = phi i32 [ 0, %entry ], [ %x, %outer.latch ]
22 %inner.iv = phi i32 [ undef, %outer.header ], [ %inc, %inner.latch ]
24 br i1 %cmp1, label %inner.latch, label %outer.latch
25 ; CHECK: br i1 {{.*}}, label %inner.latch, label %outer.latch
27 inner.latch:
28 ; CHECK: inner.latch:
34 outer.latch:
35 ; CHECK: outer.latch:
40 ; CHECK-NEXT: %[[LCSSA:.*]] = phi i32 [ %[[SCEV_EXPANDED]], %inner.latch ]
48 %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/llvm/test/Transforms/LoopUnroll/
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:
Druntime-loop4.ll17 %iv1 = phi i32 [ 0, %entry ], [ %inc1, %loop1.latch ]
35 br label %loop1.latch
37 loop1.latch:
Dscevunroll.ll35 ; latch block. Canonical unrolling incorrectly unrolls it, but SCEV
98 ; SCEV should not unroll a multi-exit loops unless the latch block has
100 ; LoopUnroll utility uses this assumption to optimize the latch
176 ; The loop latch is assumed to exit after the first iteration because
177 ; of the induction variable's NSW flag. However, the loop latch's
180 ; the loop latch's exit count of zero is an upper bound on the number
/external/llvm/test/Transforms/LICM/
Dlcssa-ssa-promoter.ll25 br i1 undef, label %outer.latch, label %inner.preheader
27 ; CHECK-NEXT: br i1 undef, label %outer.latch, label %inner.preheader
35 br i1 undef, label %inner.body.rhs, label %inner.latch
37 ; CHECK-NEXT: %[[PHI0:[^,]+]] = phi i32 [ %{{[^,]+}}, %inner.latch ], [ 0, %inner.preheader ]
38 ; CHECK-NEXT: br i1 undef, label %inner.body.rhs, label %inner.latch
42 br label %inner.latch
44 ; CHECK-NEXT: br label %inner.latch
46 inner.latch:
50 ; CHECK: inner.latch:
55 br label %outer.latch
[all …]
Dsinking.ll263 %iv = phi i64 [ %iv.next, %l1.latch ], [ 0, %entry ]
269 br i1 %x0, label %l1.latch, label %l3.preheader
276 br i1 %x1, label %l2.latch, label %l4.preheader
283 br i1 %x2, label %l3.latch, label %l4.body
289 br i1 %x3, label %l4.latch, label %exit
291 l4.latch:
296 l3.latch:
299 l2.latch:
302 l1.latch:
307 %lcssa = phi i32 [ %l, %l4.latch ], [ %l, %l4.body ]
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DAutobahnTester.java66 final CountDownLatch latch = new CountDownLatch(1); in runTest() local
100 latch.countDown(); in runTest()
104 latch.countDown(); in runTest()
108 if (!latch.await(10, TimeUnit.SECONDS)) { in runTest()
117 final CountDownLatch latch = new CountDownLatch(1); in getTestCount() local
135 latch.countDown(); in getTestCount()
140 latch.countDown(); in getTestCount()
144 if (!latch.await(10, TimeUnit.SECONDS)) { in getTestCount()
158 final CountDownLatch latch = new CountDownLatch(1); in updateReports() local
172 latch.countDown(); in updateReports()
[all …]
DWebSocketCallTest.java191 final CountDownLatch latch = new CountDownLatch(1); in awaitWebSocket() local
197 latch.countDown(); in awaitWebSocket()
216 latch.countDown(); in awaitWebSocket()
221 if (!latch.await(10, TimeUnit.SECONDS)) { in awaitWebSocket()
/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/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DAbstractListenableFutureTest.java43 protected CountDownLatch latch; field in AbstractListenableFutureTest
50 latch = new CountDownLatch(1); in setUp()
51 future = createListenableFuture(Boolean.TRUE, null, latch); in setUp()
58 latch.countDown(); in tearDown()
94 latch.countDown(); in testGetBlocksUntilValueAvailable()
120 latch.countDown(); in testTimeoutOnGetWorksCorrectly()
160 latch.countDown(); in testCanceledFutureThrowsCancellation()
197 latch.countDown(); in testListenersNotifiedOnError()
226 latch.countDown(); in testAllListenersCompleteSuccessfully()
DAbstractCheckedFutureTest.java71 createCheckedFuture(Boolean.TRUE, null, latch); in testCheckedGetThrowsApplicationExceptionOnCancellation()
98 createCheckedFuture(Boolean.TRUE, null, latch); in testCheckedGetThrowsApplicationExceptionOnInterruption()
135 createCheckedFuture(Boolean.TRUE, new Exception("Error"), latch); in testCheckedGetThrowsApplicationExceptionOnError()
143 latch.countDown(); in testCheckedGetThrowsApplicationExceptionOnError()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTester.java43 private final CountDownLatch latch; field in ListenableFutureTester
48 this.latch = new CountDownLatch(1); in ListenableFutureTester()
54 latch.countDown(); in setUp()
58 assertEquals(1, latch.getCount()); in setUp()
72 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testCompletedFuture()
84 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testCancelledFuture()
99 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testFailedFuture()
DListenerCallQueueTest.java79 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded() local
85 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded()
88 latch.await(); in testAddAndExecute_multithreaded()
101 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded_withThrowingRunnable() local
111 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded_withThrowingRunnable()
114 latch.await(); in testAddAndExecute_multithreaded_withThrowingRunnable()
129 private Callback<Object> countDownCallback(final CountDownLatch latch) {
132 latch.countDown();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DPing.java25 private final CountDownLatch latch = new CountDownLatch(1); field in Ping
40 latch.countDown(); in receive()
46 latch.countDown(); in cancel()
55 latch.await(); in roundTripTime()
65 if (latch.await(timeout, unit)) { in roundTripTime()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java165 public static void await(CountDownLatch latch) { in await() argument
166 if (latch.getCount() == 0) { in await()
173 if (latch.getCount() == 0) { in await()
178 if (latch.await(1L, SECONDS)) { in await()
193 private static void createUnreachableLatchFinalizer(final CountDownLatch latch) { in createUnreachableLatchFinalizer() argument
194 new Object() { @Override protected void finalize() { latch.countDown(); }}; in createUnreachableLatchFinalizer()
/external/guava/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java43 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch() local
45 @Override protected void finalize() { latch.countDown(); } in testAwait_CountDownLatch()
48 GcFinalization.await(latch); in testAwait_CountDownLatch()
49 assertEquals(0, latch.getCount()); in testAwait_CountDownLatch()
128 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch_Interrupted() local
130 GcFinalization.await(latch); in testAwait_CountDownLatch_Interrupted()
/external/jetty/src/java/org/eclipse/jetty/server/
DLocalConnector.java62 CountDownLatch latch = new CountDownLatch(1); in getResponses() local
63 Request request = new Request(requestsBuffer, keepOpen, latch); in getResponses()
65 latch.await(getMaxIdleTime(),TimeUnit.MILLISECONDS); in getResponses()
102 private Request(ByteArrayBuffer requestsBuffer, boolean keepOpen, CountDownLatch latch) in Request() argument
106 _latch = latch; in Request()
/external/guava/guava/src/com/google/common/util/concurrent/
DUninterruptibles.java50 public static void awaitUninterruptibly(CountDownLatch latch) { in awaitUninterruptibly() argument
55 latch.await(); in awaitUninterruptibly()
73 public static boolean awaitUninterruptibly(CountDownLatch latch, in awaitUninterruptibly() argument
83 return latch.await(remainingNanos, NANOSECONDS); in awaitUninterruptibly()
/external/droiddriver/src/io/appium/droiddriver/actions/view/
DCloseKeyboardAction.java61 final CountDownLatch latch = new CountDownLatch(1); in perform() local
67 latch.countDown(); in perform()
78 if (!latch.await(getTimeoutMillis(), TimeUnit.MILLISECONDS)) { in perform()
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DCustomDispatcherTest.java62 final CountDownLatch latch = new CountDownLatch(1); in testOutOfOrderResponses() local
67 latch.await(); in testOutOfOrderResponses()
80 latch.countDown(); in testOutOfOrderResponses()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DCustomDispatcherTest.java62 final CountDownLatch latch = new CountDownLatch(1); in outOfOrderResponses() local
67 latch.await(); in outOfOrderResponses()
80 latch.countDown(); in outOfOrderResponses()
/external/llvm/test/Transforms/LoopUnroll/AArch64/
Dpartial.ll34 %iv1 = phi i32 [ 0, %entry ], [ %inc1, %loop1.latch ]
47 br label %loop1.latch
49 loop1.latch:
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DHandlerCollection.java194 final CountDownLatch latch = new CountDownLatch(_handlers.length); in doStart() local
217 latch.countDown(); in doStart()
223 latch.await(); in doStart()

12