/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.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod() 85 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenInvokeStaticOrDirect() local 90 } else if (compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()) { in SharpenInvokeStaticOrDirect() 91 if (!compiler_options.GetCompilePic()) { in SharpenInvokeStaticOrDirect() 95 DCHECK(compiler_options.IsBootImageExtension()); in SharpenInvokeStaticOrDirect() 97 } else if (BootImageAOTCanEmbedMethod(callee, compiler_options)) { in SharpenInvokeStaticOrDirect() 104 } else if (compiler_options.IsJitCompiler()) { in SharpenInvokeStaticOrDirect() 108 compiler_options.IsJitCompilerForSharedCode())) { in SharpenInvokeStaticOrDirect() [all …]
|
D | codegen_test_utils.h | 56 CodeGenerator* CreateCodeGenerator(HGraph* graph, const CompilerOptions& compiler_options) { in CreateCodeGenerator() argument 57 return create_codegen_(graph, compiler_options); in CreateCodeGenerator() 88 TestCodeGeneratorARMVIXL(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARMVIXL() argument 89 : arm::CodeGeneratorARMVIXL(graph, compiler_options) { in TestCodeGeneratorARMVIXL() 130 TestCodeGeneratorARM64(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARM64() argument 131 : arm64::CodeGeneratorARM64(graph, compiler_options) {} in TestCodeGeneratorARM64() 148 TestCodeGeneratorX86(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorX86() argument 149 : x86::CodeGeneratorX86(graph, compiler_options) { in TestCodeGeneratorX86() 305 const CompilerOptions& compiler_options, in RunCode() argument 311 compiler_options)); in RunCode() [all …]
|
D | optimizing_compiler.cc | 109 const CompilerOptions& compiler_options, in PassObserver() argument 114 timing_logger_enabled_(compiler_options.GetDumpPassTimings()), in PassObserver() 119 visualizer_enabled_(!compiler_options.GetDumpCfgFileName().empty()), in PassObserver() 125 if (!IsVerboseMethod(compiler_options, GetMethodName())) { in PassObserver() 203 static bool IsVerboseMethod(const CompilerOptions& compiler_options, const char* method_name) { in IsVerboseMethod() argument 206 if (compiler_options.HasVerboseMethods()) { in IsVerboseMethod() 207 return compiler_options.IsVerboseMethod(method_name); in IsVerboseMethod() 271 explicit OptimizingCompiler(const CompilerOptions& compiler_options, 417 OptimizingCompiler::OptimizingCompiler(const CompilerOptions& compiler_options, in OptimizingCompiler() argument 419 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning), in OptimizingCompiler() [all …]
|
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 | builder.cc | 76 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation() local 77 CompilerFilter::Filter compiler_filter = compiler_options.GetCompilerFilter(); in SkipCompilation() 83 if (compiler_options.IsHugeMethod(code_units)) { in SkipCompilation() 92 if (compiler_options.IsLargeMethod(code_units) && (number_of_branches == 0)) { in SkipCompilation()
|
D | prepare_for_register_allocation.h | 35 const CompilerOptions& compiler_options, 38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor()
|
D | intrinsics.cc | 154 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeIntegerValueOfLocations() local 155 if (compiler_options.IsBootImage()) { in ComputeIntegerValueOfLocations() 162 if (!compiler_options.IsImageClass(kIntegerCacheDescriptor) || in ComputeIntegerValueOfLocations() 163 !compiler_options.IsImageClass(kIntegerDescriptor)) { in ComputeIntegerValueOfLocations() 218 if (compiler_options.IsJitCompiler()) { in ComputeIntegerValueOfLocations() 223 DCHECK(compiler_options.IsAotCompiler()); in ComputeIntegerValueOfLocations() 279 HInvoke* invoke, const CompilerOptions& compiler_options) { in ComputeIntegerValueOfInfo() argument 295 if (compiler_options.IsBootImage()) { in ComputeIntegerValueOfInfo() 330 if (compiler_options.IsJitCompiler()) { in ComputeIntegerValueOfInfo()
|
D | optimizing_compiler.h | 31 Compiler* CreateOptimizingCompiler(const CompilerOptions& compiler_options,
|
D | liveness_test.cc | 50 std::unique_ptr<CompilerOptions> compiler_options = in TestCode() local 52 PrepareForRegisterAllocation(graph, *compiler_options).Run(); in TestCode() 53 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options); in TestCode()
|
D | linearize_test.cc | 44 std::unique_ptr<CompilerOptions> compiler_options = in TestCode() local 46 std::unique_ptr<CodeGenerator> codegen = CodeGenerator::Create(graph, *compiler_options); in TestCode()
|
D | code_generator.cc | 979 const CompilerOptions& compiler_options, in Create() argument 982 switch (compiler_options.GetInstructionSet()) { in Create() 987 new (allocator) arm::CodeGeneratorARMVIXL(graph, compiler_options, stats)); in Create() 993 new (allocator) arm64::CodeGeneratorARM64(graph, compiler_options, stats)); in Create() 999 new (allocator) x86::CodeGeneratorX86(graph, compiler_options, stats)); in Create() 1005 new (allocator) x86_64::CodeGeneratorX86_64(graph, compiler_options, stats)); in Create() 1019 const CompilerOptions& compiler_options, in CodeGenerator() argument 1039 compiler_options_(compiler_options), in CodeGenerator()
|
D | scheduler_test.cc | 191 std::unique_ptr<CompilerOptions> compiler_options = in CompileWithRandomSchedulerAndRun() local 194 *compiler_options, in CompileWithRandomSchedulerAndRun()
|
D | inliner.cc | 414 static bool IsMethodUnverified(const CompilerOptions& compiler_options, ArtMethod* method) in IsMethodUnverified() argument 417 if (compiler_options.IsJitCompiler()) { in IsMethodUnverified() 423 if (!compiler_options.IsMethodVerifiedWithoutFailures(method->GetDexMethodIndex(), in IsMethodUnverified() 433 static bool AlwaysThrows(const CompilerOptions& compiler_options, ArtMethod* method) in AlwaysThrows() argument 437 if (!method->IsCompilable() || IsMethodUnverified(compiler_options, method)) { in AlwaysThrows() 1437 static inline bool MayInline(const CompilerOptions& compiler_options, in MayInline() argument 1442 ContainsElement(compiler_options.GetNoInlineFromDexFile(), &inlined_from)) { in MayInline()
|
/art/compiler/ |
D | compiler.cc | 30 Compiler* Compiler::Create(const CompilerOptions& compiler_options, in Create() argument 40 return CreateOptimizingCompiler(compiler_options, storage); in Create()
|
D | compiler.h | 55 static Compiler* Create(const CompilerOptions& compiler_options, 101 Compiler(const CompilerOptions& compiler_options, in Compiler() argument 104 compiler_options_(compiler_options), in Compiler()
|
D | common_compiler_test.cc | 49 std::unique_ptr<CompilerOptions> compiler_options = std::make_unique<CompilerOptions>(); in CreateCompilerOptions() local 50 compiler_options->instruction_set_ = instruction_set; in CreateCompilerOptions() 52 compiler_options->instruction_set_features_ = in CreateCompilerOptions() 54 CHECK(compiler_options->instruction_set_features_ != nullptr) << error_msg; in CreateCompilerOptions() 55 return compiler_options; in CreateCompilerOptions()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 90 ElfWriterQuick(const CompilerOptions& compiler_options, 139 std::unique_ptr<ElfWriter> CreateElfWriterQuick(const CompilerOptions& compiler_options, in CreateElfWriterQuick() argument 141 if (Is64BitInstructionSet(compiler_options.GetInstructionSet())) { in CreateElfWriterQuick() 142 return std::make_unique<ElfWriterQuick<ElfTypes64>>(compiler_options, elf_file); in CreateElfWriterQuick() 144 return std::make_unique<ElfWriterQuick<ElfTypes32>>(compiler_options, elf_file); in CreateElfWriterQuick() 149 ElfWriterQuick<ElfTypes>::ElfWriterQuick(const CompilerOptions& compiler_options, File* elf_file) in ElfWriterQuick() argument 151 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() 542 std::vector<std::string> compiler_options; in TEST_F() local 543 compiler_options.push_back("--compiler-filter=extract"); in TEST_F() 544 SetupCompiler(compiler_options); in TEST_F()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 129 const CompilerOptions& compiler_options = GetCompilerOptions(); in TypesLoaded() local 130 if (compiler_options.GetGenerateDebugInfo()) { in TypesLoaded() 131 InstructionSet isa = compiler_options.GetInstructionSet(); in TypesLoaded() 132 const InstructionSetFeatures* features = compiler_options.GetInstructionSetFeatures(); in TypesLoaded()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 115 static JniCompiledMethod ArtJniCompileMethodInternal(const CompilerOptions& compiler_options, in ArtJniCompileMethodInternal() argument 124 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal() 126 compiler_options.GetInstructionSetFeatures(); in ArtJniCompileMethodInternal() 217 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal() 218 jni_asm->SetEmitRunTimeChecksInDebugMode(compiler_options.EmitRunTimeChecksInDebugMode()); in ArtJniCompileMethodInternal() 795 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options, in ArtQuickJniCompileMethod() argument 799 if (Is64BitInstructionSet(compiler_options.GetInstructionSet())) { in ArtQuickJniCompileMethod() 801 compiler_options, access_flags, method_idx, dex_file); in ArtQuickJniCompileMethod() 804 compiler_options, access_flags, method_idx, dex_file); in ArtQuickJniCompileMethod()
|
D | jni_compiler.h | 65 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options,
|
/art/compiler/dex/ |
D | verification_results.cc | 33 VerificationResults::VerificationResults(const CompilerOptions* compiler_options) in VerificationResults() argument 34 : compiler_options_(compiler_options), in VerificationResults()
|
D | verification_results.h | 44 explicit VerificationResults(const CompilerOptions* compiler_options);
|
/art/runtime/ |
D | common_runtime_test.cc | 420 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine() local 421 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine() 474 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage() local 475 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
|