Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Doptimizing_compiler.cc95 const CodeGenerator& codegen, in PassInfoPrinter() argument
102 visualizer_(visualizer_output, graph, codegen) { in PassInfoPrinter()
224 CodeGenerator* codegen,
231 CompiledMethod* CompileBaseline(CodeGenerator* codegen,
383 CodeGenerator* codegen, in AllocateRegisters() argument
386 SsaLivenessAnalysis liveness(graph, codegen); in AllocateRegisters()
393 RegisterAllocator(graph->GetArena(), codegen, liveness).AllocateRegisters(); in AllocateRegisters()
398 CodeGenerator* codegen, in CompileOptimized() argument
407 AllocateRegisters(graph, codegen, pass_info_printer); in CompileOptimized()
410 codegen->CompileOptimized(&allocator); in CompileOptimized()
[all …]
Dregister_allocator_test.cc48 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in Check() local
49 SsaLivenessAnalysis liveness(graph, &codegen); in Check()
51 RegisterAllocator register_allocator(&allocator, &codegen, liveness); in Check()
66 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
75 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
79 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
90 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
94 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
105 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
109 intervals, 0, 0, codegen, &allocator, true, false)); in TEST()
[all …]
Dlive_ranges_test.cc71 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
72 SsaLivenessAnalysis liveness(graph, &codegen); in TEST()
119 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
120 SsaLivenessAnalysis liveness(graph, &codegen); in TEST()
170 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
171 SsaLivenessAnalysis liveness(graph, &codegen); in TEST()
249 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
250 SsaLivenessAnalysis liveness(graph, &codegen); in TEST()
329 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TEST() local
330 SsaLivenessAnalysis liveness(graph, &codegen); in TEST()
[all …]
Dintrinsics.h82 CodeGenerator* codegen, in INTRINSICS_LIST()
88 DCHECK(codegen->IsBaseline() || !invoke_static_or_direct->IsStaticWithExplicitClinitCheck()); in INTRINSICS_LIST()
100 HParallelMove parallel_move(codegen->GetGraph()->GetArena()); in INTRINSICS_LIST()
110 codegen->GetMoveResolver()->EmitNativeCode(&parallel_move); in INTRINSICS_LIST()
Dintrinsics_x86.h35 explicit IntrinsicLocationsBuilderX86(CodeGeneratorX86* codegen);
60 explicit IntrinsicCodeGeneratorX86(CodeGeneratorX86* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86() argument
Dintrinsics_x86_64.h35 explicit IntrinsicLocationsBuilderX86_64(CodeGeneratorX86_64* codegen);
60 explicit IntrinsicCodeGeneratorX86_64(CodeGeneratorX86_64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86_64() argument
Dcode_generator.cc915 void SlowPathCode::RecordPcInfo(CodeGenerator* codegen, HInstruction* instruction, uint32_t dex_pc)… in RecordPcInfo() argument
916 codegen->RecordPcInfo(instruction, dex_pc, this); in RecordPcInfo()
919 void SlowPathCode::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { in SaveLiveRegisters() argument
921 size_t stack_offset = codegen->GetFirstRegisterSlotInSlowPath(); in SaveLiveRegisters()
922 for (size_t i = 0, e = codegen->GetNumberOfCoreRegisters(); i < e; ++i) { in SaveLiveRegisters()
923 if (!codegen->IsCoreCalleeSaveRegister(i)) { in SaveLiveRegisters()
929 DCHECK_LT(stack_offset, codegen->GetFrameSize() - codegen->FrameEntrySpillSize()); in SaveLiveRegisters()
932 stack_offset += codegen->SaveCoreRegister(stack_offset, i); in SaveLiveRegisters()
937 for (size_t i = 0, e = codegen->GetNumberOfFloatingPointRegisters(); i < e; ++i) { in SaveLiveRegisters()
938 if (!codegen->IsFloatingPointCalleeSaveRegister(i)) { in SaveLiveRegisters()
[all …]
Dintrinsics_x86_64.cc36 IntrinsicLocationsBuilderX86_64::IntrinsicLocationsBuilderX86_64(CodeGeneratorX86_64* codegen) in IntrinsicLocationsBuilderX86_64() argument
37 : arena_(codegen->GetGraph()->GetArena()), codegen_(codegen) { in IntrinsicLocationsBuilderX86_64()
55 #define __ reinterpret_cast<X86_64Assembler*>(codegen->GetAssembler())->
60 CodeGeneratorX86_64* codegen) { in MoveFromReturnRegister() argument
108 static void MoveArguments(HInvoke* invoke, CodeGeneratorX86_64* codegen) { in MoveArguments() argument
110 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
124 CodeGeneratorX86_64* codegen = down_cast<CodeGeneratorX86_64*>(codegen_in); in EmitNativeCode() local
127 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
129 MoveArguments(invoke_, codegen); in EmitNativeCode()
132 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), CpuRegister(RDI)); in EmitNativeCode()
[all …]
Dintrinsics_arm64.cc66 #define __ codegen->GetAssembler()->vixl_masm_->
70 CodeGeneratorARM64* codegen) { in MoveFromReturnRegister() argument
89 static void MoveArguments(HInvoke* invoke, CodeGeneratorARM64* codegen) { in MoveArguments() argument
91 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
105 CodeGeneratorARM64* codegen = down_cast<CodeGeneratorARM64*>(codegen_in); in EmitNativeCode() local
108 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
110 MoveArguments(invoke_, codegen); in EmitNativeCode()
113 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), kArtMethodRegister); in EmitNativeCode()
114 RecordPcInfo(codegen, invoke_, invoke_->GetDexPc()); in EmitNativeCode()
125 MoveFromReturnRegister(out, invoke_->GetType(), codegen); in EmitNativeCode()
[all …]
Dintrinsics_arm.h64 explicit IntrinsicCodeGeneratorARM(CodeGeneratorARM* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARM() argument
Dintrinsics_arm64.h64 explicit IntrinsicCodeGeneratorARM64(CodeGeneratorARM64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARM64() argument
Dintrinsics_arm.cc41 #define __ codegen->GetAssembler()->
43 static void MoveFromReturnRegister(Location trg, Primitive::Type type, CodeGeneratorARM* codegen) { in MoveFromReturnRegister() argument
80 static void MoveArguments(HInvoke* invoke, CodeGeneratorARM* codegen) { in MoveArguments() argument
82 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
96 CodeGeneratorARM* codegen = down_cast<CodeGeneratorARM*>(codegen_in); in EmitNativeCode() local
99 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
101 MoveArguments(invoke_, codegen); in EmitNativeCode()
104 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), kArtMethodRegister); in EmitNativeCode()
105 RecordPcInfo(codegen, invoke_, invoke_->GetDexPc()); in EmitNativeCode()
116 MoveFromReturnRegister(out, invoke_->GetType(), codegen); in EmitNativeCode()
[all …]
Dintrinsics_x86.cc40 IntrinsicLocationsBuilderX86::IntrinsicLocationsBuilderX86(CodeGeneratorX86* codegen) in IntrinsicLocationsBuilderX86() argument
41 : arena_(codegen->GetGraph()->GetArena()), codegen_(codegen) { in IntrinsicLocationsBuilderX86()
59 #define __ reinterpret_cast<X86Assembler*>(codegen->GetAssembler())->
64 CodeGeneratorX86* codegen) { in MoveFromReturnRegister() argument
116 static void MoveArguments(HInvoke* invoke, CodeGeneratorX86* codegen) { in MoveArguments() argument
118 IntrinsicVisitor::MoveArguments(invoke, codegen, &calling_convention_visitor); in MoveArguments()
133 CodeGeneratorX86* codegen = down_cast<CodeGeneratorX86*>(codegen_in); in EmitNativeCode() local
136 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
138 MoveArguments(invoke_, codegen); in EmitNativeCode()
141 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), EAX); in EmitNativeCode()
[all …]
Dcode_generator_arm.h101 ParallelMoveResolverARM(ArenaAllocator* allocator, CodeGeneratorARM* codegen) in ParallelMoveResolverARM() argument
102 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverARM()
136 LocationsBuilderARM(HGraph* graph, CodeGeneratorARM* codegen) in LocationsBuilderARM() argument
137 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderARM()
161 InstructionCodeGeneratorARM(HGraph* graph, CodeGeneratorARM* codegen);
Dcode_generator_mips64.h110 ParallelMoveResolverMIPS64(ArenaAllocator* allocator, CodeGeneratorMIPS64* codegen) in ParallelMoveResolverMIPS64() argument
111 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverMIPS64()
144 LocationsBuilderMIPS64(HGraph* graph, CodeGeneratorMIPS64* codegen) in LocationsBuilderMIPS64() argument
145 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderMIPS64()
170 InstructionCodeGeneratorMIPS64(HGraph* graph, CodeGeneratorMIPS64* codegen);
Dcode_generator_x86.h95 ParallelMoveResolverX86(ArenaAllocator* allocator, CodeGeneratorX86* codegen) in ParallelMoveResolverX86() argument
96 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverX86()
119 LocationsBuilderX86(HGraph* graph, CodeGeneratorX86* codegen) in LocationsBuilderX86() argument
120 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86()
144 InstructionCodeGeneratorX86(HGraph* graph, CodeGeneratorX86* codegen);
Dcode_generator_x86_64.h104 ParallelMoveResolverX86_64(ArenaAllocator* allocator, CodeGeneratorX86_64* codegen) in ParallelMoveResolverX86_64() argument
105 : ParallelMoveResolverWithSwap(allocator), codegen_(codegen) {} in ParallelMoveResolverX86_64()
129 LocationsBuilderX86_64(HGraph* graph, CodeGeneratorX86_64* codegen) in LocationsBuilderX86_64() argument
130 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderX86_64()
154 InstructionCodeGeneratorX86_64(HGraph* graph, CodeGeneratorX86_64* codegen);
Dcode_generator_arm64.h142 InstructionCodeGeneratorARM64(HGraph* graph, CodeGeneratorARM64* codegen);
177 explicit LocationsBuilderARM64(HGraph* graph, CodeGeneratorARM64* codegen) in LocationsBuilderARM64() argument
178 : HGraphVisitor(graph), codegen_(codegen) {} in LocationsBuilderARM64()
200 ParallelMoveResolverARM64(ArenaAllocator* allocator, CodeGeneratorARM64* codegen) in ParallelMoveResolverARM64() argument
201 : ParallelMoveResolverNoSwap(allocator), codegen_(codegen), vixl_temps_() {} in ParallelMoveResolverARM64()
Dgraph_visualizer.h38 const CodeGenerator& codegen);
Dlinearize_test.cc52 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions()); in TestCode() local
53 SsaLivenessAnalysis liveness(graph, &codegen); in TestCode()
Dcode_generator_arm64.cc104 #define __ down_cast<CodeGeneratorARM64*>(codegen)->GetVIXLAssembler()->
117 void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
118 CodeGeneratorARM64* arm64_codegen = down_cast<CodeGeneratorARM64*>(codegen); in EmitNativeCode()
123 codegen->EmitParallelMoves( in EmitNativeCode()
143 void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
144 CodeGeneratorARM64* arm64_codegen = down_cast<CodeGeneratorARM64*>(codegen); in EmitNativeCode()
166 void EmitNativeCode(CodeGenerator* codegen) OVERRIDE { in EmitNativeCode() argument
168 CodeGeneratorARM64* arm64_codegen = down_cast<CodeGeneratorARM64*>(codegen); in EmitNativeCode()
171 SaveLiveRegisters(codegen, locations); in EmitNativeCode()
192 RestoreLiveRegisters(codegen, locations); in EmitNativeCode()
[all …]
Dgraph_visualizer.cc38 const CodeGenerator& codegen) in HGraphVisualizerPrinter() argument
43 codegen_(codegen), in HGraphVisualizerPrinter()
351 const CodeGenerator& codegen) in HGraphVisualizer() argument
352 : output_(output), graph_(graph), codegen_(codegen) {} in HGraphVisualizer()
Dregister_allocator.h42 CodeGenerator* codegen,
64 const CodeGenerator& codegen,
Dregister_allocator.cc41 CodeGenerator* codegen, in RegisterAllocator() argument
44 codegen_(codegen), in RegisterAllocator()
52 physical_core_register_intervals_(allocator, codegen->GetNumberOfCoreRegisters()), in RegisterAllocator()
53 physical_fp_register_intervals_(allocator, codegen->GetNumberOfFloatingPointRegisters()), in RegisterAllocator()
63 blocked_core_registers_(codegen->GetBlockedCoreRegisters()), in RegisterAllocator()
64 blocked_fp_registers_(codegen->GetBlockedFloatingPointRegisters()), in RegisterAllocator()
69 codegen->SetupBlockedRegisters(kIsBaseline); in RegisterAllocator()
70 physical_core_register_intervals_.SetSize(codegen->GetNumberOfCoreRegisters()); in RegisterAllocator()
71 physical_fp_register_intervals_.SetSize(codegen->GetNumberOfFloatingPointRegisters()); in RegisterAllocator()
75 reserved_out_slots_ = InstructionSetPointerSize(codegen->GetInstructionSet()) / kVRegSize + in RegisterAllocator()
[all …]
/art/test/083-compiler-regressions/
Dinfo.txt12 largeFrame Stress large frame codegen

12