Lines Matching refs:compiler_options
51 static bool BootImageAOTCanEmbedMethod(ArtMethod* method, const CompilerOptions& compiler_options) { in BootImageAOTCanEmbedMethod() argument
52 DCHECK(compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()); in BootImageAOTCanEmbedMethod()
57 return compiler_options.IsImageClass(dex_file.GetTypeDescriptor(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
88 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in SharpenLoadMethod() local
99 } else if (compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()) { in SharpenLoadMethod()
100 if (!compiler_options.GetCompilePic()) { in SharpenLoadMethod()
104 DCHECK(compiler_options.IsBootImageExtension()); in SharpenLoadMethod()
106 } else if (BootImageAOTCanEmbedMethod(callee, compiler_options)) { in SharpenLoadMethod()
116 } else if (compiler_options.IsJitCompiler()) { in SharpenLoadMethod()
120 compiler_options.IsJitCompilerForSharedCode())) { in SharpenLoadMethod()
172 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ComputeLoadClassKind() local
175 return compiler_options.IsGeneratingImage() && in ComputeLoadClassKind()
176 compiler_options.IsImageClass(dex_file.GetTypeDescriptor(type_index)); in ComputeLoadClassKind()
200 } else if (compiler_options.IsJitCompiler()) { in ComputeLoadClassKind()
229 if (compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()) { in ComputeLoadClassKind()
231 DCHECK(!compiler_options.IsJitCompiler()); in ComputeLoadClassKind()
232 if (!compiler_options.GetCompilePic()) { in ComputeLoadClassKind()
239 DCHECK(compiler_options.IsBootImageExtension()); in ComputeLoadClassKind()
243 compiler_options.IsImageClass(dex_file.GetTypeDescriptor(type_index))) { in ComputeLoadClassKind()
252 if (compiler_options.IsJitCompiler()) { in ComputeLoadClassKind()
253 DCHECK(!compiler_options.GetCompilePic()); in ComputeLoadClassKind()
259 compiler_options.IsJitCompilerForSharedCode())) { in ComputeLoadClassKind()
277 } else if (compiler_options.IsAppImage() && is_class_in_current_image()) { in ComputeLoadClassKind()
319 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in CanUseTypeCheckBitstring() local
320 if (compiler_options.IsJitCompiler()) { in CanUseTypeCheckBitstring()
340 compiler_options.IsBootImage() && in CanUseTypeCheckBitstring()
341 compiler_options.IsForceDeterminism()) { in CanUseTypeCheckBitstring()
402 const CompilerOptions& compiler_options = codegen->GetCompilerOptions(); in ProcessLoadString() local
403 if (compiler_options.IsBootImage() || compiler_options.IsBootImageExtension()) { in ProcessLoadString()
406 DCHECK(!compiler_options.IsJitCompiler()); in ProcessLoadString()
407 if (compiler_options.GetCompilePic()) { in ProcessLoadString()
408 if (compiler_options.IsForceDeterminism()) { in ProcessLoadString()
423 DCHECK(compiler_options.IsBootImageExtension()); in ProcessLoadString()
435 } else if (compiler_options.IsJitCompiler()) { in ProcessLoadString()
444 compiler_options.IsJitCompilerForSharedCode())) { in ProcessLoadString()