Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceCfgNode.h72 const NodeList &getOutEdges() const { return OutEdges; } in getOutEdges()
118 void addOutEdge(CfgNode *Out) { OutEdges.push_back(Out); } in addOutEdge()
121 void removeAllOutEdges() { OutEdges.clear(); } in removeAllOutEdges()
147 NodeList OutEdges; /// in no particular order variable
DIceInst.cpp326 NodeList OutEdges; in getTerminatorEdges() local
327 OutEdges.reserve(TargetTrue ? 2 : 1); in getTerminatorEdges()
328 OutEdges.push_back(TargetFalse); in getTerminatorEdges()
330 OutEdges.push_back(TargetTrue); in getTerminatorEdges()
331 return OutEdges; in getTerminatorEdges()
517 NodeList OutEdges; in getTerminatorEdges() local
518 OutEdges.reserve(NumCases + 1); in getTerminatorEdges()
520 OutEdges.push_back(LabelDefault); in getTerminatorEdges()
523 OutEdges.push_back(Labels[I]); in getTerminatorEdges()
525 std::sort(OutEdges.begin(), OutEdges.end(), in getTerminatorEdges()
[all …]
DIceCfgNode.cpp96 for (CfgNode *Succ : OutEdges) in computePredecessors()
101 OutEdges.clear(); in computeSuccessors()
104 OutEdges = Insts.rbegin()->getTerminatorEdges(); in computeSuccessors()
256 for (CfgNode *Succ : OutEdges) { in placePhiStores()
301 for (CfgNode *&I : Pred->OutEdges) { in splitIncomingEdge()
316 NewNode->OutEdges.push_back(this); in splitIncomingEdge()
675 for (CfgNode *Succ : OutEdges) { in liveness()
891 if (OutEdges.empty()) in contractIfEmpty()
895 if (OutEdges[0] == this) in contractIfEmpty()
902 CfgNode *Successor = OutEdges.front(); in contractIfEmpty()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp262 OutEdges.push_back(&Successor); in addEdge()
297 assert(OutEdges.empty()); in GCOVBlock()
310 SmallVector<GCOVBlock *, 4> OutEdges; member in __anon7fe0a9510211::GCOVBlock
357 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) in getEdgeDestinations()
358 EDOS << Block.OutEdges[i]->Number; in getEdgeDestinations()
399 if (Block.OutEdges.empty()) continue; in writeOut()
402 write(Block.OutEdges.size() * 2 + 1); in writeOut()
404 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) { in writeOut()
405 DEBUG(dbgs() << Block.Number << " -> " << Block.OutEdges[i]->Number in writeOut()
407 write(Block.OutEdges[i]->Number); in writeOut()
DPGOInstrumentation.cpp424 DirectEdges OutEdges; member
646 SrcInfo.OutEdges.push_back(E.get()); in populateCounters()
669 Count.CountValue = sumEdgeCount(Count.OutEdges); in populateCounters()
680 uint64_t Total = Count.CountValue - sumEdgeCount(Count.OutEdges); in populateCounters()
681 setEdgeCount(Count.OutEdges, Total); in populateCounters()
725 unsigned Size = BBCountInfo.OutEdges.size(); in setBranchWeights()
729 const PGOUseEdge *E = BBCountInfo.OutEdges[s]; in setBranchWeights()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp292 OutEdges.push_back(&Successor); in addEdge()
322 assert(OutEdges.empty()); in GCOVBlock()
335 SmallVector<GCOVBlock *, 4> OutEdges; member in __anon8223c5b30311::GCOVBlock
382 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) in getEdgeDestinations()
383 EDOS << Block.OutEdges[i]->Number; in getEdgeDestinations()
425 if (Block.OutEdges.empty()) continue; in writeOut()
428 write(Block.OutEdges.size() * 2 + 1); in writeOut()
430 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) { in writeOut()
432 << Block.OutEdges[i]->Number << "\n"); in writeOut()
433 write(Block.OutEdges[i]->Number); in writeOut()
DPGOInstrumentation.cpp906 DirectEdges OutEdges; member
928 OutEdges.push_back(E); in addOutEdge()
1104 if (SrcInfo.CountValid && SrcInfo.OutEdges.size() == 1) in setInstrumentedCounts()
1227 Count->CountValue = sumEdgeCount(Count->OutEdges); in populateCounters()
1239 uint64_t OutSum = sumEdgeCount(Count->OutEdges); in populateCounters()
1245 setEdgeCount(Count->OutEdges, Total); in populateCounters()
1306 unsigned Size = BBCountInfo.OutEdges.size(); in setBranchWeights()
1310 const PGOUseEdge *E = BBCountInfo.OutEdges[s]; in setBranchWeights()