Home
last modified time | relevance | path

Searched refs:GetCompilerOptions (Results 1 – 25 of 38) sorted by relevance

12

/art/dex2oat/driver/
Dcompiler_driver.cc286 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 …]
Dcompiler_driver.h114 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/compiler/jit/
Djit_compiler.cc54 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()
Djit_compiler.h48 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/compiler/optimizing/
Dsharpening.cc88 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()
Dx86_memory_gen.cc76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) { in X86MemoryOperandGeneration()
Doptimizing_compiler.cc274 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 …]
Dintrinsics.cc91 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeValueOfLocations()
192 if (!CanReferenceBootImageObjects(invoke, codegen->GetCompilerOptions())) { in CreateReferenceGetReferentLocations()
Dinliner.cc138 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 …]
Dcode_generator_arm64.cc292 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 …]
Dbuilder.cc72 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation()
Dcode_generator_riscv64.cc428 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 …]
Dcode_generator_x86_64.cc327 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 …]
Dcode_generator_arm_vixl.cc513 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 …]
Dpc_relative_fixups_x86.cc244 if (!codegen_->GetCompilerOptions().GetCompilePic()) { in HandleInvoke()
Dstack_map_stream.cc251 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry()
295 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry()
Dcode_generator_x86.cc318 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 …]
Dcodegen_test_utils.h267 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck()
Dintrinsics.h306 !codegen_->GetCompilerOptions().IsBaseline()) { \
Doptimization.cc295 graph, codegen->GetCompilerOptions().GetInstructionSet(), codegen, pass_name); in ConstructOptimizations()
Dinstruction_builder.cc366 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()
Dcode_generator.cc146 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/
Doat_writer.cc517 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/
Dcompiler.h104 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/runtime/
Dcommon_runtime_test.cc449 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine()
504 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage()

12