/external/swiftshader/third_party/LLVM/include/llvm/ |
CallGraphSCCPass.h | 44 virtual bool doInitialization(CallGraph &CG) { 60 virtual bool doFinalization(CallGraph &CG) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
GlobalsModRefTest.cpp | 48 llvm::CallGraph CG(*M); 50 auto AAR = GlobalsAAResult::analyzeModule(*M, TLI, CG);
|
CGSCCPassManagerTest.cpp | 141 LazyCallGraph &CG, CGSCCUpdateResult &UR) { 142 return Func(C, AM, CG, UR); 274 LazyCallGraph &CG, CGSCCUpdateResult &UR) { 278 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); 280 AM.getResult<FunctionAnalysisManagerCGSCCProxy>(C, CG).getManager(); 286 TestSCCAnalysis::Result &AR = AM.getResult<TestSCCAnalysis>(C, CG); 351 LazyCallGraph &CG, CGSCCUpdateResult &UR) { 353 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager(); 370 LazyCallGraph &CG, CGSCCUpdateResult &UR) { 372 AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
CGSCCPassManager.h | 160 LazyCallGraph &CG, CGSCCUpdateResult &) { 161 (void)AM.template getResult<AnalysisT>(C, CG); 227 /// update result struct and use it to reflect the results of any CG updates 297 /// infinite inlining. See the comments in the inliner's CG update logic. 348 LazyCallGraph &CG = AM.getResult<LazyCallGraphAnalysis>(M); 368 CG.buildRefSCCs(); 369 for (auto RCI = CG.postorder_ref_scc_begin(), 370 RCE = CG.postorder_ref_scc_end(); 431 PreservedAnalyses PassPA = Pass.run(*C, CGAM, CG, UR); 552 /// including returning whether any changes were made and populating a CG [all...] |
GlobalsModRef.h | 83 CallGraph &CG); 107 void AnalyzeCallGraph(CallGraph &CG, Module &M); 113 void CollectSCCMembership(CallGraph &CG);
|
SyntheticCountsUtils.h | 43 static void propagate(const CallGraphType &CG, GetRelBBFreqTy GetRelBBFreq,
|
CallGraph.h | 471 static nodes_iterator nodes_begin(CallGraph *CG) { 472 return nodes_iterator(CG->begin(), &CGGetValuePtr); 475 static nodes_iterator nodes_end(CallGraph *CG) { 476 return nodes_iterator(CG->end(), &CGGetValuePtr); 498 static nodes_iterator nodes_begin(const CallGraph *CG) { 499 return nodes_iterator(CG->begin(), &CGGetValuePtr); 502 static nodes_iterator nodes_end(const CallGraph *CG) { 503 return nodes_iterator(CG->end(), &CGGetValuePtr);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
Inliner.cpp | 331 CallGraph &CG = getAnalysis<CallGraph>(); 391 InlineFunctionInfo InlineInfo(&CG, TD); 415 CG[Caller]->removeCallEdgeFor(CS); 474 CG[Callee]->getNumReferences() == 0) { 477 CallGraphNode *CalleeNode = CG[Callee]; 485 delete CG.removeFunctionFromModule(CalleeNode); 511 bool Inliner::doFinalization(CallGraph &CG) { 512 return removeDeadFunctions(CG); 517 bool Inliner::removeDeadFunctions(CallGraph &CG, 523 for (CallGraph::iterator I = CG.begin(), E = CG.end(); I != E; ++I) [all...] |
Internalize.cpp | 104 CallGraph *CG = getAnalysisIfAvailable<CallGraph>(); 105 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : 0; 135 if (ExternalNode) ExternalNode->removeOneAbstractEdgeTo((*CG)[I]);
|
/external/llvm/include/llvm/Analysis/ |
GlobalsModRef.h | 83 CallGraph &CG); 107 void AnalyzeCallGraph(CallGraph &CG, Module &M); 113 void CollectSCCMembership(CallGraph &CG);
|
CallGraph.h | 466 static nodes_iterator nodes_begin(CallGraph *CG) { 467 return map_iterator(CG->begin(), DerefFun(CGdereference)); 469 static nodes_iterator nodes_end(CallGraph *CG) { 470 return map_iterator(CG->end(), DerefFun(CGdereference)); 489 static nodes_iterator nodes_begin(const CallGraph *CG) { 490 return map_iterator(CG->begin(), DerefFun(CGdereference)); 492 static nodes_iterator nodes_end(const CallGraph *CG) { 493 return map_iterator(CG->end(), DerefFun(CGdereference));
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lto/ |
lto.cpp | 154 static void lto_add_attrs(lto_code_gen_t cg) { 155 LTOCodeGenerator *CG = unwrap(cg); 164 CG->setAttr(attrs); 169 CG->setOptLevel(OptLevel - '0'); 170 CG->setFreestanding(EnableFreestanding); 294 lto_code_gen_t cg) { 298 unwrap(cg)->getContext(), mem, length, Options, StringRef(path)); 329 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, 332 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt) [all...] |
/external/u-boot/arch/x86/include/asm/arch-broadwell/ |
rcb.h | 34 #define CG 0x341c /* 32bit */
|
/external/llvm/tools/opt/ |
PrintSCC.cpp | 94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); 97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd();
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
Cloning.h | 175 explicit InlineFunctionInfo(CallGraph *cg = 0, const TargetData *td = 0) 176 : CG(cg), TD(td) {} 178 /// CG - If non-null, InlineFunction will update the callgraph to reflect the 180 CallGraph *CG; 188 /// inlined from the callee. This is only filled in if CG is non-null.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
SyntheticCountsUtils.cpp | 87 /// Propgate synthetic entry counts on a callgraph \p CG. 96 void SyntheticCountsUtils<CallGraphType>::propagate(const CallGraphType &CG, 103 for (auto I = scc_begin(CG); !I.isAtEnd(); ++I)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
Coroutines.cpp | 174 static void buildCGN(CallGraph &CG, CallGraphNode *Node) { 185 Node->addCalledFunction(CS, CG.getCallsExternalNode()); 187 Node->addCalledFunction(CS, CG.getOrInsertFunction(Callee)); 194 CallGraph &CG, CallGraphSCC &SCC) { 196 auto *ParentNode = CG[&ParentFunc]; 198 buildCGN(CG, ParentNode); 203 CallGraphNode *Callee = CG.getOrInsertFunction(F); 205 buildCGN(CG, Callee);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/ |
PrintSCC.cpp | 94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); 97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DebugCheckers.cpp | 127 CallGraph CG; 128 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 129 CG.viewGraph(); 147 CallGraph CG; 148 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 149 CG.dump();
|
/external/llvm/lib/Transforms/IPO/ |
Internalize.cpp | 153 bool InternalizePass::internalizeModule(Module &M, CallGraph *CG) { 155 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; 192 ExternalNode->removeOneAbstractEdgeTo((*CG)[&I]); 272 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; 273 return internalizeModule(M, MustPreserveGV, CG);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
Internalize.cpp | 153 bool InternalizePass::internalizeModule(Module &M, CallGraph *CG) { 155 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; 192 ExternalNode->removeOneAbstractEdgeTo((*CG)[&I]); 272 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; 273 return internalizeModule(M, MustPreserveGV, CG);
|
AlwaysInliner.cpp | 113 bool doFinalization(CallGraph &CG) override { 114 return removeDeadFunctions(CG, /*AlwaysInlineOnly=*/true);
|
SyntheticCountsPropagation.cpp | 122 CallGraph CG(M); 125 &CG, GetCallSiteRelFreq,
|
/external/llvm/tools/lto/ |
lto.cpp | 146 static void lto_add_attrs(lto_code_gen_t cg) { 147 LTOCodeGenerator *CG = unwrap(cg); 156 CG->setAttr(attrs.c_str()); 161 CG->setOptLevel(OptLevel - '0'); 281 lto_code_gen_t cg) { 285 unwrap(cg)->getContext(), mem, length, Options, path); 316 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, 319 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt); 342 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Cloning.h | 178 explicit InlineFunctionInfo(CallGraph *cg = nullptr, 180 : CG(cg), ACT(ACT) {} 182 /// CG - If non-null, InlineFunction will update the callgraph to reflect the 184 CallGraph *CG; 192 /// inlined from the callee. This is only filled in if CG is non-null.
|