Home
last modified time | relevance | path

Searched refs:PGOUseEdge (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp394 struct PGOUseEdge : public PGOEdge { struct
397 PGOUseEdge(const BasicBlock *Src, const BasicBlock *Dest, unsigned W = 1) in PGOUseEdge() function
415 typedef SmallVector<PGOUseEdge *, 2> DirectEdges;
447 static uint64_t sumEdgeCount(const ArrayRef<PGOUseEdge *> Edges) { in sumEdgeCount()
489 FuncPGOInstrumentation<PGOUseEdge, UseBBInfo> FuncInfo;
539 std::vector<PGOUseEdge *> WorkList; in setInstrumentedCounts()
559 PGOUseEdge &NewEdge = FuncInfo.MST.addEdge(SrcBB, InstrBB, 0); in setInstrumentedCounts()
562 PGOUseEdge &NewEdge1 = FuncInfo.MST.addEdge(InstrBB, DestBB, 0); in setInstrumentedCounts()
729 const PGOUseEdge *E = BBCountInfo.OutEdges[s]; in setBranchWeights()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp779 struct PGOUseEdge : public PGOEdge { struct
783 PGOUseEdge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W = 1) in PGOUseEdge() function
801 using DirectEdges = SmallVector<PGOUseEdge *, 2>;
834 static uint64_t sumEdgeCount(const ArrayRef<PGOUseEdge *> Edges) { in sumEdgeCount()
908 FuncPGOInstrumentation<PGOUseEdge, UseBBInfo> FuncInfo;
961 std::vector<PGOUseEdge *> WorkList; in setInstrumentedCounts()
981 PGOUseEdge &NewEdge = FuncInfo.MST.addEdge(SrcBB, InstrBB, 0); in setInstrumentedCounts()
984 PGOUseEdge &NewEdge1 = FuncInfo.MST.addEdge(InstrBB, DestBB, 0); in setInstrumentedCounts()
1180 const PGOUseEdge *E = BBCountInfo.OutEdges[s]; in setBranchWeights()