Searched refs:CGN (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraph.h151 /// functions (ie, there are no edges in it's CGN). The easiest way to do
153 Function *removeFunctionFromModule(CallGraphNode *CGN);
376 /// functions (ie, there are no edges in it's CGN). The easiest way to do
378 Function *removeFunctionFromModule(CallGraphNode *CGN) { argument
379 return G->removeFunctionFromModule(CGN);
411 static NodeRef getEntryNode(CallGraphNode *CGN) { return CGN; } argument
431 static NodeRef getEntryNode(const CallGraphNode *CGN) { return CGN; } argument
459 static NodeRef getEntryNode(CallGraph *CGN) { argument
486 getEntryNode(const CallGraph *CGN) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h190 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; } argument
200 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; } argument
207 static NodeType *getEntryNode(clang::CallGraph *CGN) { argument
208 return CGN->getRoot(); // Start at the external node!
233 static NodeType *getEntryNode(const clang::CallGraph *CGN) { argument
234 return CGN->getRoot();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCallGraph.cpp118 // functions (ie, there are no edges in it's CGN). The easiest way to do this
121 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { argument
122 assert(CGN->empty() && "Cannot remove function from call "
124 Function *F = CGN->getFunction(); // Get the function for the call graph node
149 auto &CGN = FunctionMap[F]; local
150 if (CGN)
151 return CGN.get();
154 CGN = std::make_unique<CallGraphNode>(const_cast<Function *>(F));
155 return CGN.get();
H A DCallGraphSCCPass.cpp171 for (CallGraphNode *CGN : CurSCC) {
172 if (Function *F = CGN->getFunction()) {
207 for (CallGraphNode *CGN
208 : CurSCC) CGN->dump(););
217 CallGraphNode *CGN = *SCCIdx; local
218 Function *F = CGN->getFunction();
222 // CGN with those actually in the function.
229 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) {
259 CGN
[all...]
H A DGlobalsModRef.cpp478 for (auto *CGN : SCC)
479 if (Function *F = CGN->getFunction())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp237 CallGraphNode *CGN = CG[BB->getParent()]; local
249 CGN->removeCallEdgeFor(*Call);
251 CGN->removeCallEdgeFor(*Call);
H A DInliner.cpp789 auto RemoveCGN = [&](CallGraphNode *CGN) {
791 CGN->removeAllCalledFunctions();
796 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
799 FunctionsToRemove.push_back(CGN);
805 CallGraphNode *CGN = I.second.get();
806 Function *F = CGN->getFunction();
834 RemoveCGN(CGN);
858 for (CallGraphNode *CGN : FunctionsToRemove) {
859 delete CG.removeFunctionFromModule(CGN);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1563 for (CallGraphNode *CGN : SCC)
1564 if (auto *F = CGN->getFunction())

Completed in 292 milliseconds