Lines Matching refs:graph
66 CodeGenerator* CreateCodeGenerator(HGraph* graph, const CompilerOptions& compiler_options) { in CreateCodeGenerator() argument
67 return create_codegen_(graph, compiler_options); in CreateCodeGenerator()
98 TestCodeGeneratorARMVIXL(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARMVIXL() argument
99 : arm::CodeGeneratorARMVIXL(graph, compiler_options) { in TestCodeGeneratorARMVIXL()
140 TestCodeGeneratorARM64(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARM64() argument
141 : arm64::CodeGeneratorARM64(graph, compiler_options) {} in TestCodeGeneratorARM64()
158 TestCodeGeneratorX86(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorX86() argument
159 : x86::CodeGeneratorX86(graph, compiler_options) { in TestCodeGeneratorX86()
271 static void ValidateGraph(HGraph* graph) { in ValidateGraph() argument
272 GraphChecker graph_checker(graph); in ValidateGraph()
284 HGraph* graph, in RunCodeNoCheck() argument
289 ScopedArenaAllocator local_allocator(graph->GetArenaStack()); in RunCodeNoCheck()
290 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in RunCodeNoCheck()
291 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck()
297 hook_before_codegen(graph); in RunCodeNoCheck()
305 HGraph* graph, in RunCode() argument
309 ValidateGraph(graph); in RunCode()
310 RunCodeNoCheck(codegen, graph, hook_before_codegen, has_result, expected); in RunCode()
316 HGraph* graph, in RunCode() argument
320 std::unique_ptr<CodeGenerator> codegen(target_config.CreateCodeGenerator(graph, in RunCode()
322 RunCode(codegen.get(), graph, hook_before_codegen, has_result, expected); in RunCode()
326 CodeGenerator* create_codegen_arm_vixl32(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_arm_vixl32() argument
327 return new (graph->GetAllocator()) TestCodeGeneratorARMVIXL(graph, compiler_options); in create_codegen_arm_vixl32()
332 CodeGenerator* create_codegen_arm64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_arm64() argument
333 return new (graph->GetAllocator()) TestCodeGeneratorARM64(graph, compiler_options); in create_codegen_arm64()
338 CodeGenerator* create_codegen_x86(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_x86() argument
339 return new (graph->GetAllocator()) TestCodeGeneratorX86(graph, compiler_options); in create_codegen_x86()
344 CodeGenerator* create_codegen_x86_64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_x86_64() argument
345 return new (graph->GetAllocator()) x86_64::CodeGeneratorX86_64(graph, compiler_options); in create_codegen_x86_64()
350 CodeGenerator* create_codegen_mips(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_mips() argument
351 return new (graph->GetAllocator()) mips::CodeGeneratorMIPS(graph, compiler_options); in create_codegen_mips()
356 CodeGenerator* create_codegen_mips64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_mips64() argument
357 return new (graph->GetAllocator()) mips64::CodeGeneratorMIPS64(graph, compiler_options); in create_codegen_mips64()