Lines Matching refs:isa
468 WARN_UNUSED bool BootExtensionArtifactsExistOnData(const InstructionSet isa, in BootExtensionArtifactsExistOnData() argument
470 const std::string apexdata_image_location = GetBootImageExtensionImagePath(isa); in BootExtensionArtifactsExistOnData()
633 auto cleanup_boot_extensions_return = [this](ExitCode exit_code, InstructionSet isa) { in CheckArtifactsAreUpToDate() argument
634 return RemoveBootExtensionArtifactsFromData(isa) ? exit_code : ExitCode::kCleanupFailed; in CheckArtifactsAreUpToDate()
637 for (const InstructionSet isa : config_.GetBootExtensionIsas()) { in CheckArtifactsAreUpToDate() local
638 if (!BootExtensionArtifactsExistOnData(isa, &error_msg)) { in CheckArtifactsAreUpToDate()
641 return cleanup_boot_extensions_return(ExitCode::kCompilationRequired, isa); in CheckArtifactsAreUpToDate()
688 InstructionSet isa) { in AddDex2OatInstructionSet() argument
689 const char* isa_str = GetInstructionSetString(isa); in AddDex2OatInstructionSet()
851 WARN_UNUSED bool VerifyBootExtensionArtifactsAreUpToDate(const InstructionSet isa, in VerifyBootExtensionArtifactsAreUpToDate() argument
860 args.emplace_back(Concatenate({"--isa=", GetInstructionSetString(isa)})); in VerifyBootExtensionArtifactsAreUpToDate()
885 WARN_UNUSED bool RemoveBootExtensionArtifactsFromData(InstructionSet isa) const { in RemoveBootExtensionArtifactsFromData()
892 if (isa == config_.GetSystemServerIsa()) { in RemoveBootExtensionArtifactsFromData()
897 const std::string apexdata_image_location = GetBootImageExtensionImagePath(isa); in RemoveBootExtensionArtifactsFromData()
908 WARN_UNUSED bool VerifyBootExtensionArtifactsAreUpToDate(InstructionSet isa) const { in VerifyBootExtensionArtifactsAreUpToDate()
909 bool system_ok = VerifyBootExtensionArtifactsAreUpToDate(isa, /*on_system=*/true); in VerifyBootExtensionArtifactsAreUpToDate()
911 bool data_ok = VerifyBootExtensionArtifactsAreUpToDate(isa, /*on_system=*/false); in VerifyBootExtensionArtifactsAreUpToDate()
926 for (const InstructionSet isa : config_.GetBootExtensionIsas()) { in VerifyArtifactsAreUpToDate() local
927 if (!VerifyBootExtensionArtifactsAreUpToDate(isa)) { in VerifyArtifactsAreUpToDate()
928 if (!RemoveBootExtensionArtifactsFromData(isa)) { in VerifyArtifactsAreUpToDate()
988 std::string GetBootImageExtensionImagePath(const InstructionSet isa) const { in GetBootImageExtensionImagePath()
990 return GetSystemImageFilename(GetBootImageExtensionImage(/*on_system=*/false).c_str(), isa); in GetBootImageExtensionImagePath()
1012 WARN_UNUSED bool CompileBootExtensionArtifacts(const InstructionSet isa, in CompileBootExtensionArtifacts() argument
1024 AddDex2OatInstructionSet(&args, isa); in CompileBootExtensionArtifacts()
1049 const std::string image_location = GetBootImageExtensionImagePath(isa); in CompileBootExtensionArtifacts()
1051 CHECK_EQ(GetApexDataOatFilename(boot_extension_compilable_jars_.front().c_str(), isa), in CompileBootExtensionArtifacts()
1092 LOG(INFO) << "Compiling boot extensions (" << isa << "): " << cmd_line in CompileBootExtensionArtifacts()
1130 const InstructionSet isa = config_.GetSystemServerIsa(); in CompileSystemServerArtifacts() local
1139 AddDex2OatInstructionSet(&args, isa); in CompileSystemServerArtifacts()
1161 CHECK_EQ(artifacts.OatPath(), GetApexDataOdexFilename(jar.c_str(), isa)); in CompileSystemServerArtifacts()
1296 for (const InstructionSet isa : bcp_instruction_sets) { in Compile() local
1297 auto stage = (isa == bcp_instruction_sets.front()) ? in Compile()
1301 if (force_compile || !BootExtensionArtifactsExistOnData(isa, &error_msg)) { in Compile()
1304 if (!RemoveBootExtensionArtifactsFromData(isa)) { in Compile()
1315 isa, staging_dir, metrics, &dex2oat_invocation_count, &error_msg)) { in Compile()