Home
last modified time | relevance | path

Searched refs:CGN (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Analysis/
DCallGraphSCCPass.cpp145 for (CallGraphNode *CGN : CurSCC) { in RunPassOnSCC()
146 if (Function *F = CGN->getFunction()) { in RunPassOnSCC()
183 for (CallGraphNode *CGN : CurSCC) in RefreshCallGraph()
184 CGN->dump(); in RefreshCallGraph()
194 CallGraphNode *CGN = *SCCIdx; in RefreshCallGraph() local
195 Function *F = CGN->getFunction(); in RefreshCallGraph()
206 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) { in RefreshCallGraph()
236 CGN->removeCallEdge(I); in RefreshCallGraph()
243 E = CGN->end(); in RefreshCallGraph()
314 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
[all …]
DCallGraph.cpp139 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
140 assert(CGN->empty() && "Cannot remove function from call " in removeFunctionFromModule()
142 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
168 auto &CGN = FunctionMap[F]; in getOrInsertFunction() local
169 if (CGN) in getOrInsertFunction()
170 return CGN.get(); in getOrInsertFunction()
173 CGN = llvm::make_unique<CallGraphNode>(const_cast<Function *>(F)); in getOrInsertFunction()
174 return CGN.get(); in getOrInsertFunction()
DGlobalsModRef.cpp479 for (auto *CGN : SCC) in CollectSCCMembership() local
480 if (Function *F = CGN->getFunction()) in CollectSCCMembership()
/external/llvm/include/llvm/Analysis/
DCallGraph.h159 Function *removeFunctionFromModule(CallGraphNode *CGN);
374 Function *removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
375 return G->removeFunctionFromModule(CGN); in removeFunctionFromModule()
410 static NodeType *getEntryNode(CallGraphNode *CGN) { return CGN; }
431 static NodeType *getEntryNode(const CallGraphNode *CGN) { return CGN; }
448 static NodeType *getEntryNode(CallGraph *CGN) {
449 return CGN->getExternalCallingNode(); // Start at the external node!
471 static NodeType *getEntryNode(const CallGraph *CGN) {
472 return CGN->getExternalCallingNode(); // Start at the external node!
/external/clang/include/clang/Analysis/
DCallGraph.h178 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; }
194 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; }
202 static NodeType *getEntryNode(clang::CallGraph *CGN) {
203 return CGN->getRoot(); // Start at the external node!
227 static NodeType *getEntryNode(const clang::CallGraph *CGN) {
228 return CGN->getRoot();
/external/llvm/lib/Transforms/IPO/
DInliner.cpp676 auto RemoveCGN = [&](CallGraphNode *CGN) { in removeDeadFunctions() argument
678 CGN->removeAllCalledFunctions(); in removeDeadFunctions()
683 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN); in removeDeadFunctions()
686 FunctionsToRemove.push_back(CGN); in removeDeadFunctions()
692 CallGraphNode *CGN = I.second.get(); in removeDeadFunctions() local
693 Function *F = CGN->getFunction(); in removeDeadFunctions()
717 DeadFunctionsInComdats.push_back(CGN); in removeDeadFunctions()
722 RemoveCGN(CGN); in removeDeadFunctions()
740 for (CallGraphNode *CGN : DeadFunctionsInComdats) { in removeDeadFunctions()
741 Function *F = CGN->getFunction(); in removeDeadFunctions()
[all …]
DPruneEH.cpp254 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock() local
259 CGN->removeCallEdgeFor(CI); in DeleteBasicBlock()
261 CGN->removeCallEdgeFor(II); in DeleteBasicBlock()
DArgumentPromotion.cpp87 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
121 if (CallGraphNode *CGN = PromoteArguments(*I)) { in runOnSCC() local
123 SCC.ReplaceNode(*I, CGN); in runOnSCC()
210 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) { in PromoteArguments() argument
211 Function *F = CGN->getFunction(); in PromoteArguments()
1008 CallGraphNode *CGN = CG[F]; in DoPromotion() local
1009 if (CGN->getNumReferences() == 0) in DoPromotion()
1010 delete CG.removeFunctionFromModule(CGN); in DoPromotion()
DFunctionAttrs.cpp1813 const CallGraphNode *CGN = *SCC.begin(); in addNoRecurseAttrs() local
1814 Function *F = CGN->getFunction(); in addNoRecurseAttrs()
1821 if (std::all_of(CGN->begin(), CGN->end(), in addNoRecurseAttrs()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt8153 "GB-CGN",
18482 "CGN",