| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
| D | CallGraph.h | 64 class CallGraphNode; variable 77 std::map<const Function *, std::unique_ptr<CallGraphNode>>; 84 CallGraphNode *ExternalCallingNode; 88 std::unique_ptr<CallGraphNode> CallsExternalNode; 121 inline const CallGraphNode *operator[](const Function *F) const { 128 inline CallGraphNode *operator[](const Function *F) { 136 CallGraphNode *getExternalCallingNode() const { return ExternalCallingNode; } in getExternalCallingNode() 138 CallGraphNode *getCallsExternalNode() const { in getCallsExternalNode() 153 Function *removeFunctionFromModule(CallGraphNode *CGN); 157 CallGraphNode *getOrInsertFunction(const Function *F); [all …]
|
| D | CallGraphSCCPass.h | 30 class CallGraphNode; variable 90 std::vector<CallGraphNode *> Nodes; 95 void initialize(ArrayRef<CallGraphNode *> NewNodes) { in initialize() 104 void ReplaceNode(CallGraphNode *Old, CallGraphNode *New); 106 using iterator = std::vector<CallGraphNode *>::const_iterator;
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
| D | CallGraph.cpp | 33 CallsExternalNode(std::make_unique<CallGraphNode>(nullptr)) { in CallGraph() 61 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 93 SmallVector<CallGraphNode *, 16> Nodes; in print() 99 llvm::sort(Nodes, [](CallGraphNode *LHS, CallGraphNode *RHS) { in print() 107 for (CallGraphNode *CN : Nodes) in print() 121 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() 148 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() 154 CGN = std::make_unique<CallGraphNode>(const_cast<Function *>(F)); in getOrInsertFunction() 162 void CallGraphNode::print(raw_ostream &OS) const { in print() 181 LLVM_DUMP_METHOD void CallGraphNode::dump() const { print(dbgs()); } in dump() [all …]
|
| D | CallGraphSCCPass.cpp | 171 for (CallGraphNode *CGN : CurSCC) { in RunPassOnSCC() 203 DenseMap<Value *, CallGraphNode *> Calls; in RefreshCallGraph() 207 for (CallGraphNode *CGN in RefreshCallGraph() 217 CallGraphNode *CGN = *SCCIdx; in RefreshCallGraph() 229 for (CallGraphNode::iterator I = CGN->begin(), E = CGN->end(); I != E; ) { in RefreshCallGraph() 297 DenseMap<Value *, CallGraphNode *>::iterator ExistingIt = in RefreshCallGraph() 300 CallGraphNode *ExistingNode = ExistingIt->second; in RefreshCallGraph() 323 CallGraphNode *CalleeNode; in RefreshCallGraph() 347 CallGraphNode *CalleeNode; in RefreshCallGraph() 388 for (CallGraphNode *CGN : CurSCC) in RefreshCallGraph() [all …]
|
| D | CallPrinter.cpp | 30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
|
| D | GlobalsModRef.cpp | 475 const std::vector<CallGraphNode *> &SCC = *I; in CollectSCCMembership() 493 const std::vector<CallGraphNode *> &SCC = *I; in AnalyzeCallGraph() 542 for (CallGraphNode::iterator CI = SCC[i]->begin(), E = SCC[i]->end(); in AnalyzeCallGraph() 551 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
| D | PruneEH.cpp | 64 SmallPtrSet<CallGraphNode *, 8> SCCNodes; in runImpl() 69 for (CallGraphNode *I : SCC) in runImpl() 74 for (CallGraphNode *I : SCC) in runImpl() 128 CallGraphNode *CalleeNode = CG[Callee]; in runImpl() 152 for (CallGraphNode *I : SCC) { in runImpl() 166 for (CallGraphNode *I : SCC) { in runImpl() 237 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock()
|
| D | SyntheticCountsPropagation.cpp | 108 auto GetCallSiteProfCount = [&](const CallGraphNode *, in run() 109 const CallGraphNode::CallRecord &Edge) { in run() 131 &CG, GetCallSiteProfCount, [&](const CallGraphNode *N, Scaled64 New) { in run() argument
|
| D | Inliner.cpp | 538 for (CallGraphNode *Node : SCC) { in inlineCallsImpl() 556 for (CallGraphNode *Node : SCC) { in inlineCallsImpl() 728 CallGraphNode *CalleeNode = CG[Callee]; in inlineCallsImpl() 786 SmallVector<CallGraphNode *, 16> FunctionsToRemove; in removeDeadFunctions() 789 auto RemoveCGN = [&](CallGraphNode *CGN) { in removeDeadFunctions() 805 CallGraphNode *CGN = I.second.get(); in removeDeadFunctions() 858 for (CallGraphNode *CGN : FunctionsToRemove) { in removeDeadFunctions()
|
| D | ArgumentPromotion.cpp | 1133 for (CallGraphNode *OldNode : SCC) { in runOnSCC() 1140 CallGraphNode *NewCalleeNode = in runOnSCC() 1142 CallGraphNode *CallerNode = CG[Caller]; in runOnSCC() 1155 CallGraphNode *NewNode = CG.getOrInsertFunction(NewF); in runOnSCC()
|
| D | Internalize.cpp | 152 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; in internalizeModule()
|
| D | FunctionAttrs.cpp | 1501 for (CallGraphNode *I : SCC) { in runImpl()
|
| D | SampleProfile.cpp | 1792 for (CallGraphNode *node : *CGI) { in INITIALIZE_PASS_DEPENDENCY()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUAnnotateKernelFeatures.cpp | 48 SmallVector<CallGraphNode*, 8> NodeList; 346 for (CallGraphNode *I : SCC) { in runOnSCC()
|
| D | AMDGPUPerfHintAnalysis.cpp | 375 for (CallGraphNode *I : SCC) { in runOnSCC()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
| D | Coroutines.cpp | 189 static void buildCGN(CallGraph &CG, CallGraphNode *Node) { in buildCGN() 215 SmallVector<CallGraphNode *, 8> Nodes(SCC.begin(), SCC.end()); in updateCallGraph() 218 CallGraphNode *Callee = CG.getOrInsertFunction(F); in updateCallGraph()
|
| D | CoroSplit.cpp | 1445 SmallVector<CallGraphNode *, 8> Nodes(SCC.begin(), SCC.end()); in createDevirtTriggerFunc() 1456 CallGraphNode *PrepareUserNode = nullptr, *FnNode = nullptr; in replacePrepare() 1560 for (CallGraphNode *CGN : SCC) in runOnSCC()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
| D | InlineFunction.cpp | 1186 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining() 1187 CallGraphNode *CallerNode = CG[Caller]; in UpdateCallGraphAfterInlining() 1191 CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); in UpdateCallGraphAfterInlining() 1194 CallGraphNode::CalledFunctionsVector CallCache; in UpdateCallGraphAfterInlining()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
| D | Attributor.h | 573 for (CallGraphNode *Node : *I)
|