/external/llvm/test/Transforms/IndVarSimplify/ |
D | backedge-on-min-max.ll | 15 %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 …]
|
D | lcssa-preservation.ll | 14 %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 ]
|
D | strengthen-overflow.ll | 11 %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/ |
D | pr18861.ll | 18 ; ( 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 …]
|
D | update-loop-info-in-subloops.ll | 8 ; 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:
|
D | pr27157.ll | 35 %iv = phi i32 [ 0, %entry ], [ %iv.inc, %latch ] 37 br i1 undef, label %diamond, label %latch 45 br label %latch 46 latch:
|
D | full-unroll-heuristics-2.ll | 69 %iv = phi i64 [ 0, %entry ], [ %inc, %loop.latch ] 70 %r1 = phi i32 [ 0, %entry ], [ %r3, %loop.latch ] 74 br i1 %cmp, label %loop.if, label %loop.latch 78 br label %loop.latch 80 loop.latch: 87 %r.lcssa = phi i32 [ %r3, %loop.latch ]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/ |
D | ConcurrentWeakIdentityHashMapTest.java | 51 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/llvm/test/Transforms/LICM/ |
D | lcssa-ssa-promoter.ll | 26 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/ |
D | AutobahnTester.java | 71 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/ |
D | DoubleCheckLazyTest.java | 45 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/llvm/test/Transforms/LoopRotate/ |
D | preserve-loop-simplify.ll | 25 ; 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/ |
D | AbstractListenableFutureTest.java | 43 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()
|
D | AbstractCheckedFutureTest.java | 71 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/ |
D | ListenableFutureTester.java | 43 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()
|
D | ListenerCallQueueTest.java | 81 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded() local 87 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded() 90 latch.await(); in testAddAndExecute_multithreaded() 103 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded_withThrowingRunnable() local 113 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded_withThrowingRunnable() 116 latch.await(); in testAddAndExecute_multithreaded_withThrowingRunnable() 131 private Callback<Object> countDownCallback(final CountDownLatch latch) { 134 latch.countDown();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Ping.java | 25 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/ |
D | GcFinalization.java | 165 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/ |
D | GcFinalizationTest.java | 43 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/llvm/test/CodeGen/X86/ |
D | code_placement_loop_rotation3.ll | 7 ; CHECK: latch 18 br i1 %call, label %if.then, label %latch, !prof !1 23 br i1 %call3, label %latch, label %end, !prof !2 25 latch:
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CameraFacade.java | 161 final CountDownLatch latch = new CountDownLatch(1); in takePicture() local 183 latch.countDown(); in takePicture() 187 latch.await(); in takePicture() 192 final CountDownLatch latch = new CountDownLatch(1); in autoFocus() local 198 latch.countDown(); in autoFocus() 201 latch.await(); in autoFocus()
|
/external/autotest/client/cros/ |
D | httpd_unittest.py | 81 latch = test_server.add_wait_url('/quitquitquit') 84 while not latch.is_set(): 86 latch.wait(1)
|
/external/autotest/client/site_tests/login_ChromeProfileSanitary/ |
D | login_ChromeProfileSanitary.py | 70 latch = self._testServer.add_wait_url(self._wait_path) 74 latch.wait(timeout) 75 if not latch.is_set():
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Uninterruptibles.java | 52 public static void awaitUninterruptibly(CountDownLatch latch) { in awaitUninterruptibly() argument 57 latch.await(); in awaitUninterruptibly() 75 public static boolean awaitUninterruptibly(CountDownLatch latch, in awaitUninterruptibly() argument 85 return latch.await(remainingNanos, NANOSECONDS); in awaitUninterruptibly()
|
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
D | CloseKeyboardAction.java | 61 final CountDownLatch latch = new CountDownLatch(1); in perform() local 67 latch.countDown(); in perform() 78 if (!latch.await(getTimeoutMillis(), TimeUnit.MILLISECONDS)) { in perform()
|