Home
last modified time | relevance | path

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

12

/aosp_15_r20/art/dex2oat/driver/
H A 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()
483 const CompilerOptions& compiler_options = driver->GetCompilerOptions(); in CompileMethodQuick()
511 const CompilerOptions& compiler_options = driver->GetCompilerOptions(); in CompileMethodQuick()
569 bool force_determinism = GetCompilerOptions().IsForceDeterminism(); in Resolve()
590 GetCompilerOptions().GetProfileCompilationInfo(); in ResolveConstStrings()
695 if (descriptor[0] == 'L' && driver->GetCompilerOptions().IsImageClass(descriptor)) { in InitializeTypeCheckBitstrings()
[all …]
/aosp_15_r20/art/compiler/optimizing/
H A Dsharpening.cc90 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenLoadMethod()
179 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind()
326 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in CanUseTypeCheckBitstring()
329 } else if (codegen->GetCompilerOptions().IsBootImage()) { in CanUseTypeCheckBitstring()
331 if (!codegen->GetCompilerOptions().IsImageClass(descriptor)) { in CanUseTypeCheckBitstring()
409 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ProcessLoadString()
443 DCHECK(!codegen->GetCompilerOptions().GetCompilePic()); in ProcessLoadString()
486 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ProcessLoadMethodType()
H A Doptimizing_compiler.cc273 InstructionSetPointerSize(GetCompilerOptions().GetInstructionSet()))); in GetEntryPointOf()
413 const CompilerOptions& compiler_options = GetCompilerOptions(); in DumpInstructionSetFeaturesToCfg()
451 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunRequiredPasses()
502 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunArchOptimizations()
597 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions(), stats).Run(); in AllocateRegisters()
625 const std::vector<std::string>* pass_names = GetCompilerOptions().GetPassesToRun(); in RunOptimizations()
769 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompile()
936 graph, codegen->GetCompilerOptions(), codegen.get(), compilation_stats_.get()).Run(); in TryCompile()
975 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompileIntrinsic()
1075 const CompilerOptions& compiler_options = GetCompilerOptions(); in Compile()
[all …]
H A Dcode_generator_arm64.cc336 arm64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode()
1141 DCHECK(GetCompilerOptions().IsJitCompiler() || jit_baker_read_barrier_slow_paths_.empty()); in Finalize()
1356 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodExitHook()
1366 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodEntryHook()
1392 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in MaybeIncrementHotness()
1437 if (GetCompilerOptions().ShouldCompileWithClinitCheck(GetGraph()->GetArtMethod())) { in GenerateFrameEntry()
1486 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry()
1739 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArm64InstructionSetFeatures(); in GetInstructionSetFeatures()
2148 if (slow_path == nullptr || GetCompilerOptions().IsJitCompiler()) { in InvokeRuntime()
2238 return GetCompilerOptions().GetImplicitSuspendChecks() && !GetGraph()->HasSIMD(); in CanUseImplicitSuspendCheck()
[all …]
H A Dinliner.cc139 if (codegen_->GetCompilerOptions().GetInlineMaxCodeUnits() == 0) { in Run()
167 const bool honor_noinline_directives = codegen_->GetCompilerOptions().CompileArtTest(); in Run()
699 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler()); in GetInlineCacheJIT()
713 this, codegen_->GetCompilerOptions(), invoke_instruction); in GetInlineCacheJIT()
746 const ProfileCompilationInfo* pci = codegen_->GetCompilerOptions().GetProfileCompilationInfo(); in GetInlineCacheAOT()
1215 if (!codegen_->GetCompilerOptions().IsJitCompiler()) { in TryInlinePolymorphicCallToSameTarget()
1562 size_t inline_max_code_units = codegen_->GetCompilerOptions().GetInlineMaxCodeUnits(); in IsInliningEncouraged()
1648 if (!MayInline(codegen_->GetCompilerOptions(), in TryBuildAndInline()
1912 *out_needs_bss_check = codegen->GetCompilerOptions().IsMultiImage(); in CanEncodeInlinedMethodInStackMap()
1917 if (codegen->GetCompilerOptions().WithinOatFile(dex_file)) { in CanEncodeInlinedMethodInStackMap()
[all …]
H A Dcode_generator_riscv64.cc428 riscv64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode()
3784 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf()
3808 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf()
4385 DCHECK(codegen_->GetCompilerOptions().IsBootImage() || in VisitLoadClass()
4386 codegen_->GetCompilerOptions().IsBootImageExtension()); in VisitLoadClass()
4398 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
4404 DCHECK(codegen_->GetCompilerOptions().IsAppImage()); in VisitLoadClass()
4532 DCHECK(codegen_->GetCompilerOptions().IsBootImage() || in VisitLoadString()
4533 codegen_->GetCompilerOptions().IsBootImageExtension()); in VisitLoadString()
4543 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString()
[all …]
H A Dcode_generator_x86_64.cc327 x86_64_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode()
1133 DCHECK(GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()); in LoadMethod()
1146 DCHECK(GetCompilerOptions().IsAppImage()); in LoadMethod()
1220 DCHECK(GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()); in GenerateStaticOrDirectCall()
1330 GetCompilerOptions().WithinOatFile(invoke->GetMethodReference().dex_file) || in RecordMethodBssEntryPatch()
1395 if (GetCompilerOptions().IsBootImage()) { in LoadBootImageAddress()
1399 } else if (GetCompilerOptions().GetCompilePic()) { in LoadBootImageAddress()
1404 DCHECK(GetCompilerOptions().IsJitCompiler()); in LoadBootImageAddress()
1414 if (GetCompilerOptions().IsBootImage()) { in LoadIntrinsicDeclaringClass()
1429 if (GetCompilerOptions().IsBootImage()) { in LoadClassRootForIntrinsic()
[all …]
H A Dcode_generator_arm_vixl.cc513 arm_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode()
1083 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArmInstructionSetFeatures(); in GetInstructionSetFeatures()
2024 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 …]
H A Dcode_generator_x86.cc318 x86_codegen->GetCompilerOptions().WithinOatFile(&cls_->GetDexFile()) || in EmitNativeCode()
1075 return *GetCompilerOptions().GetInstructionSetFeatures()->AsX86InstructionSetFeatures(); in GetInstructionSetFeatures()
1317 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodExitHook()
1333 DCHECK(codegen_->GetCompilerOptions().IsJitCompiler() && GetGraph()->IsDebuggable()); in VisitMethodEntryHook()
1339 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in MaybeIncrementHotness()
1388 if (GetCompilerOptions().ShouldCompileWithClinitCheck(GetGraph()->GetArtMethod())) { in GenerateFrameEntry()
1427 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry()
2183 if (AreEflagsSetFrom(cond, instruction, codegen_->GetCompilerOptions())) { in GenerateTestAndBranch()
2238 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf()
2257 codegen_->GetCompilerOptions().ProfileBranches() && in VisitIf()
[all …]
H A Dcodegen_test_utils.h181 codegen.GetCompilerOptions().GetInstructionSetFeatures(); in CanExecuteOnHardware()
282 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck()
H A Dintrinsics.cc91 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeValueOfLocations()
192 if (!CanReferenceBootImageObjects(invoke, codegen->GetCompilerOptions())) { in CreateReferenceGetReferentLocations()
H A Dx86_memory_gen.cc76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) { in X86MemoryOperandGeneration()
H A Dstack_map_stream.cc251 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry()
295 codegen->GetCompilerOptions().GetDexFilesForOatFile(); in BeginInlineInfoEntry()
H A Dinstruction_builder.cc368 code_generator_->GetCompilerOptions().GetNativeDebuggable(); in Build()
383 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in Build()
475 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic()
521 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic()
526 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildIntrinsic()
884 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildReturn()
893 if (graph_->IsDebuggable() && code_generator_->GetCompilerOptions().IsJitCompiler()) { in BuildReturn()
1728 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in IsInitialized()
1792 if (is_subclass && HasTrivialInitialization(cls, code_generator_->GetCompilerOptions())) { in IsInitialized()
H A Dcode_generator.cc147 return GetCompilerOptions().EmitReadBarrier(); in EmitReadBarrier()
151 return kUseBakerReadBarrier && GetCompilerOptions().EmitReadBarrier(); in EmitBakerReadBarrier()
155 return !kUseBakerReadBarrier && GetCompilerOptions().EmitReadBarrier(); in EmitNonBakerReadBarrier()
165 const CompilerOptions& options = GetCompilerOptions(); in ShouldCheckGCCard()
1269 if (GetCompilerOptions().GetNativeDebuggable() && dex_pc != kNoDexPc) { in MaybeRecordNativeDebugInfo()
H A Dbuilder.cc72 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation()
/aosp_15_r20/art/compiler/jit/
H A 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()
H A Djit_compiler.h48 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/aosp_15_r20/art/dex2oat/linker/
H A Doat_writer.cc517 return GetCompilerOptions().IsAnyCompilationEnabled(); in MayHaveCompiledMethods()
598 if (GetCompilerOptions().IsBootImage() || GetCompilerOptions().IsBootImageExtension()) { in PrepareLayout()
1042 const CompilerOptions& compiler_options = writer_->GetCompilerOptions(); in VisitMethod()
1146 writer->GetCompilerOptions(), in LayoutReserveOffsetCodeMethodVisitor()
1346 const CompilerOptions& compiler_options = writer->GetCompilerOptions(); in InitMapMethodVisitor()
1429 if (!writer_->GetCompilerOptions().IsImageClass(class_descriptor)) { in StartClass()
1552 if (writer_->GetCompilerOptions().IsBootImage() || in WriteCodeMethodVisitor()
1553 writer_->GetCompilerOptions().IsBootImageExtension()) { in WriteCodeMethodVisitor()
1570 if (writer_->GetCompilerOptions().IsAotCompilationEnabled()) { in UpdateDexFileAndDexCache()
1903 DCHECK(writer_->GetCompilerOptions().IsBootImage() || in GetTargetString()
[all …]
/aosp_15_r20/external/python/cpython2/Tools/freeze/
Dwinmakemakefile.py113 extra = moddefn.GetCompilerOptions()
Dcheckextensions_win32.py49 def GetCompilerOptions(self): member in CExtension
/aosp_15_r20/external/python/cpython3/Tools/freeze/
Dwinmakemakefile.py113 extra = moddefn.GetCompilerOptions()
Dcheckextensions_win32.py49 def GetCompilerOptions(self): member in CExtension
/aosp_15_r20/art/compiler/
H A Dcompiler.h103 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/aosp_15_r20/art/runtime/
H A 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