Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp351 SmallVector<unsigned, 8> BackEdges; in calcLoopBranchHeuristics() local
359 BackEdges.push_back(I.getSuccessorIndex()); in calcLoopBranchHeuristics()
364 if (BackEdges.empty() && ExitingEdges.empty()) in calcLoopBranchHeuristics()
372 unsigned Denom = (BackEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) + in calcLoopBranchHeuristics()
375 if (!BackEdges.empty()) in calcLoopBranchHeuristics()
382 if (uint32_t numBackEdges = BackEdges.size()) { in calcLoopBranchHeuristics()
384 for (unsigned SuccIdx : BackEdges) in calcLoopBranchHeuristics()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp266 SmallPtrSet<BasicBlock *, 8> BackEdges; in calcLoopBranchHeuristics() local
278 BackEdges.insert(Succ); in calcLoopBranchHeuristics()
283 if (uint32_t numBackEdges = BackEdges.size()) { in calcLoopBranchHeuristics()
288 for (SmallPtrSet<BasicBlock *, 8>::iterator EI = BackEdges.begin(), in calcLoopBranchHeuristics()
289 EE = BackEdges.end(); EI != EE; ++EI) { in calcLoopBranchHeuristics()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h165 SmallVector<CFGBlock*, 4> BackEdges; in walk() local
174 BackEdges.push_back(*SI); in walk()
180 for (auto *Blk : BackEdges) in walk()