Lines Matching refs:graph

72   CodeGenerator* CreateCodeGenerator(HGraph* graph, const CompilerOptions& compiler_options) {  in CreateCodeGenerator()  argument
73 return create_codegen_(graph, compiler_options); in CreateCodeGenerator()
89 TestCodeGeneratorARM(HGraph* graph, in TestCodeGeneratorARM() argument
92 : arm::CodeGeneratorARM(graph, isa_features, compiler_options) { in TestCodeGeneratorARM()
109 TestCodeGeneratorARMVIXL(HGraph* graph, in TestCodeGeneratorARMVIXL() argument
112 : arm::CodeGeneratorARMVIXL(graph, isa_features, compiler_options) { in TestCodeGeneratorARMVIXL()
129 TestCodeGeneratorX86(HGraph* graph, in TestCodeGeneratorX86() argument
132 : x86::CodeGeneratorX86(graph, isa_features, compiler_options) { in TestCodeGeneratorX86()
242 static void ValidateGraph(HGraph* graph) { in ValidateGraph() argument
243 GraphChecker graph_checker(graph); in ValidateGraph()
255 HGraph* graph, in RunCodeNoCheck() argument
259 SsaLivenessAnalysis liveness(graph, codegen); in RunCodeNoCheck()
260 PrepareForRegisterAllocation(graph).Run(); in RunCodeNoCheck()
262 RegisterAllocator::Create(graph->GetArena(), codegen, liveness)->AllocateRegisters(); in RunCodeNoCheck()
263 hook_before_codegen(graph); in RunCodeNoCheck()
271 HGraph* graph, in RunCode() argument
275 ValidateGraph(graph); in RunCode()
276 RunCodeNoCheck(codegen, graph, hook_before_codegen, has_result, expected); in RunCode()
281 HGraph* graph, in RunCode() argument
286 …std::unique_ptr<CodeGenerator> codegen(target_config.CreateCodeGenerator(graph, compiler_options)); in RunCode()
287 RunCode(codegen.get(), graph, hook_before_codegen, has_result, expected); in RunCode()
291 CodeGenerator* create_codegen_arm(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_arm() argument
294 return new (graph->GetArena()) TestCodeGeneratorARM(graph, in create_codegen_arm()
299 CodeGenerator* create_codegen_arm_vixl32(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_arm_vixl32() argument
302 return new (graph->GetArena()) in create_codegen_arm_vixl32()
303 TestCodeGeneratorARMVIXL(graph, *features_arm.get(), compiler_options); in create_codegen_arm_vixl32()
308 CodeGenerator* create_codegen_arm64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_arm64() argument
311 return new (graph->GetArena()) arm64::CodeGeneratorARM64(graph, in create_codegen_arm64()
318 CodeGenerator* create_codegen_x86(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_x86() argument
321 return new (graph->GetArena()) TestCodeGeneratorX86(graph, *features_x86.get(), compiler_options); in create_codegen_x86()
326 CodeGenerator* create_codegen_x86_64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_x86_64() argument
329 return new (graph->GetArena()) in create_codegen_x86_64()
330 x86_64::CodeGeneratorX86_64(graph, *features_x86_64.get(), compiler_options); in create_codegen_x86_64()
335 CodeGenerator* create_codegen_mips(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_mips() argument
338 return new (graph->GetArena()) in create_codegen_mips()
339 mips::CodeGeneratorMIPS(graph, *features_mips.get(), compiler_options); in create_codegen_mips()
344 CodeGenerator* create_codegen_mips64(HGraph* graph, const CompilerOptions& compiler_options) { in create_codegen_mips64() argument
347 return new (graph->GetArena()) in create_codegen_mips64()
348 mips64::CodeGeneratorMIPS64(graph, *features_mips64.get(), compiler_options); in create_codegen_mips64()