Home
last modified time | relevance | path

Searched refs:CalleeNode (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DImportedFunctionsInliningStatistics.cpp39 InlineGraphNode &CalleeNode = createInlineGraphNode(Callee); in recordInline() local
40 CalleeNode.NumberOfInlines++; in recordInline()
42 if (!CallerNode.Imported && !CalleeNode.Imported) { in recordInline()
47 CalleeNode.NumberOfRealInlines++; in recordInline()
51 CallerNode.InlinedCallees.push_back(&CalleeNode); in recordInline()
DInlineFunction.cpp1180 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() local
1185 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()
1189 if (CalleeNode == CallerNode) { in UpdateCallGraphAfterInlining()
/external/llvm/lib/Analysis/
DCallGraphSCCPass.cpp300 CallGraphNode *CalleeNode; in RefreshCallGraph() local
302 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
311 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
315 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
324 CallGraphNode *CalleeNode; in RefreshCallGraph() local
326 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
329 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
333 CGN->addCalledFunction(CS, CalleeNode); in RefreshCallGraph()
DGlobalsModRef.cpp523 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph() local
524 if (std::find(SCC.begin(), SCC.end(), CalleeNode) == SCC.end()) in AnalyzeCallGraph()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraphSCCPass.cpp279 CallGraphNode *CalleeNode; in RefreshCallGraph() local
281 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
290 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
294 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
303 CallGraphNode *CalleeNode; in RefreshCallGraph() local
305 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
308 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
312 CGN->addCalledFunction(CS, CalleeNode); in RefreshCallGraph()
DGlobalsModRef.cpp434 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph() local
435 if (std::find(SCC.begin(), SCC.end(), CalleeNode) == SCC.end()) in AnalyzeCallGraph()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCallGraphSCCPass.cpp312 CallGraphNode *CalleeNode; in RefreshCallGraph() local
314 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
323 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
327 CGN->replaceCallEdge(CS, CS, CalleeNode); in RefreshCallGraph()
336 CallGraphNode *CalleeNode; in RefreshCallGraph() local
338 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
341 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
345 CGN->addCalledFunction(CS, CalleeNode); in RefreshCallGraph()
DGlobalsModRef.cpp545 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph() local
546 if (!is_contained(SCC, CalleeNode)) in AnalyzeCallGraph()
/external/clang/lib/Analysis/
DCallGraph.cpp57 CallGraphNode *CalleeNode = G->getOrInsertNode(D); in addCalledDecl() local
58 CallerNode->addCallee(CalleeNode, G); in addCalledDecl()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp477 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC() local
480 CalleeNode->removeAllCalledFunctions(); in runOnSCC()
485 delete CG.removeFunctionFromModule(CalleeNode); in runOnSCC()
DPruneEH.cpp120 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC() local
123 if (!SCCNodes.count(CalleeNode)) { in runOnSCC()
DArgumentPromotion.cpp755 CallGraphNode *CalleeNode = CG[Call->getParent()->getParent()]; in DoPromotion() local
756 CalleeNode->replaceCallEdge(Call, New, NF_CGN); in DoPromotion()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp132 CallGraphNode *CalleeNode = CG[Callee]; in runImpl() local
135 if (SCCNodes.count(CalleeNode) > 0) in runImpl()
DInliner.cpp538 CallGraphNode *CalleeNode = CG[Callee]; in inlineCalls() local
541 CalleeNode->removeAllCalledFunctions(); in inlineCalls()
544 delete CG.removeFunctionFromModule(CalleeNode); in inlineCalls()
DArgumentPromotion.cpp897 CallGraphNode *CalleeNode = CG[Call->getParent()->getParent()]; in DoPromotion() local
898 CalleeNode->replaceCallEdge(CS, CallSite(New), NF_CGN); in DoPromotion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp128 CallGraphNode *CalleeNode = CG[Callee]; in runImpl() local
131 if (SCCNodes.count(CalleeNode) > 0) in runImpl()
DInliner.cpp662 CallGraphNode *CalleeNode = CG[Callee]; in inlineCallsImpl() local
665 CalleeNode->removeAllCalledFunctions(); in inlineCallsImpl()
668 delete CG.removeFunctionFromModule(CalleeNode); in inlineCallsImpl()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp675 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() local
680 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()
684 if (CalleeNode == CallerNode) { in UpdateCallGraphAfterInlining()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1102 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() local
1107 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()
1111 if (CalleeNode == CallerNode) { in UpdateCallGraphAfterInlining()