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

  /external/llvm/include/llvm/Analysis/
CallGraph.h 128 /// other functions (ie, there are no edges in it's CGN). The easiest way to
131 Function *removeFunctionFromModule(CallGraphNode *CGN);
315 static NodeType *getEntryNode(CallGraphNode *CGN) { return CGN; }
336 static NodeType *getEntryNode(const CallGraphNode *CGN) { return CGN; }
342 static NodeType *getEntryNode(CallGraph *CGN) {
343 return CGN->getExternalCallingNode(); // Start at the external node!
364 static NodeType *getEntryNode(const CallGraph *CGN) {
365 return CGN->getExternalCallingNode()
    [all...]
  /external/llvm/lib/Analysis/IPA/
CallGraph.cpp 219 // functions (ie, there are no edges in it's CGN). The easiest way to do this
222 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
223 assert(CGN->empty() && "Cannot remove function from call "
225 Function *F = CGN->getFunction(); // Get the function for the call graph node
226 delete CGN; // Delete the call graph node for this func
252 CallGraphNode *&CGN = FunctionMap[F];
253 if (CGN) return CGN;
256 return CGN = new CallGraphNode(const_cast<Function*>(F));
CallGraphSCCPass.cpp 188 CallGraphNode *CGN = *SCCIdx;
189 Function *F = CGN->getFunction();
193 // CGN with those actually in the function.
200 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) {
225 CGN->removeCallEdge(I);
232 E = CGN->end();
293 // Update the edge target in CGN.
294 CGN->replaceCallEdge(CS, CS, CalleeNode);
302 // If the call site didn't exist in the CGN yet, add it
    [all...]
  /external/llvm/lib/Transforms/IPO/
Inliner.cpp 524 CallGraphNode *CGN = I->second;
525 if (CGN->getFunction() == 0)
528 Function *F = CGN->getFunction();
543 CGN->removeAllCalledFunctions();
548 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
551 FunctionsToRemove.insert(CGN);
PruneEH.cpp 238 CallGraphNode *CGN = CG[BB->getParent()];
243 CGN->removeCallEdgeFor(CI);
245 CGN->removeCallEdgeFor(II);
ArgumentPromotion.cpp 77 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
106 if (CallGraphNode *CGN = PromoteArguments(*I)) {
108 SCC.ReplaceNode(*I, CGN);
122 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) {
123 Function *F = CGN->getFunction();
    [all...]

Completed in 337 milliseconds