/art/dex2oat/driver/ |
D | compiler_driver.cc | 286 if (Is64BitInstructionSet(GetCompilerOptions().GetInstructionSet())) { \ 287 return CreateTrampoline64(GetCompilerOptions().GetInstructionSet(), \ 291 return CreateTrampoline32(GetCompilerOptions().GetInstructionSet(), \ 346 if (GetCompilerOptions().IsAnyCompilationEnabled()) { in CompileAll() 349 if (GetCompilerOptions().GetDumpStats()) { in CompileAll() 487 const CompilerOptions& compiler_options = driver->GetCompilerOptions(); in CompileMethodQuick() 515 const CompilerOptions& compiler_options = driver->GetCompilerOptions(); in CompileMethodQuick() 575 bool force_determinism = GetCompilerOptions().IsForceDeterminism(); in Resolve() 596 GetCompilerOptions().GetProfileCompilationInfo(); in ResolveConstStrings() 701 if (descriptor[0] == 'L' && driver->GetCompilerOptions().IsImageClass(descriptor)) { in InitializeTypeCheckBitstrings() [all …]
|
D | compiler_driver.h | 114 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
|
/art/compiler/jit/ |
D | jit_compiler.cc | 54 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions() 88 for (const std::string& option : runtime->GetCompilerOptions()) { in ParseCompilerOptions() 139 const CompilerOptions& compiler_options = GetCompilerOptions(); in TypesLoaded() 154 return GetCompilerOptions().GetGenerateDebugInfo(); in GenerateDebugInfo()
|
D | jit_compiler.h | 48 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
|
/art/compiler/optimizing/ |
D | sharpening.cc | 88 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenLoadMethod() 172 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind() 319 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in CanUseTypeCheckBitstring() 322 } else if (codegen->GetCompilerOptions().IsBootImage()) { in CanUseTypeCheckBitstring() 324 if (!codegen->GetCompilerOptions().IsImageClass(descriptor)) { in CanUseTypeCheckBitstring() 402 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ProcessLoadString() 436 DCHECK(!codegen->GetCompilerOptions().GetCompilePic()); in ProcessLoadString()
|
D | x86_memory_gen.cc | 76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) { in X86MemoryOperandGeneration()
|
D | optimizing_compiler.cc | 274 InstructionSetPointerSize(GetCompilerOptions().GetInstructionSet()))); in GetEntryPointOf() 414 const CompilerOptions& compiler_options = GetCompilerOptions(); in DumpInstructionSetFeaturesToCfg() 452 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunRequiredPasses() 503 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunArchOptimizations() 598 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions(), stats).Run(); in AllocateRegisters() 626 const std::vector<std::string>* pass_names = GetCompilerOptions().GetPassesToRun(); in RunOptimizations() 767 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompile() 929 graph, codegen->GetCompilerOptions(), codegen.get(), compilation_stats_.get()).Run(); in TryCompile() 968 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompileIntrinsic() 1069 const CompilerOptions& compiler_options = GetCompilerOptions(); in Compile() [all …]
|
D | intrinsics.cc | 91 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeValueOfLocations() 192 if (!CanReferenceBootImageObjects(invoke, codegen->GetCompilerOptions())) { in CreateReferenceGetReferentLocations()
|
D | inliner.cc | 138 if (codegen_->GetCompilerOptions().GetInlineMaxCodeUnits() == 0) { in Run() 166 const bool honor_noinline_directives = codegen_->GetCompilerOptions().CompileArtTest(); in Run() 692 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler()); in GetInlineCacheJIT() 706 this, codegen_->GetCompilerOptions(), invoke_instruction); in GetInlineCacheJIT() 739 const ProfileCompilationInfo* pci = codegen_->GetCompilerOptions().GetProfileCompilationInfo(); in GetInlineCacheAOT() 1207 if (!codegen_->GetCompilerOptions().IsJitCompiler()) { in TryInlinePolymorphicCallToSameTarget() 1555 size_t inline_max_code_units = codegen_->GetCompilerOptions().GetInlineMaxCodeUnits(); in IsInliningEncouraged() 1640 if (!MayInline(codegen_->GetCompilerOptions(), in TryBuildAndInline() 1907 *out_needs_bss_check = codegen->GetCompilerOptions().IsMultiImage(); in CanEncodeInlinedMethodInStackMap() 1912 if (codegen->GetCompilerOptions().WithinOatFile(dex_file)) { in CanEncodeInlinedMethodInStackMap() [all …]
|
D | code_generator_arm64.cc | 292 arm64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode() 1062 DCHECK(GetCompilerOptions().IsJitCompiler() || jit_baker_read_barrier_slow_paths_.empty()); in Finalize() 1278 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodExitHook() 1288 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodEntryHook() 1295 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in MaybeIncrementHotness() 1340 if (GetCompilerOptions().ShouldCompileWithClinitCheck(GetGraph()->GetArtMethod())) { in GenerateFrameEntry() 1389 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry() 1638 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArm64InstructionSetFeatures(); in GetInstructionSetFeatures() 2047 if (slow_path == nullptr || GetCompilerOptions().IsJitCompiler()) { in InvokeRuntime() 2137 return GetCompilerOptions().GetImplicitSuspendChecks() && !GetGraph()->HasSIMD(); in CanUseImplicitSuspendCheck() [all …]
|
D | builder.cc | 72 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation()
|
D | code_generator_riscv64.cc | 428 riscv64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode() 3757 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf() 3781 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf() 4358 DCHECK(codegen_->GetCompilerOptions().IsBootImage() || in VisitLoadClass() 4359 codegen_->GetCompilerOptions().IsBootImageExtension()); in VisitLoadClass() 4371 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass() 4377 DCHECK(codegen_->GetCompilerOptions().IsAppImage()); in VisitLoadClass() 4505 DCHECK(codegen_->GetCompilerOptions().IsBootImage() || in VisitLoadString() 4506 codegen_->GetCompilerOptions().IsBootImageExtension()); in VisitLoadString() 4516 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString() [all …]
|
D | code_generator_x86_64.cc | 327 x86_64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode() 1133 DCHECK(GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()); in LoadMethod() 1213 DCHECK(GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()); in GenerateStaticOrDirectCall() 1317 GetCompilerOptions().WithinOatFile(invoke->GetMethodReference().dex_file) || in RecordMethodBssEntryPatch() 1382 if (GetCompilerOptions().IsBootImage()) { in LoadBootImageAddress() 1386 } else if (GetCompilerOptions().GetCompilePic()) { in LoadBootImageAddress() 1391 DCHECK(GetCompilerOptions().IsJitCompiler()); in LoadBootImageAddress() 1401 if (GetCompilerOptions().IsBootImage()) { in LoadIntrinsicDeclaringClass() 1416 if (GetCompilerOptions().IsBootImage()) { in LoadClassRootForIntrinsic() 1467 if (GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()) { in EmitLinkerPatches() [all …]
|
D | code_generator_arm_vixl.cc | 513 arm_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode() 1083 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArmInstructionSetFeatures(); in GetInstructionSetFeatures() 2023 DCHECK(GetCompilerOptions().IsJitCompiler() || jit_baker_read_barrier_slow_paths_.empty()); in Finalize() 2263 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodExitHook() 2277 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodEntryHook() 2284 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in MaybeIncrementHotness() 2331 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry() 2338 if (GetCompilerOptions().ShouldCompileWithClinitCheck(GetGraph()->GetArtMethod())) { in GenerateFrameEntry() 2798 if (slow_path == nullptr || GetCompilerOptions().IsJitCompiler()) { in InvokeRuntime() 3015 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf() [all …]
|
D | pc_relative_fixups_x86.cc | 244 if (!codegen_->GetCompilerOptions().GetCompilePic()) { in HandleInvoke()
|
D | stack_map_stream.cc | 251 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry() 295 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry()
|
D | code_generator_x86.cc | 318 x86_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode() 1075 return *GetCompilerOptions().GetInstructionSetFeatures()->AsX86InstructionSetFeatures(); in GetInstructionSetFeatures() 1318 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodExitHook() 1334 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodEntryHook() 1340 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in MaybeIncrementHotness() 1389 if (GetCompilerOptions().ShouldCompileWithClinitCheck(GetGraph()->GetArtMethod())) { in GenerateFrameEntry() 1428 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry() 2184 if (AreEflagsSetFrom(cond, instruction, codegen_->GetCompilerOptions())) { in GenerateTestAndBranch() 2239 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf() 2259 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf() [all …]
|
D | codegen_test_utils.h | 267 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck()
|
D | intrinsics.h | 306 !codegen_->GetCompilerOptions().IsBaseline()) { \
|
D | optimization.cc | 295 graph, codegen->GetCompilerOptions().GetInstructionSet(), codegen, pass_name); in ConstructOptimizations()
|
D | instruction_builder.cc | 366 code_generator_->GetCompilerOptions().GetNativeDebuggable(); in Build() 381 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in Build() 473 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic() 518 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic() 523 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic() 857 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildReturn() 866 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildReturn() 1670 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in IsInitialized() 1734 if (is_subclass && HasTrivialInitialization(cls, code_generator_->GetCompilerOptions())) { in IsInitialized() 2699 if (!code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildLoadMethodType()
|
D | code_generator.cc | 146 return GetCompilerOptions().EmitReadBarrier(); in EmitReadBarrier() 150 return kUseBakerReadBarrier && GetCompilerOptions().EmitReadBarrier(); in EmitBakerReadBarrier() 154 return !kUseBakerReadBarrier && GetCompilerOptions().EmitReadBarrier(); in EmitNonBakerReadBarrier() 164 const CompilerOptions& options = GetCompilerOptions(); in ShouldCheckGCCard() 1258 if (GetCompilerOptions().GetNativeDebuggable() && dex_pc != kNoDexPc) { in MaybeRecordNativeDebugInfo()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 517 return GetCompilerOptions().IsAnyCompilationEnabled(); in MayHaveCompiledMethods() 596 if (GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()) { in PrepareLayout() 1036 const CompilerOptions& compiler_options = writer_->GetCompilerOptions(); in VisitMethod() 1140 writer->GetCompilerOptions(), in LayoutReserveOffsetCodeMethodVisitor() 1340 const CompilerOptions& compiler_options = writer->GetCompilerOptions(); in InitMapMethodVisitor() 1423 if (!writer_->GetCompilerOptions().IsImageClass(class_descriptor)) { in StartClass() 1546 if (writer_->GetCompilerOptions().IsBootImage() || in WriteCodeMethodVisitor() 1547 writer_->GetCompilerOptions().IsBootImageExtension()) { in WriteCodeMethodVisitor() 1564 if (writer_->GetCompilerOptions().IsAotCompilationEnabled()) { in UpdateDexFileAndDexCache() 1887 DCHECK(writer_->GetCompilerOptions().IsBootImage() || in GetTargetString() [all …]
|
/art/compiler/ |
D | compiler.h | 104 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
|
/art/runtime/ |
D | common_runtime_test.cc | 449 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine() 504 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage()
|