Lines Matching refs:graph
107 PassObserver(HGraph* graph, in PassObserver() argument
112 : graph_(graph), in PassObserver()
117 disasm_info_(graph->GetAllocator()), in PassObserver()
121 visualizer_(&visualizer_oss_, graph, *codegen), in PassObserver()
306 bool RunOptimizations(HGraph* graph, in RunOptimizations() argument
317 graph->GetAllocator(), in RunOptimizations()
318 graph, in RunOptimizations()
349 HGraph* graph, in RunOptimizations() argument
356 graph, codegen, dex_compilation_unit, pass_observer, handles, definitions, length); in RunOptimizations()
359 void RunOptimizations(HGraph* graph,
395 bool RunArchOptimizations(HGraph* graph,
401 bool RunBaselineOptimizations(HGraph* graph,
459 bool OptimizingCompiler::RunBaselineOptimizations(HGraph* graph, in RunBaselineOptimizations() argument
470 return RunOptimizations(graph, in RunBaselineOptimizations()
483 return RunOptimizations(graph, in RunBaselineOptimizations()
492 UNUSED(graph); in RunBaselineOptimizations()
501 bool OptimizingCompiler::RunArchOptimizations(HGraph* graph, in RunArchOptimizations() argument
516 return RunOptimizations(graph, in RunArchOptimizations()
532 return RunOptimizations(graph, in RunArchOptimizations()
548 return RunOptimizations(graph, in RunArchOptimizations()
562 return RunOptimizations(graph, in RunArchOptimizations()
579 return RunOptimizations(graph, in RunArchOptimizations()
595 return RunOptimizations(graph, in RunArchOptimizations()
609 static void AllocateRegisters(HGraph* graph, in AllocateRegisters() argument
617 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions(), stats).Run(); in AllocateRegisters()
621 ScopedArenaAllocator local_allocator(graph->GetArenaStack()); in AllocateRegisters()
622 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in AllocateRegisters()
641 void OptimizingCompiler::RunOptimizations(HGraph* graph, in RunOptimizations() argument
657 RunOptimizations(graph, in RunOptimizations()
727 RunOptimizations(graph, in RunOptimizations()
734 RunArchOptimizations(graph, codegen, dex_compilation_unit, pass_observer, handles); in RunOptimizations()
843 HGraph* graph = new (allocator) HGraph( in TryCompile() local
855 graph->SetArtMethod(method); in TryCompile()
859 CodeGenerator::Create(graph, in TryCompile()
868 PassObserver pass_observer(graph, in TryCompile()
877 HGraphBuilder builder(graph, in TryCompile()
922 RunBaselineOptimizations(graph, codegen.get(), dex_compilation_unit, &pass_observer, handles); in TryCompile()
924 RunOptimizations(graph, codegen.get(), dex_compilation_unit, &pass_observer, handles); in TryCompile()
929 AllocateRegisters(graph, in TryCompile()
964 HGraph* graph = new (allocator) HGraph( in TryCompileIntrinsic() local
977 graph->SetArtMethod(method); in TryCompileIntrinsic()
980 CodeGenerator::Create(graph, in TryCompileIntrinsic()
988 PassObserver pass_observer(graph, in TryCompileIntrinsic()
997 HGraphBuilder builder(graph, in TryCompileIntrinsic()
1013 RunOptimizations(graph, in TryCompileIntrinsic()
1020 RunArchOptimizations(graph, codegen.get(), dex_compilation_unit, &pass_observer, handles); in TryCompileIntrinsic()
1022 AllocateRegisters(graph, in TryCompileIntrinsic()
1029 << " " << graph->PrettyMethod(); in TryCompileIntrinsic()
1037 << " " << graph->PrettyMethod(); in TryCompileIntrinsic()