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()
119 void addOutEdge(CfgNode *Out) { OutEdges.push_back(Out); } in addOutEdge()
122 void removeAllOutEdges() { OutEdges.clear(); } in removeAllOutEdges()
148 NodeList OutEdges; /// in no particular order variable
DIceInst.cpp336 NodeList OutEdges; in getTerminatorEdges() local
337 OutEdges.reserve(TargetTrue ? 2 : 1); in getTerminatorEdges()
338 OutEdges.push_back(TargetFalse); in getTerminatorEdges()
340 OutEdges.push_back(TargetTrue); in getTerminatorEdges()
341 return OutEdges; in getTerminatorEdges()
527 NodeList OutEdges; in getTerminatorEdges() local
528 OutEdges.reserve(NumCases + 1); in getTerminatorEdges()
530 OutEdges.push_back(LabelDefault); in getTerminatorEdges()
533 OutEdges.push_back(Labels[I]); in getTerminatorEdges()
535 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()
697 for (CfgNode *Succ : OutEdges) { in liveness()
913 if (OutEdges.empty()) in contractIfEmpty()
917 if (OutEdges[0] == this) in contractIfEmpty()
924 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 __anonfb28f5d70211::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-7.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp275 OutEdges.push_back(&Successor); in addEdge()
306 assert(OutEdges.empty()); in GCOVBlock()
319 SmallVector<GCOVBlock *, 4> OutEdges; member in __anon0aa0896f0211::GCOVBlock
366 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) in getEdgeDestinations()
367 EDOS << Block.OutEdges[i]->Number; in getEdgeDestinations()
408 if (Block.OutEdges.empty()) continue; in writeOut()
411 write(Block.OutEdges.size() * 2 + 1); in writeOut()
413 for (int i = 0, e = Block.OutEdges.size(); i != e; ++i) { in writeOut()
415 << Block.OutEdges[i]->Number << "\n"); in writeOut()
416 write(Block.OutEdges[i]->Number); in writeOut()
DPGOInstrumentation.cpp810 DirectEdges OutEdges; member
1074 SrcInfo.OutEdges.push_back(E.get()); in populateCounters()
1099 Count->CountValue = sumEdgeCount(Count->OutEdges); in populateCounters()
1111 uint64_t OutSum = sumEdgeCount(Count->OutEdges); in populateCounters()
1117 setEdgeCount(Count->OutEdges, Total); in populateCounters()
1176 unsigned Size = BBCountInfo.OutEdges.size(); in setBranchWeights()
1180 const PGOUseEdge *E = BBCountInfo.OutEdges[s]; in setBranchWeights()