Searched refs:CallGraphNode (Results 1 – 17 of 17) sorted by relevance
68 class CallGraphNode; variable78 typedef std::map<const Function *, std::unique_ptr<CallGraphNode>>86 CallGraphNode *Root;90 CallGraphNode *ExternalCallingNode;94 std::unique_ptr<CallGraphNode> CallsExternalNode;127 inline const CallGraphNode *operator[](const Function *F) const {134 inline CallGraphNode *operator[](const Function *F) {142 CallGraphNode *getExternalCallingNode() const { return ExternalCallingNode; } in getExternalCallingNode()144 CallGraphNode *getCallsExternalNode() const { in getCallsExternalNode()159 Function *removeFunctionFromModule(CallGraphNode *CGN);[all …]
29 class CallGraphNode; variable85 std::vector<CallGraphNode*> Nodes;90 void initialize(CallGraphNode *const *I, CallGraphNode *const *E) { in initialize()99 void ReplaceNode(CallGraphNode *Old, CallGraphNode *New);101 typedef std::vector<CallGraphNode *>::const_iterator iterator;
27 class CallGraphNode; variable35 friend class CallGraphNode; variable37 typedef llvm::DenseMap<const Decl *, CallGraphNode *> FunctionMapTy;43 CallGraphNode *Root;61 CallGraphNode *getNode(const Decl *) const;65 CallGraphNode *getOrInsertNode(Decl *);81 CallGraphNode *getRoot() const { return Root; } in getRoot()86 typedef llvm::SetVector<CallGraphNode *>::iterator nodes_iterator;87 typedef llvm::SetVector<CallGraphNode *>::const_iterator const_nodes_iterator;130 CallGraphNode *allocateNewNode(Decl *);[all …]
25 CallsExternalNode(llvm::make_unique<CallGraphNode>(nullptr)) { in CallGraph()58 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph()111 SmallVector<CallGraphNode *, 16> Nodes; in print()118 [](CallGraphNode *LHS, CallGraphNode *RHS) { in print()126 for (CallGraphNode *CN : Nodes) in print()139 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule()167 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction()173 CGN = llvm::make_unique<CallGraphNode>(const_cast<Function *>(F)); in getOrInsertFunction()181 void CallGraphNode::print(raw_ostream &OS) const { in print()200 void CallGraphNode::dump() const { print(dbgs()); } in dump()[all …]
145 for (CallGraphNode *CGN : CurSCC) { in RunPassOnSCC()179 DenseMap<Value*, CallGraphNode*> CallSites; in RefreshCallGraph()183 for (CallGraphNode *CGN : CurSCC) in RefreshCallGraph()194 CallGraphNode *CGN = *SCCIdx; in RefreshCallGraph()206 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) { in RefreshCallGraph()273 DenseMap<Value*, CallGraphNode*>::iterator ExistingIt = in RefreshCallGraph()276 CallGraphNode *ExistingNode = ExistingIt->second; in RefreshCallGraph()299 CallGraphNode *CalleeNode; in RefreshCallGraph()323 CallGraphNode *CalleeNode; in RefreshCallGraph()363 for (CallGraphNode *CGN : CurSCC) in RefreshCallGraph()[all …]
30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
476 const std::vector<CallGraphNode *> &SCC = *I; in CollectSCCMembership()494 const std::vector<CallGraphNode *> &SCC = *I; in AnalyzeCallGraph()542 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end(); in AnalyzeCallGraph()551 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph()
33 CallGraphNode *CallerNode;36 CGBuilder(CallGraph *g, CallGraphNode *N) in CGBuilder()57 CallGraphNode *CalleeNode = G->getOrInsertNode(D); in addCalledDecl()134 CallGraphNode *Node = getOrInsertNode(D); in addNodeForDecl()142 CallGraphNode *CallGraph::getNode(const Decl *F) const { in getNode()148 CallGraphNode *CallGraph::getOrInsertNode(Decl *F) { in getOrInsertNode()152 CallGraphNode *&Node = FunctionMap[F]; in getOrInsertNode()156 Node = new CallGraphNode(F); in getOrInsertNode()171 const CallGraphNode *N = *I; in print()180 for (CallGraphNode::const_iterator CI = N->begin(), in print()[all …]
480 for (CallGraphNode *Node : SCC) { in runOnSCC()497 for (CallGraphNode *Node : SCC) { in runOnSCC()634 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC()672 SmallVector<CallGraphNode*, 16> FunctionsToRemove; in removeDeadFunctions()673 SmallVector<CallGraphNode *, 16> DeadFunctionsInComdats; in removeDeadFunctions()676 auto RemoveCGN = [&](CallGraphNode *CGN) { in removeDeadFunctions()692 CallGraphNode *CGN = I.second.get(); in removeDeadFunctions()740 for (CallGraphNode *CGN : DeadFunctionsInComdats) { in removeDeadFunctions()767 for (CallGraphNode *CGN : FunctionsToRemove) { in removeDeadFunctions()
87 CallGraphNode *PromoteArguments(CallGraphNode *CGN);90 CallGraphNode *DoPromotion(Function *F,121 if (CallGraphNode *CGN = PromoteArguments(*I)) { in runOnSCC()210 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) { in PromoteArguments()607 CallGraphNode *ArgPromotion::DoPromotion(Function *F, in DoPromotion()753 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF); in DoPromotion()875 CallGraphNode *CalleeNode = CG[Call->getParent()->getParent()]; in DoPromotion()1008 CallGraphNode *CGN = CG[F]; in DoPromotion()
66 SmallPtrSet<CallGraphNode *, 8> SCCNodes; in runOnSCC()131 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC()254 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock()
175 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; in runOnModule()
1813 const CallGraphNode *CGN = *SCC.begin(); in addNoRecurseAttrs()1822 [](const CallGraphNode::CallRecord &CR) { in addNoRecurseAttrs()
99 const std::vector<CallGraphNode*> &nextSCC = *SCCI; in runOnModule()101 for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(), in runOnModule()
773 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining()774 CallGraphNode *CallerNode = CG[Caller]; in UpdateCallGraphAfterInlining()778 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()781 CallGraphNode::CalledFunctionsVector CallCache; in UpdateCallGraphAfterInlining()
480 CallGraphNode *N = *I; in HandleDeclsCallGraph()
META-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...