Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp55 for (SizeT i = 0; i < InEdges.size(); ++i) { in replaceInEdge()
56 if (InEdges[i] == Old) { in replaceInEdge()
57 InEdges[i] = New; in replaceInEdge()
97 Succ->InEdges.push_back(this); in computePredecessors()
102 InEdges.clear(); in computeSuccessors()
304 NewNode->InEdges.push_back(Pred); in splitIncomingEdge()
313 for (CfgNode *&I : InEdges) { in splitIncomingEdge()
475 for (CfgNode *Pred : InEdges) { in advancedPhiLowering()
901 if (InEdges.empty()) in contractIfEmpty()
930 for (CfgNode *Pred : InEdges) { in contractIfEmpty()
[all …]
DIceCfgNode.h71 const NodeList &getInEdges() const { return InEdges; } in getInEdges()
120 void addInEdge(CfgNode *In) { InEdges.push_back(In); } in addInEdge()
144 NodeList InEdges; /// in no particular order variable
DIceCfg.cpp281 const auto &InEdges = Node->getInEdges(); in fixPhiNodes() local
285 for (SizeT i = 0; i < InEdges.size(); ++i) { in fixPhiNodes()
286 Phi->setLabel(i, InEdges[i]); in fixPhiNodes()
DWasmTranslator.cpp334 const auto &InEdges = Control.toCfgNode()->getInEdges(); in Phi() local
335 assert(Count == InEdges.size()); in Phi()
349 Phi->addArgument(Op, InEdges[i]); in Phi()
/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()