HomeSort by relevance Sort by last modified time
    Searched refs:CGN (Results 1 - 7 of 7) sorted by null

  /external/llvm/lib/Analysis/IPA/
CallGraphSCCPass.cpp 145 for (CallGraphNode *CGN : CurSCC) {
146 if (Function *F = CGN->getFunction()) {
183 for (CallGraphNode *CGN : CurSCC)
184 CGN->dump();
194 CallGraphNode *CGN = *SCCIdx;
195 Function *F = CGN->getFunction();
199 // CGN with those actually in the function.
206 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) {
234 CGN->removeCallEdge(I)
    [all...]
CallGraph.cpp 112 // functions (ie, there are no edges in it's CGN). The easiest way to do this
115 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
116 assert(CGN->empty() && "Cannot remove function from call "
118 Function *F = CGN->getFunction(); // Get the function for the call graph node
119 delete CGN; // Delete the call graph node for this func
145 CallGraphNode *&CGN = FunctionMap[F];
146 if (CGN)
147 return CGN;
150 return CGN = new CallGraphNode(const_cast<Function*>(F));
  /external/llvm/include/llvm/Analysis/
CallGraph.h 152 /// functions (ie, there are no edges in it's CGN). The easiest way to do
154 Function *removeFunctionFromModule(CallGraphNode *CGN);
366 /// functions (ie, there are no edges in it's CGN). The easiest way to do
368 Function *removeFunctionFromModule(CallGraphNode *CGN) {
369 return G->removeFunctionFromModule(CGN);
404 static NodeType *getEntryNode(CallGraphNode *CGN) { return CGN; }
425 static NodeType *getEntryNode(const CallGraphNode *CGN) { return CGN; }
442 static NodeType *getEntryNode(CallGraph *CGN) {
    [all...]
  /external/clang/include/clang/Analysis/
CallGraph.h 178 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/
PruneEH.cpp 242 CallGraphNode *CGN = CG[BB->getParent()];
247 CGN->removeCallEdgeFor(CI);
249 CGN->removeCallEdgeFor(II);
ArgumentPromotion.cpp 82 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
115 if (CallGraphNode *CGN = PromoteArguments(*I)) {
117 SCC.ReplaceNode(*I, CGN);
204 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) {
205 Function *F = CGN->getFunction();
    [all...]
Inliner.cpp 632 CallGraphNode *CGN = I->second;
633 Function *F = CGN->getFunction();
658 CGN->removeAllCalledFunctions();
663 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
666 FunctionsToRemove.push_back(CGN);

Completed in 831 milliseconds