/art/compiler/optimizing/ |
D | sharpening.cc | 51 static bool BootImageAOTCanEmbedMethod(ArtMethod* method, const CompilerOptions& compiler_options) { in BootImageAOTCanEmbedMethod() argument 52 DCHECK(compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()); in BootImageAOTCanEmbedMethod() 57 return compiler_options.IsImageClass(dex_file.GetTypeDescriptor(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod() 88 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenLoadMethod() local 99 } else if (compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()) { in SharpenLoadMethod() 100 if (!compiler_options.GetCompilePic()) { in SharpenLoadMethod() 104 DCHECK(compiler_options.IsBootImageExtension()); in SharpenLoadMethod() 106 } else if (BootImageAOTCanEmbedMethod(callee, compiler_options)) { in SharpenLoadMethod() 116 } else if (compiler_options.IsJitCompiler()) { in SharpenLoadMethod() 120 compiler_options.IsJitCompilerForSharedCode())) { in SharpenLoadMethod() [all …]
|
D | codegen_test_utils.h | 61 CodeGenerator* CreateCodeGenerator(HGraph* graph, const CompilerOptions& compiler_options) { in CreateCodeGenerator() argument 62 return create_codegen_(graph, compiler_options); in CreateCodeGenerator() 93 TestCodeGeneratorARMVIXL(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARMVIXL() argument 94 : arm::CodeGeneratorARMVIXL(graph, compiler_options) { in TestCodeGeneratorARMVIXL() 135 TestCodeGeneratorARM64(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARM64() argument 136 : arm64::CodeGeneratorARM64(graph, compiler_options) {} in TestCodeGeneratorARM64() 153 TestCodeGeneratorX86(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorX86() argument 154 : x86::CodeGeneratorX86(graph, compiler_options) { in TestCodeGeneratorX86() 290 const CompilerOptions& compiler_options, in RunCode() argument 296 compiler_options)); in RunCode() [all …]
|
D | optimizing_compiler.cc | 86 const CompilerOptions& compiler_options) in PassObserver() argument 90 timing_logger_enabled_(compiler_options.GetDumpPassTimings()), in PassObserver() 95 visualizer_enabled_(!compiler_options.GetDumpCfgFileName().empty()), in PassObserver() 100 if (!IsVerboseMethod(compiler_options, GetMethodName())) { in PassObserver() 184 static bool IsVerboseMethod(const CompilerOptions& compiler_options, const char* method_name) { in IsVerboseMethod() argument 187 if (compiler_options.HasVerboseMethods()) { in IsVerboseMethod() 188 return compiler_options.IsVerboseMethod(method_name); in IsVerboseMethod() 251 explicit OptimizingCompiler(const CompilerOptions& compiler_options, 391 OptimizingCompiler::OptimizingCompiler(const CompilerOptions& compiler_options, in OptimizingCompiler() argument 393 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning) { in OptimizingCompiler() [all …]
|
D | profiling_info_builder.h | 34 const CompilerOptions& compiler_options, 39 compiler_options_(compiler_options) {} in HGraphDelegateVisitor() 47 const CompilerOptions& compiler_options, 51 const HInliner* inliner, const CompilerOptions& compiler_options, HInvoke* invoke)
|
D | profiling_info_builder.cc | 46 const CompilerOptions& compiler_options, in EncodeInlinedDexPc() argument 61 compiler_options.GetInlineMaxCodeUnits()); in EncodeInlinedDexPc() 64 static uint32_t EncodeDexPc(HInvoke* invoke, const CompilerOptions& compiler_options) { in EncodeDexPc() argument 78 compiler_options.GetInlineMaxCodeUnits()); in EncodeDexPc() 133 const CompilerOptions& compiler_options, in GetInlineCache() argument 136 uint32_t dex_pc = EncodeDexPc(instruction, compiler_options); in GetInlineCache()
|
D | codegen_test.cc | 84 std::unique_ptr<CompilerOptions> compiler_options = in TestCode() local 86 RunCode(target_config, *compiler_options, graph, [](HGraph*) {}, has_result, expected); in TestCode() 97 std::unique_ptr<CompilerOptions> compiler_options = in TestCodeLong() local 99 RunCode(target_config, *compiler_options, graph, [](HGraph*) {}, has_result, expected); in TestCodeLong() 450 std::unique_ptr<CompilerOptions> compiler_options = in TEST_F() local 452 PrepareForRegisterAllocation(graph, *compiler_options).Run(); in TEST_F() 461 RunCode(target_config, *compiler_options, graph, hook_before_codegen, true, 0); in TEST_F() 507 std::unique_ptr<CompilerOptions> compiler_options = in TEST_F() local 509 RunCode(target_config, *compiler_options, graph, hook_before_codegen, true, lhs[i] < rhs[i]); in TEST_F() 576 std::unique_ptr<CompilerOptions> compiler_options = in TEST_F() local [all …]
|
D | intrinsics.cc | 68 static bool CanReferenceBootImageObjects(HInvoke* invoke, const CompilerOptions& compiler_options) { in CanReferenceBootImageObjects() argument 72 if (compiler_options.IsAotCompiler() && in CanReferenceBootImageObjects() 76 if (!compiler_options.IsBootImage() && in CanReferenceBootImageObjects() 91 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeValueOfLocations() local 92 if (!CanReferenceBootImageObjects(invoke, compiler_options)) { in ComputeValueOfLocations() 124 const CompilerOptions& compiler_options, in ComputeValueOfInfo() argument 133 if (compiler_options.IsBootImage()) { in ComputeValueOfInfo()
|
D | prepare_for_register_allocation.h | 36 const CompilerOptions& compiler_options, 39 compiler_options_(compiler_options) {} in HGraphDelegateVisitor()
|
D | builder.cc | 72 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation() local 73 CompilerFilter::Filter compiler_filter = compiler_options.GetCompilerFilter(); in SkipCompilation() 79 if (compiler_options.IsHugeMethod(code_units)) { in SkipCompilation()
|
D | optimizing_compiler.h | 32 Compiler* CreateOptimizingCompiler(const CompilerOptions& compiler_options,
|
D | liveness_test.cc | 51 std::unique_ptr<CompilerOptions> compiler_options = in TestCode() local 53 PrepareForRegisterAllocation(graph, *compiler_options).Run(); in TestCode() 54 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options); in TestCode()
|
D | linearize_test.cc | 45 std::unique_ptr<CompilerOptions> compiler_options = in TestCode() local 47 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options); in TestCode()
|
D | code_generator.cc | 931 const CompilerOptions& compiler_options, in Create() argument 934 switch (compiler_options.GetInstructionSet()) { in Create() 939 new (allocator) arm::CodeGeneratorARMVIXL(graph, compiler_options, stats)); in Create() 945 new (allocator) arm64::CodeGeneratorARM64(graph, compiler_options, stats)); in Create() 951 new (allocator) riscv64::CodeGeneratorRISCV64(graph, compiler_options, stats)); in Create() 957 new (allocator) x86::CodeGeneratorX86(graph, compiler_options, stats)); in Create() 963 new (allocator) x86_64::CodeGeneratorX86_64(graph, compiler_options, stats)); in Create() 980 const CompilerOptions& compiler_options, in CodeGenerator() argument 1001 compiler_options_(compiler_options), in CodeGenerator()
|
D | scheduler_test.cc | 192 std::unique_ptr<CompilerOptions> compiler_options = in CompileWithRandomSchedulerAndRun() local 195 *compiler_options, in CompileWithRandomSchedulerAndRun()
|
/art/compiler/ |
D | compiler.cc | 30 Compiler* Compiler::Create(const CompilerOptions& compiler_options, CompiledCodeStorage* storage) { in Create() argument 34 return CreateOptimizingCompiler(compiler_options, storage); in Create()
|
D | compiler.h | 51 EXPORT static Compiler* Create(const CompilerOptions& compiler_options, 96 Compiler(const CompilerOptions& compiler_options, in Compiler() argument 99 compiler_options_(compiler_options), in Compiler()
|
D | common_compiler_test.cc | 190 std::unique_ptr<CompilerOptions> compiler_options = std::make_unique<CompilerOptions>(); in CreateCompilerOptions() local 191 compiler_options->emit_read_barrier_ = gUseReadBarrier; in CreateCompilerOptions() 192 compiler_options->instruction_set_ = instruction_set; in CreateCompilerOptions() 194 compiler_options->instruction_set_features_ = in CreateCompilerOptions() 196 CHECK(compiler_options->instruction_set_features_ != nullptr) << error_msg; in CreateCompilerOptions() 197 return compiler_options; in CreateCompilerOptions()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 87 ElfWriterQuick(const CompilerOptions& compiler_options, 137 std::unique_ptr<ElfWriter> CreateElfWriterQuick(const CompilerOptions& compiler_options, in CreateElfWriterQuick() argument 139 if (Is64BitInstructionSet(compiler_options.GetInstructionSet())) { in CreateElfWriterQuick() 140 return std::make_unique<ElfWriterQuick<ElfTypes64>>(compiler_options, elf_file); in CreateElfWriterQuick() 142 return std::make_unique<ElfWriterQuick<ElfTypes32>>(compiler_options, elf_file); in CreateElfWriterQuick() 147 ElfWriterQuick<ElfTypes>::ElfWriterQuick(const CompilerOptions& compiler_options, File* elf_file) in ElfWriterQuick() argument 149 compiler_options_(compiler_options), in ElfWriterQuick()
|
D | elf_writer_quick.h | 33 std::unique_ptr<ElfWriter> CreateElfWriterQuick(const CompilerOptions& compiler_options,
|
D | oat_writer_test.cc | 89 void SetupCompiler(const std::vector<std::string>& compiler_options) { in SetupCompiler() argument 91 if (!compiler_options_->ParseCompilerOptions(compiler_options, in SetupCompiler() 532 std::vector<std::string> compiler_options; in TEST_F() local 533 compiler_options.push_back("--compiler-filter=extract"); in TEST_F() 534 SetupCompiler(compiler_options); in TEST_F()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 139 const CompilerOptions& compiler_options = GetCompilerOptions(); in TypesLoaded() local 140 if (compiler_options.GetGenerateDebugInfo()) { in TypesLoaded() 141 InstructionSet isa = compiler_options.GetInstructionSet(); in TypesLoaded() 142 const InstructionSetFeatures* features = compiler_options.GetInstructionSetFeatures(); in TypesLoaded()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 78 static JniCompiledMethod ArtJniCompileMethodInternal(const CompilerOptions& compiler_options, in ArtJniCompileMethodInternal() argument 89 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal() 91 compiler_options.GetInstructionSetFeatures(); in ArtJniCompileMethodInternal() 92 bool emit_read_barrier = compiler_options.EmitReadBarrier(); in ArtJniCompileMethodInternal() 93 bool is_debuggable = compiler_options.GetDebuggable(); in ArtJniCompileMethodInternal() 94 bool needs_entry_exit_hooks = is_debuggable && compiler_options.IsJitCompiler(); in ArtJniCompileMethodInternal() 164 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal() 165 jni_asm->SetEmitRunTimeChecksInDebugMode(compiler_options.EmitRunTimeChecksInDebugMode()); in ArtJniCompileMethodInternal() 770 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options, in ArtQuickJniCompileMethod() argument 774 if (Is64BitInstructionSet(compiler_options.GetInstructionSet())) { in ArtQuickJniCompileMethod() [all …]
|
D | jni_compiler.h | 67 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options,
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 256 const CompilerOptions* compiler_options, in CompilerDriver() argument 260 : compiler_options_(compiler_options), in CompilerDriver() 272 compiler_.reset(Compiler::Create(*compiler_options, &compiled_method_storage_)); in CompilerDriver() 417 static bool ShouldCompileBasedOnProfile(const CompilerOptions& compiler_options, in ShouldCompileBasedOnProfile() argument 422 if (!CompilerFilter::DependsOnProfile(compiler_options.GetCompilerFilter())) { in ShouldCompileBasedOnProfile() 426 DCHECK(compiler_options.GetProfileCompilationInfo() == nullptr || in ShouldCompileBasedOnProfile() 427 compiler_options.GetProfileCompilationInfo()->FindDexFile(*method_ref.dex_file) == in ShouldCompileBasedOnProfile() 431 DCHECK(CompilerFilter::DependsOnProfile(compiler_options.GetCompilerFilter())); in ShouldCompileBasedOnProfile() 433 compiler_options.GetProfileCompilationInfo(); in ShouldCompileBasedOnProfile() 487 const CompilerOptions& compiler_options = driver->GetCompilerOptions(); in CompileMethodQuick() local [all …]
|
/art/runtime/ |
D | common_runtime_test.cc | 449 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine() local 450 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine() 504 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage() local 505 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
|