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 254 CallGraphNode *CGN = CG[BB->getParent()];
259 CGN->removeCallEdgeFor(CI);
261 CGN->removeCallEdgeFor(II);
Inliner.cpp 676 auto RemoveCGN = [&](CallGraphNode *CGN) {
678 CGN->removeAllCalledFunctions();
683 CG.getExternalCallingNode()->removeAnyCallEdgeTo(CGN);
686 FunctionsToRemove.push_back(CGN);
692 CallGraphNode *CGN = I.second.get();
693 Function *F = CGN->getFunction();
717 DeadFunctionsInComdats.push_back(CGN);
722 RemoveCGN(CGN);
740 for (CallGraphNode *CGN : DeadFunctionsInComdats) {
741 Function *F = CGN->getFunction()
    [all...]
ArgumentPromotion.cpp 87 CallGraphNode *PromoteArguments(CallGraphNode *CGN);
121 if (CallGraphNode *CGN = PromoteArguments(*I)) {
123 SCC.ReplaceNode(*I, CGN);
210 CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *CGN) {
211 Function *F = CGN->getFunction();
    [all...]
  /external/llvm/lib/Analysis/
CallGraph.cpp 136 // functions (ie, there are no edges in it's CGN). The easiest way to do this
139 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
140 assert(CGN->empty() && "Cannot remove function from call "
142 Function *F = CGN->getFunction(); // Get the function for the call graph node
168 auto &CGN = FunctionMap[F];
169 if (CGN)
170 return CGN.get();
173 CGN = llvm::make_unique<CallGraphNode>(const_cast<Function *>(F));
174 return CGN.get();
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; ) {
236 CGN->removeCallEdge(I)
    [all...]

Completed in 68 milliseconds