Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp268 SmallPtrSet<BasicBlock *, 8> InEdges; // Edges from header to the loop. in calcLoopBranchHeuristics() local
280 InEdges.insert(Succ); in calcLoopBranchHeuristics()
295 if (uint32_t numInEdges = InEdges.size()) { in calcLoopBranchHeuristics()
300 for (SmallPtrSet<BasicBlock *, 8>::iterator EI = InEdges.begin(), in calcLoopBranchHeuristics()
301 EE = InEdges.end(); EI != EE; ++EI) { in calcLoopBranchHeuristics()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp353 SmallVector<unsigned, 8> InEdges; // Edges from header to the loop. in calcLoopBranchHeuristics() local
361 InEdges.push_back(I.getSuccessorIndex()); in calcLoopBranchHeuristics()
373 (InEdges.empty() ? 0 : LBH_TAKEN_WEIGHT) + in calcLoopBranchHeuristics()
377 if (!InEdges.empty()) in calcLoopBranchHeuristics()
388 if (uint32_t numInEdges = InEdges.size()) { in calcLoopBranchHeuristics()
390 for (unsigned SuccIdx : InEdges) in calcLoopBranchHeuristics()
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp423 DirectEdges InEdges; member
647 DestInfo.InEdges.push_back(E.get()); in populateCounters()
673 Count.CountValue = sumEdgeCount(Count.InEdges); in populateCounters()
685 uint64_t Total = Count.CountValue - sumEdgeCount(Count.InEdges); in populateCounters()
686 setEdgeCount(Count.InEdges, Total); in populateCounters()