Home
last modified time | relevance | path

Searched refs:compiler_options (Results 1 – 25 of 42) sorted by relevance

12

/art/compiler/optimizing/
Dcodegen_test_utils.h66 CodeGenerator* CreateCodeGenerator(HGraph* graph, const CompilerOptions& compiler_options) { in CreateCodeGenerator() argument
67 return create_codegen_(graph, compiler_options); in CreateCodeGenerator()
98 TestCodeGeneratorARMVIXL(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARMVIXL() argument
99 : arm::CodeGeneratorARMVIXL(graph, compiler_options) { in TestCodeGeneratorARMVIXL()
140 TestCodeGeneratorARM64(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorARM64() argument
141 : arm64::CodeGeneratorARM64(graph, compiler_options) {} in TestCodeGeneratorARM64()
158 TestCodeGeneratorX86(HGraph* graph, const CompilerOptions& compiler_options) in TestCodeGeneratorX86() argument
159 : x86::CodeGeneratorX86(graph, compiler_options) { in TestCodeGeneratorX86()
315 const CompilerOptions& compiler_options, in RunCode() argument
321 compiler_options)); in RunCode()
[all …]
Dsharpening.cc50 static bool BootImageAOTCanEmbedMethod(ArtMethod* method, const CompilerOptions& compiler_options) { in BootImageAOTCanEmbedMethod() argument
51 DCHECK(compiler_options.IsBootImage()); in BootImageAOTCanEmbedMethod()
56 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
84 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenInvokeStaticOrDirect() local
89 } else if (compiler_options.IsBootImage()) { in SharpenInvokeStaticOrDirect()
90 if (!compiler_options.GetCompilePic()) { in SharpenInvokeStaticOrDirect()
93 } else if (BootImageAOTCanEmbedMethod(callee, compiler_options)) { in SharpenInvokeStaticOrDirect()
154 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind() local
155 if (compiler_options.IsBootImage()) { in ComputeLoadClassKind()
158 if (!compiler_options.GetCompilePic()) { in ComputeLoadClassKind()
[all …]
Doptimizing_compiler.cc110 const CompilerOptions& compiler_options, in PassObserver() argument
115 timing_logger_enabled_(compiler_options.GetDumpPassTimings()), in PassObserver()
120 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()
270 explicit OptimizingCompiler(const CompilerOptions& compiler_options,
422 OptimizingCompiler::OptimizingCompiler(const CompilerOptions& compiler_options, in OptimizingCompiler() argument
424 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning), in OptimizingCompiler()
[all …]
Dprepare_for_register_allocation.h35 const CompilerOptions& compiler_options,
38 compiler_options_(compiler_options) {} in HGraphDelegateVisitor()
Dbuilder.cc80 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation() local
81 CompilerFilter::Filter compiler_filter = compiler_options.GetCompilerFilter(); in SkipCompilation()
87 if (compiler_options.IsHugeMethod(code_units)) { in SkipCompilation()
96 if (compiler_options.IsLargeMethod(code_units) && (number_of_branches == 0)) { in SkipCompilation()
Doptimizing_compiler.h31 Compiler* CreateOptimizingCompiler(const CompilerOptions& compiler_options,
Dintrinsics.cc154 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()
279 HInvoke* invoke, const CompilerOptions& compiler_options) { in ComputeIntegerValueOfInfo() argument
296 if (compiler_options.IsBootImage()) { in ComputeIntegerValueOfInfo()
Dcode_generator.cc883 const CompilerOptions& compiler_options, in Create() argument
886 switch (compiler_options.GetInstructionSet()) { in Create()
891 new (allocator) arm::CodeGeneratorARMVIXL(graph, compiler_options, stats)); in Create()
897 new (allocator) arm64::CodeGeneratorARM64(graph, compiler_options, stats)); in Create()
903 new (allocator) mips::CodeGeneratorMIPS(graph, compiler_options, stats)); in Create()
909 new (allocator) mips64::CodeGeneratorMIPS64(graph, compiler_options, stats)); in Create()
915 new (allocator) x86::CodeGeneratorX86(graph, compiler_options, stats)); in Create()
921 new (allocator) x86_64::CodeGeneratorX86_64(graph, compiler_options, stats)); in Create()
935 const CompilerOptions& compiler_options, in CodeGenerator() argument
955 compiler_options_(compiler_options), in CodeGenerator()
Dloop_optimization.h41 const CompilerOptions* compiler_options,
Dinliner.cc415 static bool IsMethodUnverified(const CompilerOptions& compiler_options, ArtMethod* method) in IsMethodUnverified() argument
424 if (!compiler_options.IsMethodVerifiedWithoutFailures(method->GetDexMethodIndex(), in IsMethodUnverified()
434 static bool AlwaysThrows(const CompilerOptions& compiler_options, ArtMethod* method) in AlwaysThrows() argument
438 if (!method->IsCompilable() || IsMethodUnverified(compiler_options, method)) { in AlwaysThrows()
1426 static inline bool MayInline(const CompilerOptions& compiler_options, in MayInline() argument
1431 ContainsElement(compiler_options.GetNoInlineFromDexFile(), &inlined_from)) { in MayInline()
Dintrinsics.h140 HInvoke* invoke, const CompilerOptions& compiler_options);
/art/compiler/
Dcompiler.cc30 Compiler* Compiler::Create(const CompilerOptions& compiler_options, in Create() argument
40 return CreateOptimizingCompiler(compiler_options, storage); in Create()
Dcompiler.h54 static Compiler* Create(const CompilerOptions& compiler_options,
100 Compiler(const CompilerOptions& compiler_options, in Compiler() argument
103 compiler_options_(compiler_options), in Compiler()
DAndroid.bp33 "driver/compiler_options.cc",
180 "art_cmdlineparser_headers", // For compiler_options.
199 "driver/compiler_options.h",
/art/compiler/jit/
Djit_compiler.cc143 const CompilerOptions& compiler_options = jit_compiler->GetCompilerOptions(); in jit_types_loaded() local
144 if (compiler_options.GetGenerateDebugInfo()) { in jit_types_loaded()
147 kRuntimeISA, compiler_options.GetInstructionSetFeatures(), types_array); in jit_types_loaded()
154 compiler_options.GetInstructionSet(), in jit_types_loaded()
155 compiler_options.GetInstructionSetFeatures()); in jit_types_loaded()
/art/dex2oat/linker/
Delf_writer_quick.cc90 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()
Delf_writer_quick.h33 std::unique_ptr<ElfWriter> CreateElfWriterQuick(const CompilerOptions& compiler_options,
Doat_writer_test.cc88 void SetupCompiler(const std::vector<std::string>& compiler_options) { in SetupCompiler() argument
90 if (!compiler_options_->ParseCompilerOptions(compiler_options, in SetupCompiler()
499 std::vector<std::string> compiler_options; in TEST_F() local
500 compiler_options.push_back("--compiler-filter=extract"); in TEST_F()
501 SetupCompiler(compiler_options); in TEST_F()
/art/compiler/jni/quick/
Djni_compiler.cc117 static JniCompiledMethod ArtJniCompileMethodInternal(const CompilerOptions& compiler_options, in ArtJniCompileMethodInternal() argument
126 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal()
128 compiler_options.GetInstructionSetFeatures(); in ArtJniCompileMethodInternal()
219 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
220 jni_asm->SetEmitRunTimeChecksInDebugMode(compiler_options.EmitRunTimeChecksInDebugMode()); in ArtJniCompileMethodInternal()
767 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options, in ArtQuickJniCompileMethod() argument
771 if (Is64BitInstructionSet(compiler_options.GetInstructionSet())) { in ArtQuickJniCompileMethod()
773 compiler_options, access_flags, method_idx, dex_file); in ArtQuickJniCompileMethod()
776 compiler_options, access_flags, method_idx, dex_file); in ArtQuickJniCompileMethod()
Djni_compiler.h65 JniCompiledMethod ArtQuickJniCompileMethod(const CompilerOptions& compiler_options,
/art/compiler/dex/
Dverification_results.cc33 VerificationResults::VerificationResults(const CompilerOptions* compiler_options) in VerificationResults() argument
34 : compiler_options_(compiler_options), in VerificationResults()
Dverification_results.h44 explicit VerificationResults(const CompilerOptions* compiler_options);
/art/dex2oat/
Ddex2oat_image_test.cc177 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage() local
178 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
/art/runtime/
Dcommon_runtime_test.cc429 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine() local
430 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine()
/art/dex2oat/driver/
Dcompiler_driver.h89 CompilerDriver(const CompilerOptions* compiler_options,

12