Home | History | Annotate | Download | only in IPA

Lines Matching defs:Root

30   // Root is root of the call graph, or the external node if a 'main' function
33 CallGraphNode *Root;
45 BasicCallGraph() : ModulePass(ID), Root(0),
56 Root = 0;
63 if (Root == 0) Root = ExternalCallingNode;
73 OS << "CallGraph Root is: ";
100 // getRoot - Return the root of the call graph, which is either main, or if
103 CallGraphNode *getRoot() { return Root; }
104 const CallGraphNode *getRoot() const { return Root; }
123 if (Root) // Found multiple external mains? Don't pick one.
124 Root = ExternalCallingNode;
126 Root = Node; // Found a main, keep track of it!