Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp145 const DependencyEdge &DepEdge, in dumpDependencyEdge()
151 const DependencyEdge::Dependency &DE = DepEdge.Dep; in dumpDependencyEdge()
152 assert(DE.Type != DependencyEdge::DT_INVALID && "Unexpected invalid edge!"); in dumpDependencyEdge()
155 if (DE.Type == DependencyEdge::DT_REGISTER) { in dumpDependencyEdge()
158 } else if (DE.Type == DependencyEdge::DT_MEMORY) { in dumpDependencyEdge()
161 assert(DE.Type == DependencyEdge::DT_RESOURCE && in dumpDependencyEdge()
175 DependencyEdge &Edge = N.OutgoingEdges[I]; in pruneEdges()
238 for (const DependencyEdge &DepEdge : N.OutgoingEdges) { in propagateThroughEdges()
262 SmallVectorImpl<const DependencyEdge *> &Seq) const { in getCriticalSequence()
279 for (const DependencyEdge *&DE : llvm::reverse(Seq)) { in getCriticalSequence()
[all …]
H A DBottleneckAnalysis.h181 struct DependencyEdge { struct
230 DependencyEdge CriticalPredecessor;
231 SmallVector<DependencyEdge, 8> OutgoingEdges;
239 DependencyEdge::Dependency &&DE);
247 void dumpDependencyEdge(raw_ostream &OS, const DependencyEdge &DE,
256 addDependency(From, To, {DependencyEdge::DT_REGISTER, RegID, Cost}); in addRegisterDep()
260 addDependency(From, To, {DependencyEdge::DT_MEMORY, /* unused */ 0, Cost}); in addMemoryDep()
265 addDependency(From, To, {DependencyEdge::DT_RESOURCE, Mask, Cost}); in addResourceDep()
280 void getCriticalSequence(SmallVectorImpl<const DependencyEdge *> &Seq) const;