/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/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>";
|
/external/llvm/lib/Transforms/Scalar/ |
LoopRotation.cpp | 114 // Simplify the loop latch before attempting to rotate the header 277 BasicBlock *Latch = L->getLoopLatch(); 278 if (!Latch || Latch->hasAddressTaken()) 281 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator()); 285 BasicBlock *LastExit = Latch->getSinglePredecessor(); 293 if (!shouldSpeculateInstrs(Latch->begin(), Jmp, L)) 296 DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into " 299 // Hoist the instructions from Latch into LastExit [all...] |
LoopInterchange.cpp | 523 BasicBlock *Latch = L->getLoopLatch(); 525 if (Latch && Latch != Header && isa<PHINode>(Latch->begin())) { 532 // the same by splitting the loop latch and adjusting loop links 607 // outerloop latch. 619 DEBUG(dbgs() << "Checking instructions in Loop header and Loop latch \n"); 621 // and outer loop latch doesnt contain any unsafe instructions. 700 DEBUG(dbgs() << "Found and LCSSA PHI in outer loop latch\n"); 705 DEBUG(dbgs() << "Found and LCSSA PHI in inner loop latch\n") [all...] |
LoopUnswitch.cpp | 601 // latch block or exit through a one exit block without having any 716 /// condition in it (a cond branch from its header block to its latch block, [all...] |
InductiveRangeCheckElimination.cpp | 430 // kinds of loops we can deal with -- ones that have a single latch that is also 436 BasicBlock *Latch; 438 // `Latch's terminator instruction is `LatchBr', and it's `LatchBrExitIdx'th 450 : Tag(""), Header(nullptr), Latch(nullptr), LatchBr(nullptr), 458 Result.Latch = cast<BasicBlock>(Map(Latch)); 649 BasicBlock *Latch = L.getLoopLatch(); 650 if (!L.isLoopExiting(Latch)) { 651 FailureReason = "no loop latch"; 662 BranchInst *LatchBr = dyn_cast<BranchInst>(&*Latch->rbegin()) [all...] |
LoopStrengthReduce.cpp | 24 // %i = phi [ 0, %entry ], [ %i.next, %latch ] [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopUnrollRuntime.cpp | 67 BasicBlock *Latch = L->getLoopLatch(); 68 assert(Latch && "Loop must have a latch"); 75 for (succ_iterator SBI = succ_begin(Latch), SBE = succ_end(Latch); 92 Value *V = PN->getIncomingValueForBlock(Latch); 149 BasicBlock *Latch = L->getLoopLatch(); 181 if (Latch == *BB) { 217 BasicBlock *NewLatch = cast<BasicBlock>(VMap[Latch]); 218 idx = NewPHI->getBasicBlockIndex(Latch); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonHardwareLoops.cpp | 191 /// The desired flow is: phi ---> bump -+-> comparison-in-latch. 200 /// +-> comparison-in-latch (against upper_bound-bump), 207 /// couldn't be identified, or if the value in the latch's comparison 321 MachineBasicBlock *Latch = L->getLoopLatch(); 322 if (!Header || !Preheader || !Latch) 343 // latch block, and see if is a result of an addition of form "reg+imm", 346 if (Phi->getOperand(i+1).getMBB() != Latch) 369 bool NotAnalyzed = TII->AnalyzeBranch(*Latch, TB, FB, Cond, false); 450 MachineBasicBlock *Latch = L->getLoopLatch(); 451 if (!Latch) [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
LoopVectorize.cpp | [all...] |