HomeSort by relevance Sort by last modified time
    Searched refs:CGN (Results 1 - 7 of 7) 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/clang/include/clang/Analysis/
CallGraph.h 182 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; }
198 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; }
206 static NodeType *getEntryNode(clang::CallGraph *CGN) {
207 return CGN->getRoot(); // Start at the external node!
231 static NodeType *getEntryNode(const clang::CallGraph *CGN) {
232 return CGN->getRoot();
  /external/llvm/lib/Analysis/IPA/
CallGraph.cpp 212 // functions (ie, there are no edges in it's CGN). The easiest way to do this
215 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
216 assert(CGN->empty() && "Cannot remove function from call "
218 Function *F = CGN->getFunction(); // Get the function for the call graph node
219 delete CGN; // Delete the call graph node for this func
245 CallGraphNode *&CGN = FunctionMap[F];
246 if (CGN) return CGN;
249 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/
PruneEH.cpp 237 CallGraphNode *CGN = CG[BB->getParent()];
242 CGN->removeCallEdgeFor(CI);
244 CGN->removeCallEdgeFor(II);
Inliner.cpp 522 CallGraphNode *CGN = I->second;
523 Function *F = CGN->getFunction();
541 CGN->removeAllCalledFunctions();
546 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
549 FunctionsToRemove.push_back(CGN);
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 77 milliseconds