| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CallGraphUpdater.cpp | 29 if (CG) { 34 CallGraphNode *DeadCGN = (*CG)[DeadFn]; 36 CG->getExternalCallingNode()->removeAnyCallEdgeTo(DeadCGN); 42 CallGraphNode *DeadCGN = CG->getOrInsertFunction(DeadFn); 45 delete CG->removeFunctionFromModule(DeadCGN); 88 if (CG) { 89 CallGraphNode *OldCGN = CG->getOrInsertFunction(&Fn); 91 CG->populateCallGraphNode(OldCGN); 101 if (CG) 102 CG->addToCallGraph(&NewFn) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
| Internalize.h | 61 /// If the CallGraph \p CG is supplied, it will be updated when 63 bool internalizeModule(Module &TheModule, CallGraph *CG = nullptr); 72 CallGraph *CG = nullptr) { 74 .internalizeModule(TheModule, CG);
|
| Inliner.h | 42 bool doInitialization(CallGraph &CG) override; 52 bool doFinalization(CallGraph &CG) override; 65 bool removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly = false); 104 LazyCallGraph &CG, CGSCCUpdateResult &UR);
|
| ArgumentPromotion.h | 42 LazyCallGraph &CG, CGSCCUpdateResult &UR);
|
| FunctionAttrs.h | 52 LazyCallGraph &CG, CGSCCUpdateResult &UR);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Coroutines/ |
| CoroSplit.h | 28 LazyCallGraph &CG, CGSCCUpdateResult &UR);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| CallGraphUpdater.h | 42 CallGraph *CG = nullptr; 62 void initialize(CallGraph &CG, CallGraphSCC &SCC) { 63 this->CG = &CG; 77 /// Finalizer that will trigger actions like function removal from the CG.
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| CallGraphSCCPass.h | 48 virtual bool doInitialization(CallGraph &CG) { 63 virtual bool doFinalization(CallGraph &CG) { 88 const CallGraph &CG; // The call graph for this SCC. 93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} 115 const CallGraph &getCallGraph() { return CG; }
|
| CallGraph.h | 185 inline CallGraphNode(CallGraph *CG, Function *F) : CG(CG), F(F) {} 284 CallGraph *CG; 484 static nodes_iterator nodes_begin(CallGraph *CG) { 485 return nodes_iterator(CG->begin(), &CGGetValuePtr); 488 static nodes_iterator nodes_end(CallGraph *CG) { 489 return nodes_iterator(CG->end(), &CGGetValuePtr); 511 static nodes_iterator nodes_begin(const CallGraph *CG) { 512 return nodes_iterator(CG->begin(), &CGGetValuePtr) [all...] |
| GlobalsModRef.h | 92 CallGraph &CG); 118 void AnalyzeCallGraph(CallGraph &CG, Module &M); 124 void CollectSCCMembership(CallGraph &CG);
|
| SyntheticCountsUtils.h | 40 static void propagate(const CallGraphType &CG, GetProfCountTy GetProfCount,
|
| MLInlineAdvisor.h | 29 CallGraph *callGraph() const { return CG.get(); } 58 std::unique_ptr<CallGraph> CG;
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| CallGraphSCCPass.cpp | 73 bool doInitialization(CallGraph &CG); 74 bool doFinalization(CallGraph &CG); 108 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, 112 CallGraph &CG, bool &CallGraphUpToDate, 114 bool RefreshCallGraph(const CallGraphSCC &CurSCC, CallGraph &CG, 123 CallGraph &CG, bool &CallGraphUpToDate, 127 Module &M = CG.getModule(); 132 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); 164 RefreshCallGraph(CurSCC, CG, true); 205 bool CGPassManager::RefreshCallGraph(const CallGraphSCC &CurSCC, CallGraph &CG, [all...] |
| CallPrinter.cpp | 53 CallGraph *CG; 60 CallGraphDOTInfo(Module *M, CallGraph *CG, 62 : M(M), CG(CG), LookupBFI(LookupBFI) { 83 CallGraph *getCallGraph() const { return CG; } 91 for (auto &I : (*CG)) { 237 CallGraph CG(M); 238 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI); 279 CallGraph CG(M); 280 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI) [all...] |
| SyntheticCountsUtils.cpp | 77 /// Propgate synthetic entry counts on a callgraph \p CG. 86 void SyntheticCountsUtils<CallGraphType>::propagate(const CallGraphType &CG, 92 for (auto I = scc_begin(CG); !I.isAtEnd(); ++I)
|
| CGSCCPassManager.cpp | 152 LazyCallGraph &CG = AM.getResult<LazyCallGraphAnalysis>(M); 181 CG.buildRefSCCs(); 182 for (auto RCI = CG.postorder_ref_scc_begin(), 183 RCE = CG.postorder_ref_scc_end(); 248 CGAM.getResult<FunctionAnalysisManagerCGSCCProxy>(*C, CG).updateFAM( 288 PassPA = Pass->run(*C, CGAM, CG, UR); 303 CGAM.getResult<FunctionAnalysisManagerCGSCCProxy>(*C, CG).updateFAM( 370 LazyCallGraph &CG, 374 AM.getResult<PassInstrumentationAnalysis>(InitialC, CG); 421 PreservedAnalyses PassPA = Pass->run(*C, AM, CG, UR) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
| CallGraph.h | 278 static nodes_iterator nodes_begin(clang::CallGraph *CG) { 279 return nodes_iterator(CG->begin(), &CGGetValue); 282 static nodes_iterator nodes_end (clang::CallGraph *CG) { 283 return nodes_iterator(CG->end(), &CGGetValue); 286 static unsigned size(clang::CallGraph *CG) { return CG->size(); } 304 static nodes_iterator nodes_begin(const clang::CallGraph *CG) { 305 return nodes_iterator(CG->begin(), &CGGetValue); 308 static nodes_iterator nodes_end(const clang::CallGraph *CG) { 309 return nodes_iterator(CG->end(), &CGGetValue) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| Inliner.cpp | 285 bool LegacyInlinerBase::doInitialization(CallGraph &CG) { 287 ImportedFunctionsStats.setModuleInfo(CG.getModule()); 298 inlineCallsImpl(CallGraphSCC &SCC, CallGraph &CG, 377 InlineFunctionInfo InlineInfo(&CG, GetAssumptionCache, PSI); 434 CG[Caller]->removeCallEdgeFor(CB); 500 CG[Callee]->getNumReferences() == 0) { 503 CallGraphNode *CalleeNode = CG[Callee]; 509 delete CG.removeFunctionFromModule(CalleeNode); 534 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); 544 SCC, CG, GetAssumptionCache, PSI, GetTLI, InsertLifetime [all...] |
| Internalize.cpp | 150 bool InternalizePass::internalizeModule(Module &M, CallGraph *CG) { 152 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; 189 ExternalNode->removeOneAbstractEdgeTo((*CG)[&I]); 269 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; 270 return internalizeModule(M, MustPreserveGV, CG);
|
| SyntheticCountsPropagation.cpp | 127 CallGraph CG(M); 130 &CG, GetCallSiteProfCount, [&](const CallGraphNode *N, Scaled64 New) {
|
| /src/external/apache2/llvm/dist/llvm/tools/lto/ |
| lto.cpp | 151 static void lto_add_attrs(lto_code_gen_t cg) { 152 LTOCodeGenerator *CG = unwrap(cg); 153 CG->setAttrs(codegen::getMAttrs()); 157 CG->setOptLevel(OptLevel - '0'); 158 CG->setFreestanding(EnableFreestanding); 159 CG->setDisableVerify(DisableVerify); 289 lto_code_gen_t cg) { 294 unwrap(cg)->getContext(), mem, length, Options, StringRef(path)); 346 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| Coroutines.cpp | 196 static void buildCGN(CallGraph &CG, CallGraphNode *Node) { 207 Node->addCalledFunction(Call, CG.getCallsExternalNode()); 209 Node->addCalledFunction(Call, CG.getOrInsertFunction(Callee)); 216 CallGraph &CG, CallGraphSCC &SCC) { 218 auto *ParentNode = CG[&ParentFunc]; 220 buildCGN(CG, ParentNode); 225 CallGraphNode *Callee = CG.getOrInsertFunction(F); 227 buildCGN(CG, Callee); 524 static void addCallToCallGraph(CallGraph *CG, CallInst *Call, Function *Callee){ 525 if (CG) [all...] |
| CoroSplit.cpp | 169 CallGraph *CG) { 175 Shape.emitDealloc(Builder, FramePtr, CG); 226 bool InResume, CallGraph *CG) { 252 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG); 259 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG); 284 CallGraph *CG) { 299 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG); 313 Value *FramePtr, bool InResume, CallGraph *CG) { 315 replaceUnwindCoroEnd(End, Shape, FramePtr, InResume, CG); 317 replaceFallthroughCoroEnd(End, Shape, FramePtr, InResume, CG); [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/opt/ |
| PrintSCC.cpp | 94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); 97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd();
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| DebugCheckers.cpp | 215 CallGraph CG; 216 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 217 CG.viewGraph(); 239 CallGraph CG; 240 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 241 CG.dump();
|