Lines Matching refs:LazyCallGraph

40 void LazyCallGraph::EdgeSequence::insertEdgeInternal(Node &TargetN,  in insertEdgeInternal()
46 void LazyCallGraph::EdgeSequence::setEdgeKind(Node &TargetN, Edge::Kind EK) { in setEdgeKind()
50 bool LazyCallGraph::EdgeSequence::removeEdgeInternal(Node &TargetN) { in removeEdgeInternal()
60 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
61 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge()
62 LazyCallGraph::Node &N, LazyCallGraph::Edge::Kind EK) { in addEdge()
67 Edges.emplace_back(LazyCallGraph::Edge(N, EK)); in addEdge()
70 LazyCallGraph::EdgeSequence &LazyCallGraph::Node::populateSlow() { in populateSlow()
106 LazyCallGraph::Edge::Call); in populateSlow()
120 LazyCallGraph::Edge::Ref); in populateSlow()
128 LazyCallGraph::Edge::Ref); in populateSlow()
133 void LazyCallGraph::Node::replaceFunction(Function &NewF) { in replaceFunction()
139 LLVM_DUMP_METHOD void LazyCallGraph::Node::dump() const { in dump()
154 LazyCallGraph::LazyCallGraph( in LazyCallGraph() function in LazyCallGraph
203 LazyCallGraph::Edge::Ref); in LazyCallGraph()
207 LazyCallGraph::LazyCallGraph(LazyCallGraph &&G) in LazyCallGraph() function in LazyCallGraph
214 bool LazyCallGraph::invalidate(Module &, const PreservedAnalyses &PA, in invalidate()
222 LazyCallGraph &LazyCallGraph::operator=(LazyCallGraph &&G) { in operator =()
234 LLVM_DUMP_METHOD void LazyCallGraph::SCC::dump() const { in dump()
240 void LazyCallGraph::SCC::verify() { in verify()
276 bool LazyCallGraph::SCC::isParentOf(const SCC &C) const { in isParentOf()
289 bool LazyCallGraph::SCC::isAncestorOf(const SCC &TargetC) const { in isAncestorOf()
293 LazyCallGraph &G = *OuterRefSCC->G; in isAncestorOf()
323 LazyCallGraph::RefSCC::RefSCC(LazyCallGraph &G) : G(&G) {} in RefSCC()
326 LLVM_DUMP_METHOD void LazyCallGraph::RefSCC::dump() const { in dump()
332 void LazyCallGraph::RefSCC::verify() { in verify()
400 bool LazyCallGraph::RefSCC::isParentOf(const RefSCC &RC) const { in isParentOf()
414 bool LazyCallGraph::RefSCC::isAncestorOf(const RefSCC &RC) const { in isAncestorOf()
576 bool LazyCallGraph::RefSCC::switchInternalEdgeToCall( in switchInternalEdgeToCall()
723 void LazyCallGraph::RefSCC::switchTrivialInternalEdgeToRef(Node &SourceN, in switchTrivialInternalEdgeToRef()
741 iterator_range<LazyCallGraph::RefSCC::iterator>
742 LazyCallGraph::RefSCC::switchInternalEdgeToRef(Node &SourceN, Node &TargetN) { in switchInternalEdgeToRef()
922 void LazyCallGraph::RefSCC::switchOutgoingEdgeToCall(Node &SourceN, in switchOutgoingEdgeToCall()
943 void LazyCallGraph::RefSCC::switchOutgoingEdgeToRef(Node &SourceN, in switchOutgoingEdgeToRef()
964 void LazyCallGraph::RefSCC::insertInternalRefEdge(Node &SourceN, in insertInternalRefEdge()
976 void LazyCallGraph::RefSCC::insertOutgoingEdge(Node &SourceN, Node &TargetN, in insertOutgoingEdge()
995 SmallVector<LazyCallGraph::RefSCC *, 1>
996 LazyCallGraph::RefSCC::insertIncomingRefEdge(Node &SourceN, Node &TargetN) { in insertIncomingRefEdge()
1137 void LazyCallGraph::RefSCC::removeOutgoingEdge(Node &SourceN, Node &TargetN) { in removeOutgoingEdge()
1154 SmallVector<LazyCallGraph::RefSCC *, 1>
1155 LazyCallGraph::RefSCC::removeInternalRefEdge(Node &SourceN, in removeInternalRefEdge()
1389 void LazyCallGraph::RefSCC::insertTrivialCallEdge(Node &SourceN, in insertTrivialCallEdge()
1418 void LazyCallGraph::RefSCC::insertTrivialRefEdge(Node &SourceN, Node &TargetN) { in insertTrivialRefEdge()
1442 void LazyCallGraph::RefSCC::replaceNodeFunction(Node &N, Function &NewF) { in replaceNodeFunction()
1478 void LazyCallGraph::insertEdge(Node &SourceN, Node &TargetN, Edge::Kind EK) { in insertEdge()
1485 void LazyCallGraph::removeEdge(Node &SourceN, Node &TargetN) { in removeEdge()
1494 void LazyCallGraph::removeDeadFunction(Function &F) { in removeDeadFunction()
1569 static LazyCallGraph::Edge::Kind getEdgeKind(Function &OriginalFunction, in getEdgeKind()
1584 return LazyCallGraph::Edge::Kind::Call; in getEdgeKind()
1599 LazyCallGraph::visitReferences(Worklist, Visited, [&](Function &F) { in getEdgeKind()
1606 return LazyCallGraph::Edge::Kind::Ref; in getEdgeKind()
1609 void LazyCallGraph::addSplitFunction(Function &OriginalFunction, in addSplitFunction()
1688 void LazyCallGraph::addSplitRefRecursiveFunctions( in addSplitRefRecursiveFunctions()
1772 LazyCallGraph::Node &LazyCallGraph::insertInto(Function &F, Node *&MappedN) { in insertInto()
1776 void LazyCallGraph::updateGraphPtrs() { in updateGraphPtrs()
1786 LazyCallGraph::Node &LazyCallGraph::initNode(Function &F) { in initNode()
1796 void LazyCallGraph::buildGenericSCCs(RootsT &&Roots, GetBeginT &&GetBegin, in buildGenericSCCs()
1888 void LazyCallGraph::buildSCCs(RefSCC &RC, node_stack_range Nodes) { in buildSCCs()
1922 void LazyCallGraph::buildRefSCCs() { in buildRefSCCs()
1960 void LazyCallGraph::visitReferences(SmallVectorImpl<Constant *> &Worklist, in visitReferences()
1987 static void printNode(raw_ostream &OS, LazyCallGraph::Node &N) { in printNode()
1989 for (LazyCallGraph::Edge &E : N.populate()) in printNode()
1996 static void printSCC(raw_ostream &OS, LazyCallGraph::SCC &C) { in printSCC()
1999 for (LazyCallGraph::Node &N : C) in printSCC()
2003 static void printRefSCC(raw_ostream &OS, LazyCallGraph::RefSCC &C) { in printRefSCC()
2006 for (LazyCallGraph::SCC &InnerC : C) in printRefSCC()
2014 LazyCallGraph &G = AM.getResult<LazyCallGraphAnalysis>(M); in run()
2023 for (LazyCallGraph::RefSCC &C : G.postorder_ref_sccs()) in run()
2032 static void printNodeDOT(raw_ostream &OS, LazyCallGraph::Node &N) { in printNodeDOT()
2036 for (LazyCallGraph::Edge &E : N.populate()) { in printNodeDOT()
2049 LazyCallGraph &G = AM.getResult<LazyCallGraphAnalysis>(M); in run()