Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dsharpening.cc84 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenInvokeStaticOrDirect()
154 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind()
221 } else if (codegen->GetCompilerOptions().IsBootImage()) { in CanUseTypeCheckBitstring()
223 if (!codegen->GetCompilerOptions().IsImageClass(descriptor)) { in CanUseTypeCheckBitstring()
239 codegen->GetCompilerOptions().IsBootImage() && in CanUseTypeCheckBitstring()
240 codegen->GetCompilerOptions().IsForceDeterminism()) { in CanUseTypeCheckBitstring()
301 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ProcessLoadString()
331 DCHECK(!codegen->GetCompilerOptions().GetCompilePic()); in ProcessLoadString()
Dx86_memory_gen.cc76 do_implicit_null_checks_(codegen->GetCompilerOptions().GetImplicitNullChecks()) { in X86MemoryOperandGeneration()
Doptimizing_compiler.cc293 InstructionSetPointerSize(GetCompilerOptions().GetInstructionSet()))); in GetEntryPointOf()
464 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunBaselineOptimizations()
506 switch (codegen->GetCompilerOptions().GetInstructionSet()) { in RunArchOptimizations()
617 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions(), stats).Run(); in AllocateRegisters()
646 const std::vector<std::string>* pass_names = GetCompilerOptions().GetPassesToRun(); in RunOptimizations()
787 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompile()
950 const CompilerOptions& compiler_options = GetCompilerOptions(); in TryCompileIntrinsic()
1050 const CompilerOptions& compiler_options = GetCompilerOptions(); in Compile()
1182 const CompilerOptions& compiler_options = GetCompilerOptions(); in JniCompile()
1271 const CompilerOptions& compiler_options = GetCompilerOptions(); in JitCompile()
[all …]
Doptimization.cc231 graph, &codegen->GetCompilerOptions(), most_recent_induction, stats, pass_name); in ConstructOptimizations()
286 graph, codegen->GetCompilerOptions().GetInstructionSet(), codegen, pass_name); in ConstructOptimizations()
Dinliner.cc130 if (codegen_->GetCompilerOptions().GetInlineMaxCodeUnits() == 0) { in Run()
159 const bool honor_noinline_directives = codegen_->GetCompilerOptions().CompilingWithCoreImage(); in Run()
526 } else if (!cha_devirtualize && AlwaysThrows(codegen_->GetCompilerOptions(), actual_method)) { in TryInline()
690 const ProfileCompilationInfo* pci = codegen_->GetCompilerOptions().GetProfileCompilationInfo(); in GetInlineCacheAOT()
743 for (const DexFile* dex_file : codegen_->GetCompilerOptions().GetDexFilesForOatFile()) { in ExtractClassesFromOfflineProfile()
1459 if (!MayInline(codegen_->GetCompilerOptions(), in TryBuildAndInline()
1486 size_t inline_max_code_units = codegen_->GetCompilerOptions().GetInlineMaxCodeUnits(); in TryBuildAndInline()
1510 if (IsMethodUnverified(codegen_->GetCompilerOptions(), method)) { in TryBuildAndInline()
1813 codegen_->GetCompilerOptions().GetInstructionSet(), in TryBuildAndInlineHelper()
1851 *callee_graph, codegen_->GetCompilerOptions().GetInstructionSet())) { in TryBuildAndInlineHelper()
Dbuilder.cc80 const CompilerOptions& compiler_options = code_generator_->GetCompilerOptions(); in SkipCompilation()
Dpc_relative_fixups_x86.cc232 if (!codegen_->GetCompilerOptions().GetCompilePic()) { in HandleInvoke()
Dintrinsics.h249 !codegen_->GetCompilerOptions().IsBaseline()) { \
Dcodegen_test_utils.h291 PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); in RunCodeNoCheck()
Dcode_generator_arm64.cc1066 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in GenerateFrameEntry()
1079 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry()
1269 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArm64InstructionSetFeatures(); in GetInstructionSetFeatures()
3105 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
4082 DCHECK(GetCompilerOptions().IsBootImage()); in GenerateStaticOrDirectCall()
4351 if (GetCompilerOptions().IsBootImage()) { in LoadBootImageAddress()
4358 } else if (GetCompilerOptions().GetCompilePic()) { in LoadBootImageAddress()
4379 if (GetCompilerOptions().IsBootImage()) { in AllocateInstanceForIntrinsic()
4431 if (GetCompilerOptions().IsBootImage()) { in EmitLinkerPatches()
4476 if (GetCompilerOptions().GenerateAnyDebugInfo()) { in EmitThunkCode()
[all …]
Dintrinsics.cc154 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeIntegerValueOfLocations()
Dcode_generator_x86_64.cc1002 DCHECK(GetCompilerOptions().IsBootImage()); in GenerateStaticOrDirectCall()
1124 if (GetCompilerOptions().IsBootImage()) { in LoadBootImageAddress()
1127 } else if (GetCompilerOptions().GetCompilePic()) { in LoadBootImageAddress()
1144 if (GetCompilerOptions().IsBootImage()) { in AllocateInstanceForIntrinsic()
1195 if (GetCompilerOptions().IsBootImage()) { in EmitLinkerPatches()
1229 return *GetCompilerOptions().GetInstructionSetFeatures()->AsX86_64InstructionSetFeatures(); in GetInstructionSetFeatures()
1345 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry()
1347 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in GenerateFrameEntry()
1544 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
4955 Location loc = codegen_->GetCompilerOptions().GetImplicitNullChecks() in VisitNullCheck()
[all …]
Dcode_generator_arm_vixl.cc1023 return *GetCompilerOptions().GetInstructionSetFeatures()->AsArmInstructionSetFeatures(); in GetInstructionSetFeatures()
2084 DCHECK(GetCompilerOptions().GetImplicitStackOverflowChecks()); in GenerateFrameEntry()
2087 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in GenerateFrameEntry()
2417 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
7010 DCHECK(codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
7018 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
7237 DCHECK(codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString()
7244 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString()
8587 if (GetCompilerOptions().EmitRunTimeChecksInDebugMode()) { in MaybeGenerateMarkingRegisterCheck()
8706 DCHECK(GetCompilerOptions().IsBootImage()); in GenerateStaticOrDirectCall()
[all …]
Dcode_generator_mips64.cc1092 if (GetCompilerOptions().CountHotnessInCompiledCode()) { in GenerateFrameEntry()
1555 if (GetCompilerOptions().IsBootImage()) { in EmitLinkerPatches()
1678 if (GetCompilerOptions().IsBootImage()) { in LoadBootImageAddress()
1683 } else if (GetCompilerOptions().GetCompilePic()) { in LoadBootImageAddress()
1704 if (GetCompilerOptions().IsBootImage()) { in AllocateInstanceForIntrinsic()
1837 return *GetCompilerOptions().GetInstructionSetFeatures()->AsMips64InstructionSetFeatures(); in GetInstructionSetFeatures()
3699 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
6089 DCHECK(GetCompilerOptions().IsBootImage()); in GenerateStaticOrDirectCall()
6276 DCHECK(codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
6287 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
[all …]
/art/dex2oat/driver/
Dcompiler_driver.cc286 if (Is64BitInstructionSet(GetCompilerOptions().GetInstructionSet())) { \
287 return CreateTrampoline64(GetCompilerOptions().GetInstructionSet(), \
291 return CreateTrampoline32(GetCompilerOptions().GetInstructionSet(), \
328 if (GetCompilerOptions().IsBootImage()) { in CompileAll()
337 if (GetCompilerOptions().IsAnyCompilationEnabled()) { in CompileAll()
340 if (GetCompilerOptions().GetDumpStats()) { in CompileAll()
356 DCHECK(driver.GetCompilerOptions().IsQuickeningCompilationEnabled()); in GetDexToDexCompilationLevel()
373 if (driver.GetCompilerOptions().GetDebuggable()) { in GetDexToDexCompilationLevel()
494 const VerificationResults* results = driver->GetCompilerOptions().GetVerificationResults(); in CompileMethodDex2Dex()
557 if (!driver->GetCompilerOptions().IsJniCompilationEnabled() && in CompileMethodQuick()
[all …]
Dcompiler_driver.h115 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/compiler/jit/
Djit_compiler.cc51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions()
74 for (const std::string& option : runtime->GetCompilerOptions()) { in ParseCompilerOptions()
143 const CompilerOptions& compiler_options = jit_compiler->GetCompilerOptions(); in jit_types_loaded()
168 return jit_compiler->GetCompilerOptions().GetGenerateDebugInfo(); in jit_generate_debug_info()
Djit_compiler.h43 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/compiler/
Dcompiler.h108 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
/art/dex2oat/linker/
Doat_writer.cc656 return GetCompilerOptions().IsAnyCompilationEnabled(); in MayHaveCompiledMethods()
729 if (GetCompilerOptions().IsBootImage()) { in PrepareLayout()
1173 const CompilerOptions& compiler_options = writer_->GetCompilerOptions(); in VisitMethod()
1254 writer->GetCompilerOptions(), in LayoutReserveOffsetCodeMethodVisitor()
1563 if (writer_->GetCompilerOptions().IsBootImage()) { in VisitMethod()
1594 return writer_->GetCompilerOptions().IsImageClass(class_descriptor); in IsImageClass()
1643 if (writer_->GetCompilerOptions().IsBootImage()) { in WriteCodeMethodVisitor()
1660 if (writer_->GetCompilerOptions().IsAotCompilationEnabled()) { in UpdateDexFileAndDexCache()
1894 DCHECK(!writer_->GetCompilerOptions().IsBootImage()); in GetTargetOffset()
1931 DCHECK(writer_->GetCompilerOptions().IsBootImage() || in GetTargetString()
[all …]
Doat_writer.h255 const CompilerOptions& GetCompilerOptions() const { in GetCompilerOptions() function
Doat_writer_test.cc173 compiler_driver_->GetCompilerOptions(), in DoWriteElf()
644 if (!compiler_driver_->GetCompilerOptions().IsQuickeningCompilationEnabled()) { in TestDexFileInput()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc531 driver_->GetCompilerOptions().GetVerifiedMethod(&dex_file, method_idx), in CompileMethod()
611 InstructionSet instruction_set = driver_->GetCompilerOptions().GetInstructionSet(); in CompileMethod()
/art/dex2oat/
Ddex2oat_image_test.cc177 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in CompileBootImage()
/art/runtime/
Dcommon_runtime_test.cc429 std::vector<std::string> compiler_options = runtime->GetCompilerOptions(); in StartDex2OatCommandLine()

12