/art/compiler/optimizing/ |
D | intrinsics_utils.h | 44 Location MoveArguments(CodeGenerator* codegen) { in MoveArguments() argument 46 IntrinsicVisitor::MoveArguments(invoke_, codegen, &calling_convention_visitor); in MoveArguments() 50 void EmitNativeCode(CodeGenerator* codegen) override { in EmitNativeCode() argument 51 Assembler* assembler = codegen->GetAssembler(); in EmitNativeCode() 54 SaveLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode() 56 Location method_loc = MoveArguments(codegen); in EmitNativeCode() 59 codegen->GenerateStaticOrDirectCall(invoke_->AsInvokeStaticOrDirect(), method_loc, this); in EmitNativeCode() 61 codegen->GenerateVirtualCall(invoke_->AsInvokeVirtual(), method_loc, this); in EmitNativeCode() 69 codegen->MoveFromReturnRegister(out, invoke_->GetType()); in EmitNativeCode() 72 RestoreLiveRegisters(codegen, invoke_->GetLocations()); in EmitNativeCode()
|
D | optimizing_compiler.cc | 108 CodeGenerator* codegen, in PassObserver() argument 121 visualizer_(&visualizer_oss_, graph, *codegen), in PassObserver() 130 codegen->SetDisassemblyInformation(&disasm_info_); in PassObserver() 307 CodeGenerator* codegen, in RunOptimizations() argument 320 codegen, in RunOptimizations() 350 CodeGenerator* codegen, in RunOptimizations() argument 356 graph, codegen, dex_compilation_unit, pass_observer, handles, definitions, length); in RunOptimizations() 360 CodeGenerator* codegen, 369 CodeGenerator* codegen, 396 CodeGenerator* codegen, [all …]
|
D | sharpening.cc | 60 ArtMethod* callee, CodeGenerator* codegen) { in SharpenInvokeStaticOrDirect() argument 84 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenInvokeStaticOrDirect() 85 if (callee == codegen->GetGraph()->GetArtMethod() && !codegen->GetGraph()->IsDebuggable()) { in SharpenInvokeStaticOrDirect() 116 if (codegen->GetGraph()->IsDebuggable()) { in SharpenInvokeStaticOrDirect() 125 return codegen->GetSupportedInvokeStaticOrDirectDispatch(desired_dispatch_info, callee); in SharpenInvokeStaticOrDirect() 130 CodeGenerator* codegen, in ComputeLoadClassKind() argument 154 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind() 199 load_kind = codegen->GetSupportedLoadClassKind(desired_load_kind); in ComputeLoadClassKind() 214 static inline bool CanUseTypeCheckBitstring(ObjPtr<mirror::Class> klass, CodeGenerator* codegen) in CanUseTypeCheckBitstring() argument 221 } else if (codegen->GetCompilerOptions().IsBootImage()) { in CanUseTypeCheckBitstring() [all …]
|
D | register_allocator_test.cc | 69 const CodeGenerator& codegen) { in ValidateIntervals() argument 73 codegen, in ValidateIntervals() 90 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Check() local 91 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Check() 94 RegisterAllocator::Create(GetScopedAllocator(), &codegen, liveness, strategy); in Check() 105 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F() local 113 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F() 116 ASSERT_FALSE(ValidateIntervals(intervals, codegen)); in TEST_F() 126 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F() 129 ASSERT_TRUE(ValidateIntervals(intervals, codegen)); in TEST_F() [all …]
|
D | sharpening.h | 34 ArtMethod* callee, CodeGenerator* codegen); 38 CodeGenerator* codegen, 44 CodeGenerator* codegen, 50 CodeGenerator* codegen,
|
D | register_allocator.cc | 33 CodeGenerator* codegen, in RegisterAllocator() argument 36 codegen_(codegen), in RegisterAllocator() 40 CodeGenerator* codegen, in Create() argument 46 new (allocator) RegisterAllocatorLinearScan(allocator, codegen, analysis)); in Create() 49 new (allocator) RegisterAllocatorGraphColor(allocator, codegen, analysis)); in Create() 112 const CodeGenerator& codegen, in ValidateIntervals() argument 116 ? codegen.GetNumberOfCoreRegisters() in ValidateIntervals() 117 : codegen.GetNumberOfFloatingPointRegisters(); in ValidateIntervals() 118 ScopedArenaAllocator allocator(codegen.GetGraph()->GetArenaStack()); in ValidateIntervals() 168 CHECK(codegen.HasAllocatedRegister(processing_core_registers, current->GetRegister())); in ValidateIntervals() [all …]
|
D | intrinsics_arm64.h | 42 explicit IntrinsicLocationsBuilderARM64(ArenaAllocator* allocator, CodeGeneratorARM64* codegen) in IntrinsicLocationsBuilderARM64() argument 43 : allocator_(allocator), codegen_(codegen) {} in IntrinsicLocationsBuilderARM64() 68 explicit IntrinsicCodeGeneratorARM64(CodeGeneratorARM64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARM64() argument
|
D | optimization.cc | 183 CodeGenerator* codegen, in ConstructOptimizations() argument 231 graph, &codegen->GetCompilerOptions(), most_recent_induction, stats, pass_name); in ConstructOptimizations() 257 codegen, in ConstructOptimizations() 273 opt = new (allocator) InstructionSimplifier(graph, codegen, stats, pass_name); in ConstructOptimizations() 286 graph, codegen->GetCompilerOptions().GetInstructionSet(), codegen, pass_name); in ConstructOptimizations() 306 opt = new (allocator) mips::PcRelativeFixups(graph, codegen, stats); in ConstructOptimizations() 310 opt = new (allocator) mips::InstructionSimplifierMips(graph, codegen, stats); in ConstructOptimizations() 316 opt = new (allocator) x86::PcRelativeFixups(graph, codegen, stats); in ConstructOptimizations() 320 opt = new (allocator) x86::X86MemoryOperandGeneration(graph, codegen, stats); in ConstructOptimizations() 323 opt = new (allocator) x86::InstructionSimplifierX86(graph, codegen, stats); in ConstructOptimizations() [all …]
|
D | codegen_test_utils.h | 256 const CodeGenerator& codegen, in Run() argument 259 InstructionSet target_isa = codegen.GetInstructionSet(); in Run() 283 static void RunCodeNoCheck(CodeGenerator* codegen, in RunCodeNoCheck() argument 290 SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); in RunCodeNoCheck() 291 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck() 294 RegisterAllocator::Create(&local_allocator, codegen, liveness); in RunCodeNoCheck() 299 codegen->Compile(&allocator); in RunCodeNoCheck() 300 Run(allocator, *codegen, has_result, expected); in RunCodeNoCheck() 304 static void RunCode(CodeGenerator* codegen, in RunCode() argument 310 RunCodeNoCheck(codegen, graph, hook_before_codegen, has_result, expected); in RunCode() [all …]
|
D | live_ranges_test.cc | 64 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F() local 65 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() 108 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F() local 109 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() 155 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F() local 156 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() 230 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F() local 231 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() 305 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options_); in TEST_F() local 306 SsaLivenessAnalysis liveness(graph, codegen.get(), GetScopedAllocator()); in TEST_F() [all …]
|
D | intrinsics_x86_64.h | 35 explicit IntrinsicLocationsBuilderX86_64(CodeGeneratorX86_64* codegen); 60 explicit IntrinsicCodeGeneratorX86_64(CodeGeneratorX86_64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86_64() argument
|
D | intrinsics_arm_vixl.h | 32 explicit IntrinsicLocationsBuilderARMVIXL(CodeGeneratorARMVIXL* codegen); 59 explicit IntrinsicCodeGeneratorARMVIXL(CodeGeneratorARMVIXL* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorARMVIXL() argument
|
D | intrinsics_mips.h | 35 explicit IntrinsicLocationsBuilderMIPS(CodeGeneratorMIPS* codegen); 60 explicit IntrinsicCodeGeneratorMIPS(CodeGeneratorMIPS* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorMIPS() argument
|
D | intrinsics_x86.h | 35 explicit IntrinsicLocationsBuilderX86(CodeGeneratorX86* codegen); 60 explicit IntrinsicCodeGeneratorX86(CodeGeneratorX86* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorX86() argument
|
D | intrinsics_mips64.h | 35 explicit IntrinsicLocationsBuilderMIPS64(CodeGeneratorMIPS64* codegen); 60 explicit IntrinsicCodeGeneratorMIPS64(CodeGeneratorMIPS64* codegen) : codegen_(codegen) {} in IntrinsicCodeGeneratorMIPS64() argument
|
D | register_allocator.h | 49 CodeGenerator* codegen, 70 const CodeGenerator& codegen, 78 CodeGenerator* codegen,
|
D | instruction_simplifier_x86.h | 29 InstructionSimplifierX86(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) in InstructionSimplifierX86() argument 31 codegen_(codegen) {} in InstructionSimplifierX86()
|
D | pc_relative_fixups_mips.h | 31 PcRelativeFixups(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) in PcRelativeFixups() argument 33 codegen_(codegen) {} in PcRelativeFixups()
|
D | instruction_simplifier_x86_64.h | 30 InstructionSimplifierX86_64(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) in InstructionSimplifierX86_64() argument 32 codegen_(codegen) {} in InstructionSimplifierX86_64()
|
D | pc_relative_fixups_x86.h | 31 PcRelativeFixups(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) in PcRelativeFixups() argument 33 codegen_(codegen) {} in PcRelativeFixups()
|
D | instruction_simplifier_mips.h | 32 InstructionSimplifierMips(HGraph* graph, CodeGenerator* codegen, OptimizingCompilerStats* stats) in InstructionSimplifierMips() argument 34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {} in InstructionSimplifierMips()
|
D | instruction_simplifier.h | 41 CodeGenerator* codegen, 45 codegen_(codegen) {} in HOptimization()
|
D | x86_memory_gen.cc | 73 CodeGenerator* codegen, in X86MemoryOperandGeneration() argument 76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) { in X86MemoryOperandGeneration()
|
D | instruction_simplifier_x86_64.cc | 27 CodeGenerator* codegen, in InstructionSimplifierX86_64Visitor() argument 30 codegen_(down_cast<CodeGeneratorX86_64*>(codegen)), in InstructionSimplifierX86_64Visitor()
|
D | instruction_simplifier_x86.cc | 27 CodeGenerator* codegen, in InstructionSimplifierX86Visitor() argument 30 codegen_(down_cast<CodeGeneratorX86*>(codegen)), in InstructionSimplifierX86Visitor()
|