Home
last modified time | relevance | path

Searched refs:GuardBI (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp392 BranchInst *GuardBI = dyn_cast<BranchInst>(GuardBB->getTerminator()); in getLoopGuardBranch() local
393 if (!GuardBI || GuardBI->isUnconditional()) in getLoopGuardBranch()
396 BasicBlock *GuardOtherSucc = (GuardBI->getSuccessor(0) == Preheader) in getLoopGuardBranch()
397 ? GuardBI->getSuccessor(1) in getLoopGuardBranch()
398 : GuardBI->getSuccessor(0); in getLoopGuardBranch()
399 return (GuardOtherSucc == ExitFromLatchSucc) ? GuardBI : nullptr; in getLoopGuardBranch()