HomeSort by relevance Sort by last modified time
    Searched refs:Latch (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
ActivityResultMultiplexedLatch.java 26 * It holds a {@link CountDownLatch} latch for each thread that requests synchronization.
28 * Each thread requests a {@link Latch} to synchronize an Activity that will be started, by invoking
29 * {@link #bindThread()}, this guarantees that a latch is associated with the thread, and the result
38 * A latch for a bound thread.
41 public class Latch {
44 private Latch(Entry entry) {
54 mEntry.latch.await();
70 public final CountDownLatch latch = new CountDownLatch(1); field in class:ActivityResultMultiplexedLatch.Entry
85 public Latch bindThread() {
97 return new Latch(entry)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopRotation.cpp 102 // Simplify the loop latch before attempting to rotate the header
241 BasicBlock *Latch = L->getLoopLatch();
242 if (!Latch || Latch->hasAddressTaken())
245 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator());
249 BasicBlock *LastExit = Latch->getSinglePredecessor();
257 if (!shouldSpeculateInstrs(Latch->begin(), Jmp))
260 DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
263 // Hoist the instructions from Latch into LastExit
    [all...]
LoopUnswitch.cpp 586 // latch block or exit through a one exit block without having any
702 /// condition in it (a cond branch from its header block to its latch block,
    [all...]
LoopStrengthReduce.cpp 24 // %i = phi [ 0, %entry ], [ %i.next, %latch ]
    [all...]
  /external/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp 61 BasicBlock *Latch = L->getLoopLatch();
62 assert(Latch && "Loop must have a latch");
69 for (succ_iterator SBI = succ_begin(Latch), SBE = succ_end(Latch);
86 Value *V = PN->getIncomingValueForBlock(Latch);
149 BasicBlock *Latch = L->getLoopLatch();
178 unsigned idx = NewPHI->getBasicBlockIndex(Latch);
189 if (Latch == *BB) {
271 BasicBlock *Latch = L->getLoopLatch()
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonHardwareLoops.cpp 193 /// The desired flow is: phi ---> bump -+-> comparison-in-latch.
202 /// +-> comparison-in-latch (against upper_bound-bump),
209 /// couldn't be identified, or if the value in the latch's comparison
326 MachineBasicBlock *Latch = L->getLoopLatch();
327 if (!Header || !Preheader || !Latch)
348 // latch block, and see if is a result of an addition of form "reg+imm",
351 if (Phi->getOperand(i+1).getMBB() != Latch)
374 bool NotAnalyzed = TII->AnalyzeBranch(*Latch, TB, FB, Cond, false);
455 MachineBasicBlock *Latch = L->getLoopLatch();
456 if (!Latch)
    [all...]
  /external/llvm/include/llvm/Analysis/
LoopInfoImpl.h 153 /// getLoopLatch - If there is a single latch block for this loop, return it.
154 /// A latch block is a block that contains a branch back to the header.
163 BlockT *Latch = nullptr;
167 if (Latch) return nullptr;
168 Latch = N;
172 return Latch;
328 if (BB == getLoopLatch()) OS << "<latch>";
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
BaseSensorTestActivity.java 164 for (CountDownLatch latch : mWaitForUserLatches) {
165 latch.countDown();
287 CountDownLatch latch = new CountDownLatch(1); local
289 mWaitForUserLatches.add(latch);
294 latch.await();
326 ActivityResultMultiplexedLatch.Latch latch = mActivityResultMultiplexedLatch.bindThread(); local
327 startActivityForResult(intent, latch.getRequestCode());
328 return latch.await();
  /external/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp     [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]

Completed in 994 milliseconds