Home
last modified time | relevance | path

Searched refs:codegen (Results 1 – 19 of 19) sorted by relevance

/art/compiler/optimizing/
Doptimizing_compiler.cc116 CodeGenerator* codegen = CodeGenerator::Create(&arena, graph, instruction_set); in TryCompile() local
117 if (codegen == nullptr) { in TryCompile()
125 visualizer_output_.get(), graph, kStringFilter, *codegen, dex_compilation_unit); in TryCompile()
139 SsaLivenessAnalysis liveness(*graph, codegen); in TryCompile()
143 RegisterAllocator register_allocator(graph->GetArena(), codegen, liveness); in TryCompile()
147 codegen->CompileOptimized(&allocator); in TryCompile()
151 codegen->CompileBaseline(&allocator); in TryCompile()
158 SsaLivenessAnalysis liveness(*graph, codegen); in TryCompile()
164 codegen->BuildMappingTable(&mapping_table); in TryCompile()
166 codegen->BuildVMapTable(&vmap_table); in TryCompile()
[all …]
Dregister_allocator_test.cc43 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, kX86); in Check() local
44 SsaLivenessAnalysis liveness(*graph, codegen); in Check()
46 RegisterAllocator register_allocator(&allocator, codegen, liveness); in Check()
59 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, kX86); in TEST() local
68 intervals, 0, *codegen, &allocator, true, false)); in TEST()
72 intervals, 0, *codegen, &allocator, true, false)); in TEST()
83 intervals, 0, *codegen, &allocator, true, false)); in TEST()
87 intervals, 0, *codegen, &allocator, true, false)); in TEST()
98 intervals, 0, *codegen, &allocator, true, false)); in TEST()
102 intervals, 0, *codegen, &allocator, true, false)); in TEST()
[all …]
Dcodegen_test.cc52 const CodeGenerator& codegen, in Run() argument
58 if (codegen.GetInstructionSet() == kThumb2) { in Run()
78 CodeGenerator* codegen = CodeGenerator::Create(&arena, graph, kX86); in TestCode() local
81 codegen->CompileBaseline(&allocator, true); in TestCode()
83 Run(allocator, *codegen, has_result, expected); in TestCode()
86 codegen = CodeGenerator::Create(&arena, graph, kArm); in TestCode()
87 codegen->CompileBaseline(&allocator, true); in TestCode()
89 Run(allocator, *codegen, has_result, expected); in TestCode()
92 codegen = CodeGenerator::Create(&arena, graph, kX86_64); in TestCode()
93 codegen->CompileBaseline(&allocator, true); in TestCode()
[all …]
Dlive_ranges_test.cc61 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TEST() local
62 SsaLivenessAnalysis liveness(*graph, codegen); in TEST()
107 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TEST() local
108 SsaLivenessAnalysis liveness(*graph, codegen); in TEST()
156 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TEST() local
157 SsaLivenessAnalysis liveness(*graph, codegen); in TEST()
232 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TEST() local
233 SsaLivenessAnalysis liveness(*graph, codegen); in TEST()
Dcode_generator_x86_64.h61 ParallelMoveResolverX86_64(ArenaAllocator* allocator, CodeGeneratorX86_64* codegen) in ParallelMoveResolverX86_64() argument
62 : ParallelMoveResolver(allocator), codegen_(codegen) {} in ParallelMoveResolverX86_64()
84 LocationsBuilderX86_64(HGraph* graph, CodeGeneratorX86_64* codegen) in LocationsBuilderX86_64() argument
85 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86_64()
103 InstructionCodeGeneratorX86_64(HGraph* graph, CodeGeneratorX86_64* codegen);
Dcode_generator_arm.h65 ParallelMoveResolverARM(ArenaAllocator* allocator, CodeGeneratorARM* codegen) in ParallelMoveResolverARM() argument
66 : ParallelMoveResolver(allocator), codegen_(codegen) {} in ParallelMoveResolverARM()
86 explicit LocationsBuilderARM(HGraph* graph, CodeGeneratorARM* codegen) in LocationsBuilderARM() argument
87 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderARM()
105 InstructionCodeGeneratorARM(HGraph* graph, CodeGeneratorARM* codegen);
Dcode_generator_x86.h65 ParallelMoveResolverX86(ArenaAllocator* allocator, CodeGeneratorX86* codegen) in ParallelMoveResolverX86() argument
66 : ParallelMoveResolver(allocator), codegen_(codegen) {} in ParallelMoveResolverX86()
87 LocationsBuilderX86(HGraph* graph, CodeGeneratorX86* codegen) in LocationsBuilderX86() argument
88 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86()
106 InstructionCodeGeneratorX86(HGraph* graph, CodeGeneratorX86* codegen);
Dgraph_visualizer.h46 const CodeGenerator& codegen,
55 const CodeGenerator& codegen,
Dgraph_visualizer.cc34 const CodeGenerator& codegen) in HGraphVisualizerPrinter() argument
38 codegen_(codegen), in HGraphVisualizerPrinter()
245 const CodeGenerator& codegen, in HGraphVisualizer() argument
247 : output_(output), graph_(graph), codegen_(codegen), is_enabled_(false) { in HGraphVisualizer()
267 const CodeGenerator& codegen, in HGraphVisualizer() argument
269 : output_(output), graph_(graph), codegen_(codegen), is_enabled_(false) { in HGraphVisualizer()
Dlinearize_test.cc48 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TestCode() local
49 SsaLivenessAnalysis liveness(*graph, codegen); in TestCode()
Dregister_allocator.h41 CodeGenerator* codegen,
62 const CodeGenerator& codegen,
Dregister_allocator.cc28 CodeGenerator* codegen, in RegisterAllocator() argument
31 codegen_(codegen), in RegisterAllocator()
37 physical_register_intervals_(allocator, codegen->GetNumberOfRegisters()), in RegisterAllocator()
42 blocked_registers_(allocator->AllocArray<bool>(codegen->GetNumberOfRegisters())) { in RegisterAllocator()
43 codegen->SetupBlockedRegisters(blocked_registers_); in RegisterAllocator()
44 physical_register_intervals_.SetSize(codegen->GetNumberOfRegisters()); in RegisterAllocator()
228 const CodeGenerator& codegen, in ValidateIntervals() argument
233 ? codegen.GetNumberOfCoreRegisters() in ValidateIntervals()
234 : codegen.GetNumberOfFloatingPointRegisters(); in ValidateIntervals()
276 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals()
[all …]
Dliveness_test.cc52 CodeGenerator* codegen = CodeGenerator::Create(&allocator, graph, InstructionSet::kX86); in TestCode() local
53 SsaLivenessAnalysis liveness(*graph, codegen); in TestCode()
Dcode_generator_x86_64.cc64 #define __ reinterpret_cast<X86_64Assembler*>(codegen->GetAssembler())->
70 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
74 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
86 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
89 Immediate(codegen->GetFrameSize() - kNumberOfPushedRegistersAtEntry * kX86_64WordSize)); in EmitNativeCode()
105 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
106 CodeGeneratorX86_64* x64_codegen = reinterpret_cast<CodeGeneratorX86_64*>(codegen); in EmitNativeCode()
113 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
160 CodeGeneratorX86_64* codegen) in InstructionCodeGeneratorX86_64() argument
162 assembler_(codegen->GetAssembler()), in InstructionCodeGeneratorX86_64()
[all …]
Dcode_generator_x86.cc60 #define __ reinterpret_cast<X86Assembler*>(codegen->GetAssembler())->
66 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
69 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
81 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
84 Immediate(codegen->GetFrameSize() - kNumberOfPushedRegistersAtEntry * kX86WordSize)); in EmitNativeCode()
99 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
100 CodeGeneratorX86* x86_codegen = reinterpret_cast<CodeGeneratorX86*>(codegen); in EmitNativeCode()
106 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
234 InstructionCodeGeneratorX86::InstructionCodeGeneratorX86(HGraph* graph, CodeGeneratorX86* codegen) in InstructionCodeGeneratorX86() argument
236 assembler_(codegen->GetAssembler()), in InstructionCodeGeneratorX86()
[all …]
Dcode_generator_arm.cc60 #define __ reinterpret_cast<ArmAssembler*>(codegen->GetAssembler())->
66 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
71 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
83 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
100 virtual void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
101 CodeGeneratorARM* arm_codegen = reinterpret_cast<CodeGeneratorARM*>(codegen); in EmitNativeCode()
109 codegen->RecordPcInfo(dex_pc_); in EmitNativeCode()
262 InstructionCodeGeneratorARM::InstructionCodeGeneratorARM(HGraph* graph, CodeGeneratorARM* codegen) in InstructionCodeGeneratorARM() argument
264 assembler_(codegen->GetAssembler()), in InstructionCodeGeneratorARM()
265 codegen_(codegen) {} in InstructionCodeGeneratorARM()
Dcode_generator.h60 virtual void EmitNativeCode(CodeGenerator* codegen) = 0;
Dssa_liveness_analysis.h469 SsaLivenessAnalysis(const HGraph& graph, CodeGenerator* codegen) in SsaLivenessAnalysis() argument
471 codegen_(codegen), in SsaLivenessAnalysis()
/art/test/083-compiler-regressions/
Dinfo.txt12 largeFrame Stress large frame codegen