Lines Matching refs:Root
24 : M(M), Root(nullptr), ExternalCallingNode(getOrInsertFunction(nullptr)),
31 if (!Root)
32 Root = ExternalCallingNode;
36 : M(Arg.M), FunctionMap(std::move(Arg.FunctionMap)), Root(Arg.Root),
40 Arg.Root = nullptr;
66 if (Root) // Found multiple external mains? Don't pick one.
67 Root = ExternalCallingNode;
69 Root = Node; // Found a main, keep track of it!
101 OS << "CallGraph Root is: ";
102 if (Function *F = Root->getFunction())
105 OS << "<<null function: 0x" << Root << ">>\n";