Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DImportedFunctionsInliningStatistics.cpp38 InlineGraphNode &CalleeNode = createInlineGraphNode(Callee); in recordInline() local
39 CalleeNode.NumberOfInlines++; in recordInline()
41 if (!CallerNode.Imported && !CalleeNode.Imported) { in recordInline()
46 CalleeNode.NumberOfRealInlines++; in recordInline()
50 CallerNode.InlinedCallees.push_back(&CalleeNode); in recordInline()
DInlineFunction.cpp1186 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() local
1191 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()
1195 if (CalleeNode == CallerNode) { in UpdateCallGraphAfterInlining()
/external/llvm-project/llvm/lib/Transforms/Utils/
DImportedFunctionsInliningStatistics.cpp38 InlineGraphNode &CalleeNode = createInlineGraphNode(Callee); in recordInline() local
39 CalleeNode.NumberOfInlines++; in recordInline()
41 if (!CallerNode.Imported && !CalleeNode.Imported) { in recordInline()
46 CalleeNode.NumberOfRealInlines++; in recordInline()
50 CallerNode.InlinedCallees.push_back(&CalleeNode); in recordInline()
DInlineFunction.cpp1273 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() local
1278 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining()
1282 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-10.0/llvm/lib/Analysis/
DCallGraphSCCPass.cpp323 CallGraphNode *CalleeNode; in RefreshCallGraph() local
325 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
334 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
338 CGN->replaceCallEdge(*Call, *Call, CalleeNode); in RefreshCallGraph()
347 CallGraphNode *CalleeNode; in RefreshCallGraph() local
349 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
352 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
356 CGN->addCalledFunction(Call, CalleeNode); in RefreshCallGraph()
DGlobalsModRef.cpp551 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph() local
552 if (!is_contained(SCC, CalleeNode)) in AnalyzeCallGraph()
/external/llvm-project/llvm/lib/Analysis/
DCallGraphSCCPass.cpp353 CallGraphNode *CalleeNode; in RefreshCallGraph() local
355 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
364 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
368 CGN->replaceCallEdge(*Call, *Call, CalleeNode); in RefreshCallGraph()
377 CallGraphNode *CalleeNode; in RefreshCallGraph() local
379 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
382 CalleeNode = CG.getCallsExternalNode(); in RefreshCallGraph()
386 CGN->addCalledFunction(Call, CalleeNode); in RefreshCallGraph()
DGlobalsModRef.cpp553 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph() local
554 if (!is_contained(SCC, CalleeNode)) in AnalyzeCallGraph()
/external/llvm-project/clang-tools-extra/clang-move/
DHelperDeclRefGraph.cpp50 CallGraphNode *CalleeNode = getOrInsertNode(const_cast<Decl *>(Callee)); in addEdge() local
51 CallerNode->addCallee({CalleeNode, /*CallExpr=*/nullptr}); in addEdge()
/external/clang/lib/Analysis/
DCallGraph.cpp57 CallGraphNode *CalleeNode = G->getOrInsertNode(D); in addCalledDecl() local
58 CallerNode->addCallee(CalleeNode, G); in addCalledDecl()
/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-10.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp128 CallGraphNode *CalleeNode = CG[Callee]; in runImpl() local
131 if (SCCNodes.count(CalleeNode) > 0) in runImpl()
DInliner.cpp728 CallGraphNode *CalleeNode = CG[Callee]; in inlineCallsImpl() local
731 CalleeNode->removeAllCalledFunctions(); in inlineCallsImpl()
734 delete CG.removeFunctionFromModule(CalleeNode); in inlineCallsImpl()
/external/llvm-project/clang/lib/Analysis/
DCallGraph.cpp71 CallGraphNode *CalleeNode = G->getOrInsertNode(D); in addCalledDecl() local
72 CallerNode->addCallee({CalleeNode, CallExpr}); in addCalledDecl()
/external/llvm-project/llvm/lib/Transforms/IPO/
DInliner.cpp514 CallGraphNode *CalleeNode = CG[Callee]; in inlineCallsImpl() local
517 CalleeNode->removeAllCalledFunctions(); in inlineCallsImpl()
520 delete CG.removeFunctionFromModule(CalleeNode); in inlineCallsImpl()
/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()