Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DCallGraphSCCPass.cpp146 for (CallGraphNode *CGN : CurSCC) { in RunPassOnSCC()
147 if (Function *F = CGN->getFunction()) { in RunPassOnSCC()
184 for (CallGraphNode *CGN : CurSCC) in RefreshCallGraph()
185 CGN->dump(); in RefreshCallGraph()
195 CallGraphNode *CGN = *SCCIdx; in RefreshCallGraph() local
196 Function *F = CGN->getFunction(); in RefreshCallGraph()
207 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) { in RefreshCallGraph()
237 CGN->removeCallEdge(I); in RefreshCallGraph()
244 E = CGN->end(); in RefreshCallGraph()
315 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
[all …]
DCallGraph.cpp137 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
138 assert(CGN->empty() && "Cannot remove function from call " in removeFunctionFromModule()
140 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
166 auto &CGN = FunctionMap[F]; in getOrInsertFunction() local
167 if (CGN) in getOrInsertFunction()
168 return CGN.get(); in getOrInsertFunction()
171 CGN = llvm::make_unique<CallGraphNode>(const_cast<Function *>(F)); in getOrInsertFunction()
172 return CGN.get(); in getOrInsertFunction()
DGlobalsModRef.cpp456 for (auto *CGN : SCC) in CollectSCCMembership() local
457 if (Function *F = CGN->getFunction()) in CollectSCCMembership()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DCallGraph.h131 Function *removeFunctionFromModule(CallGraphNode *CGN);
315 static NodeType *getEntryNode(CallGraphNode *CGN) { return CGN; }
336 static NodeType *getEntryNode(const CallGraphNode *CGN) { return CGN; }
342 static NodeType *getEntryNode(CallGraph *CGN) {
343 return CGN->getExternalCallingNode(); // Start at the external node!
364 static NodeType *getEntryNode(const CallGraph *CGN) {
365 return CGN->getExternalCallingNode();
/external/llvm/include/llvm/Analysis/
DCallGraph.h160 Function *removeFunctionFromModule(CallGraphNode *CGN);
382 Function *removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
383 return G->removeFunctionFromModule(CGN); in removeFunctionFromModule()
418 static NodeType *getEntryNode(CallGraphNode *CGN) { return CGN; }
439 static NodeType *getEntryNode(const CallGraphNode *CGN) { return CGN; }
456 static NodeType *getEntryNode(CallGraph *CGN) {
457 return CGN->getExternalCallingNode(); // Start at the external node!
479 static NodeType *getEntryNode(const CallGraph *CGN) {
480 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.cpp580 auto RemoveCGN = [&](CallGraphNode *CGN) { in removeDeadFunctions() argument
582 CGN->removeAllCalledFunctions(); in removeDeadFunctions()
587 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN); in removeDeadFunctions()
590 FunctionsToRemove.push_back(CGN); in removeDeadFunctions()
596 CallGraphNode *CGN = I.second.get(); in removeDeadFunctions() local
597 Function *F = CGN->getFunction(); in removeDeadFunctions()
621 DeadFunctionsInComdats.push_back(CGN); in removeDeadFunctions()
626 RemoveCGN(CGN); in removeDeadFunctions()
644 for (CallGraphNode *CGN : DeadFunctionsInComdats) { in removeDeadFunctions()
645 Function *F = CGN->getFunction(); in removeDeadFunctions()
[all …]
DPruneEH.cpp240 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock() local
252 CGN->removeCallEdgeFor(CS); in DeleteBasicBlock()
254 CGN->removeCallEdgeFor(CS); in DeleteBasicBlock()
DArgumentPromotion.cpp96 PromoteArguments(CallGraphNode *CGN, CallGraph &CG,
242 PromoteArguments(CallGraphNode *CGN, CallGraph &CG, in PromoteArguments() argument
245 Function *F = CGN->getFunction(); in PromoteArguments()
1030 CallGraphNode *CGN = CG[F]; in DoPromotion() local
1031 if (CGN->getNumReferences() == 0) in DoPromotion()
1032 delete CG.removeFunctionFromModule(CGN); in DoPromotion()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraph.cpp222 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() argument
223 assert(CGN->empty() && "Cannot remove function from call " in removeFunctionFromModule()
225 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
226 delete CGN; // Delete the call graph node for this func in removeFunctionFromModule()
252 CallGraphNode *&CGN = FunctionMap[F]; in getOrInsertFunction() local
253 if (CGN) return CGN; in getOrInsertFunction()
256 return CGN = new CallGraphNode(const_cast<Function*>(F)); in getOrInsertFunction()
DCallGraphSCCPass.cpp188 CallGraphNode *CGN = *SCCIdx; in RefreshCallGraph() local
189 Function *F = CGN->getFunction(); in RefreshCallGraph()
200 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) { in RefreshCallGraph()
225 CGN->removeCallEdge(I); in RefreshCallGraph()
232 E = CGN->end(); in RefreshCallGraph()
294 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
312 CGN->addCalledFunction(CS, CalleeNode); in RefreshCallGraph()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp524 CallGraphNode *CGN = I->second; in removeDeadFunctions() local
525 if (CGN->getFunction() == 0) in removeDeadFunctions()
528 Function *F = CGN->getFunction(); in removeDeadFunctions()
543 CGN->removeAllCalledFunctions(); in removeDeadFunctions()
548 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN); in removeDeadFunctions()
551 FunctionsToRemove.insert(CGN); in removeDeadFunctions()
DArgumentPromotion.cpp77 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
106 if (CallGraphNode *CGN = PromoteArguments(*I)) { in runOnSCC() local
108 SCC.ReplaceNode(*I, CGN); in runOnSCC()
122 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) { in PromoteArguments() argument
123 Function *F = CGN->getFunction(); in PromoteArguments()
898 CallGraphNode *CGN = CG[F]; in DoPromotion() local
899 if (CGN->getNumReferences() == 0) in DoPromotion()
900 delete CG.removeFunctionFromModule(CGN); in DoPromotion()
DPruneEH.cpp238 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock() local
243 CGN->removeCallEdgeFor(CI); in DeleteBasicBlock()
245 CGN->removeCallEdgeFor(II); in DeleteBasicBlock()
/external/llvm/lib/IR/
DOptBisect.cpp73 for (CallGraphNode *CGN : SCC) { in getDescription()
78 Function *F = CGN->getFunction(); in getDescription()
/external/ImageMagick/PerlMagick/t/reference/write/filter/
DRadialBlur.miff43 …0h;1fC5cN:eZDbbMKR?8A308,17,18-06-05-/5./4-05.07.-4,3=0=J99I2?P6AS8EY9OfCJ]CGN?acQheVheVheVieVieVi…
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt19586 "CGN",