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

  /external/llvm/lib/Transforms/IPO/
PruneEH.cpp 240 CallGraphNode *CGN = CG[BB->getParent()];
245 CGN->removeCallEdgeFor(CI);
247 CGN->removeCallEdgeFor(II);
Inliner.cpp 648 CallGraphNode *CGN = I->second;
649 Function *F = CGN->getFunction();
669 CGN->removeAllCalledFunctions();
674 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
677 FunctionsToRemove.push_back(CGN);
ArgumentPromotion.cpp 81 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
115 if (CallGraphNode *CGN = PromoteArguments(*I)) {
117 SCC.ReplaceNode(*I, CGN);
131 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) {
132 Function *F = CGN->getFunction();
    [all...]
  /external/llvm/lib/Analysis/IPA/
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));
CallGraphSCCPass.cpp 196 CallGraphNode *CGN = *SCCIdx;
197 Function *F = CGN->getFunction();
201 // CGN with those actually in the function.
208 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) {
233 CGN->removeCallEdge(I);
240 E = CGN->end();
303 // Update the edge target in CGN.
304 CGN->replaceCallEdge(CS, CS, CalleeNode);
312 // If the call site didn't exist in the CGN yet, add it
    [all...]

Completed in 331 milliseconds