Lines Matching refs:DependencyEdge
147 const DependencyEdge &DepEdge, in dumpDependencyEdge()
153 const DependencyEdge::Dependency &DE = DepEdge.Dep; in dumpDependencyEdge()
154 assert(DE.Type != DependencyEdge::DT_INVALID && "Unexpected invalid edge!"); in dumpDependencyEdge()
157 if (DE.Type == DependencyEdge::DT_REGISTER) { in dumpDependencyEdge()
160 } else if (DE.Type == DependencyEdge::DT_MEMORY) { in dumpDependencyEdge()
163 assert(DE.Type == DependencyEdge::DT_RESOURCE && in dumpDependencyEdge()
177 DependencyEdge &Edge = N.OutgoingEdges[I]; in pruneEdges()
240 for (const DependencyEdge &DepEdge : N.OutgoingEdges) { in propagateThroughEdges()
264 SmallVectorImpl<const DependencyEdge *> &Seq) const { in getCriticalSequence()
303 SmallVector<const DependencyEdge *, 16> Seq; in printCriticalSequence()
310 const DependencyEdge &FirstEdge = *Seq[0]; in printCriticalSequence()
341 for (const DependencyEdge *&DE : Seq) { in printCriticalSequence()
361 const DependencyEdge::Dependency &Dep = DE->Dep; in printCriticalSequence()
365 if (Dep.Type == DependencyEdge::DT_REGISTER) { in printCriticalSequence()
370 } else if (Dep.Type == DependencyEdge::DT_MEMORY) { in printCriticalSequence()
373 assert(Dep.Type == DependencyEdge::DT_RESOURCE && in printCriticalSequence()
405 for (const DependencyEdge &DE : Node.OutgoingEdges) in dump()
406 if (DE.Dep.Type == DependencyEdge::DT_REGISTER) in dump()
411 for (const DependencyEdge &DE : Node.OutgoingEdges) in dump()
412 if (DE.Dep.Type == DependencyEdge::DT_MEMORY) in dump()
417 for (const DependencyEdge &DE : Node.OutgoingEdges) in dump()
418 if (DE.Dep.Type == DependencyEdge::DT_RESOURCE) in dump()
424 DependencyEdge::Dependency &&Dep) { in addDependency()
427 SmallVectorImpl<DependencyEdge> &Vec = NodeFrom.OutgoingEdges; in addDependency()
429 auto It = find_if(Vec, [To, Dep](DependencyEdge &DE) { in addDependency()
439 DependencyEdge DE = {Dep, From, To, 1}; in addDependency()