Home
last modified time | relevance | path

Searched refs:CG (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp125 LazyCallGraph CG(*M); in TEST() local
130 auto I = CG.begin(); in TEST()
155 EXPECT_EQ(CG.end(), I); in TEST()
206 auto SCCI = CG.postorder_scc_begin(); in TEST()
268 EXPECT_EQ(CG.postorder_scc_end(), SCCI); in TEST()
294 LazyCallGraph CG(*M); in TEST() local
296 LazyCallGraph::Node &A = CG.get(lookupFunction(*M, "a")); in TEST()
297 LazyCallGraph::Node &B = CG.get(lookupFunction(*M, "b")); in TEST()
301 CG.insertEdge(B, lookupFunction(*M, "c")); in TEST()
306 CG.insertEdge(C, B.getFunction()); in TEST()
[all …]
/external/llvm/lib/Analysis/IPA/
DCallGraphSCCPass.cpp59 bool doInitialization(CallGraph &CG);
60 bool doFinalization(CallGraph &CG);
96 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG,
100 CallGraph &CG, bool &CallGraphUpToDate,
102 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG,
112 CallGraph &CG, bool &CallGraphUpToDate, in RunPassOnSCC() argument
120 DevirtualizedCall |= RefreshCallGraph(CurSCC, CG, false); in RunPassOnSCC()
133 RefreshCallGraph(CurSCC, CG, true); in RunPassOnSCC()
179 CallGraph &CG, bool CheckingMode) { in RefreshCallGraph() argument
291 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
[all …]
DGlobalsModRef.cpp185 void AnalyzeCallGraph(CallGraph &CG, Module &M);
358 void GlobalsModRef::AnalyzeCallGraph(CallGraph &CG, Module &M) { in AnalyzeCallGraph() argument
361 for (scc_iterator<CallGraph*> I = scc_begin(&CG); !I.isAtEnd(); ++I) { in AnalyzeCallGraph()
420 CallGraphNode *CalleeNode = CG[Callee]; in AnalyzeCallGraph()
/external/llvm/test/Other/
Dpass-pipeline-parsing.ll110 ; RUN: | FileCheck %s --check-prefix=CHECK-TWO-NOOP-CG
111 ; CHECK-TWO-NOOP-CG: Starting module pass manager
112 ; CHECK-TWO-NOOP-CG: Running module pass: ModuleToPostOrderCGSCCPassAdaptor
113 ; CHECK-TWO-NOOP-CG: Starting CGSCC pass manager
114 ; CHECK-TWO-NOOP-CG: Running CGSCC pass: NoOpCGSCCPass
115 ; CHECK-TWO-NOOP-CG: Running CGSCC pass: NoOpCGSCCPass
116 ; CHECK-TWO-NOOP-CG: Finished CGSCC pass manager
117 ; CHECK-TWO-NOOP-CG: Finished module pass manager
121 ; RUN: | FileCheck %s --check-prefix=CHECK-NESTED-MP-CG-FP
122 ; CHECK-NESTED-MP-CG-FP: Starting module pass manager
[all …]
Dlint.ll11 @CG = constant i32 7
60 store i32 8, i32* @CG
72 call void @has_noaliases(i32* @CG, i32* @CG)
81 …call void @llvm.memcpy.p0i8.p0i8.i64(i8* bitcast (i32* @CG to i8*), i8* bitcast (i32* @CG to i8*),…
/external/clang/include/clang/Analysis/
DCallGraph.h159 void addCallee(CallGraphNode *N, CallGraph *CG) { in addCallee() argument
210 static nodes_iterator nodes_begin(clang::CallGraph *CG) {
211 return map_iterator(CG->begin(), DerefFun(CGdereference));
213 static nodes_iterator nodes_end (clang::CallGraph *CG) {
214 return map_iterator(CG->end(), DerefFun(CGdereference));
220 static unsigned size(clang::CallGraph *CG) {
221 return CG->size();
236 static nodes_iterator nodes_begin(const clang::CallGraph *CG) {
237 return map_iterator(CG->begin(), DerefFun(CGdereference));
239 static nodes_iterator nodes_end(const clang::CallGraph *CG) {
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp124 CallGraph CG; in checkASTDecl() local
125 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
126 CG.viewGraph(); in checkASTDecl()
144 CallGraph CG; in checkASTDecl() local
145 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
146 CG.dump(); in checkASTDecl()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp442 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnSCC() local
504 InlineFunctionInfo InlineInfo(&CG, DL); in runOnSCC()
528 CG[Caller]->removeCallEdgeFor(CS); in runOnSCC()
601 CG[Callee]->getNumReferences() == 0) { in runOnSCC()
604 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC()
610 delete CG.removeFunctionFromModule(CalleeNode); in runOnSCC()
636 bool Inliner::doFinalization(CallGraph &CG) { in doFinalization() argument
637 return removeDeadFunctions(CG); in doFinalization()
642 bool Inliner::removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly) { in removeDeadFunctions() argument
647 for (CallGraph::iterator I = CG.begin(), E = CG.end(); I != E; ++I) { in removeDeadFunctions()
[all …]
DInternalize.cpp135 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; in runOnModule() local
136 CallGraphNode *ExternalNode = CG ? CG->getExternalCallingNode() : nullptr; in runOnModule()
167 ExternalNode->removeOneAbstractEdgeTo((*CG)[I]); in runOnModule()
DInlineAlways.cpp58 bool doFinalization(CallGraph &CG) override { in doFinalization() argument
59 return removeDeadFunctions(CG, /*AlwaysInlineOnly=*/ true); in doFinalization()
DPruneEH.cpp64 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnSCC() local
120 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC()
238 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in DeleteBasicBlock() local
240 CallGraphNode *CGN = CG[BB->getParent()]; in DeleteBasicBlock()
DArgumentPromotion.cpp86 bool doInitialization(CallGraph &CG) override;
638 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in DoPromotion() local
641 CallGraphNode *NF_CGN = CG.getOrInsertFunction(NF); in DoPromotion()
766 CallGraphNode *CalleeNode = CG[Call->getParent()->getParent()]; in DoPromotion()
906 NF_CGN->stealCalledFunctionsFrom(CG[F]); in DoPromotion()
911 CallGraphNode *CGN = CG[F]; in DoPromotion()
913 delete CG.removeFunctionFromModule(CGN); in DoPromotion()
920 bool ArgPromotion::doInitialization(CallGraph &CG) { in doInitialization() argument
921 FunctionDIs = makeSubprogramMap(CG.getModule()); in doInitialization()
922 return CallGraphSCCPass::doInitialization(CG); in doInitialization()
/external/llvm/include/llvm/Analysis/
DCallGraph.h440 static nodes_iterator nodes_begin(CallGraph *CG) {
441 return map_iterator(CG->begin(), DerefFun(CGdereference));
443 static nodes_iterator nodes_end(CallGraph *CG) {
444 return map_iterator(CG->end(), DerefFun(CGdereference));
458 static nodes_iterator nodes_begin(const CallGraph *CG) { return CG->begin(); }
459 static nodes_iterator nodes_end(const CallGraph *CG) { return CG->end(); }
DCallGraphSCCPass.h48 virtual bool doInitialization(CallGraph &CG) { in doInitialization() argument
64 virtual bool doFinalization(CallGraph &CG) { in doFinalization() argument
/external/llvm/test/CodeGen/SystemZ/
Dint-cmp-07.ll16 ; Check CG with no displacement.
29 ; Check the high end of the aligned CG range.
59 ; Check the high end of the negative aligned CG range.
73 ; Check the low end of the CG range.
103 ; Check that CG allows an index.
119 ; Check the comparison can be reversed if that allows CG to be used.
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h48 bool doFinalization(CallGraph &CG) override;
75 bool removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly = false);
/external/llvm/tools/opt/
DPrintSCC.cpp94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule() local
97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd(); in runOnModule()
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h161 : CG(cg), DL(DL) {} in CG() function
165 CallGraph *CG; variable
/external/clang/lib/Analysis/
DCallGraph.cpp220 const CallGraph *CG) { in getNodeLabel()
221 if (CG->getRoot() == Node) { in getNodeLabel()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp271 CallGraph &CG = *IFI.CG; in UpdateCallGraphAfterInlining() local
274 CallGraphNode *CalleeNode = CG[Callee]; in UpdateCallGraphAfterInlining()
275 CallGraphNode *CallerNode = CG[Caller]; in UpdateCallGraphAfterInlining()
314 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
646 if (IFI.CG) in InlineFunction()
/external/chromium_org/third_party/icu/source/data/region/
Dzh_Hant_HK.txt20 CG{"剛果 - 布拉薩"}
Dsv_FI.txt14 CG{"Kongo"}
/external/icu/icu4c/source/data/region/
Dsv_FI.txt15 CG{"Kongo"}
Dzh_Hant_HK.txt24 CG{"剛果 - 布拉薩"}
Dfa_AF.txt28 CG{"کانگو"}

12345678910>>...17