/art/runtime/ |
H A D | compiler_filter_test.cc | 23 static void TestCompilerFilterName(CompilerFilter::Filter filter, std::string name) { argument 26 EXPECT_EQ(filter, parsed); 28 EXPECT_EQ(name, CompilerFilter::NameOfFilter(filter)); 34 CompilerFilter::Filter filter; local 49 EXPECT_FALSE(CompilerFilter::ParseCompilerFilter("super-awesome-filter", &filter));
|
H A D | oat_file_manager.h | 109 static void SetCompilerFilter(CompilerFilter::Filter filter) { argument 110 filter_ = filter; 132 // The compiler filter used for oat files loaded by the oat file manager.
|
H A D | compiler_filter.cc | 23 bool CompilerFilter::IsBytecodeCompilationEnabled(Filter filter) { argument 24 switch (filter) { 42 bool CompilerFilter::IsJniCompilationEnabled(Filter filter) { argument 43 switch (filter) { 61 bool CompilerFilter::IsVerificationEnabled(Filter filter) { argument 62 switch (filter) { 80 bool CompilerFilter::DependsOnImageChecksum(Filter filter) { argument 83 return IsVerificationEnabled(filter); 86 bool CompilerFilter::DependsOnProfile(Filter filter) { argument 87 switch (filter) { 105 GetNonProfileDependentFilterFrom(Filter filter) argument 137 NameOfFilter(Filter filter) argument 155 ParseCompilerFilter(const char* option, Filter* filter) argument [all...] |
H A D | oat_file_assistant_test.cc | 85 CompilerFilter::Filter filter, 97 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); 126 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); 128 if (CompilerFilter::IsBytecodeCompilationEnabled(filter)) { 144 CompilerFilter::Filter filter) { 145 GenerateOdexForTest(dex_location, odex_location, filter, true, false); 152 CompilerFilter::Filter filter) { 153 GenerateOdexForTest(dex_location, odex_location, filter, false, false); 216 static void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter) { argument 83 GenerateOdexForTest(const std::string& dex_location, const std::string& odex_location, CompilerFilter::Filter filter, bool pic = false, bool with_patch_info = true) argument 142 GeneratePicOdexForTest(const std::string& dex_location, const std::string& odex_location, CompilerFilter::Filter filter) argument 150 GenerateNoPatchOdexForTest(const std::string& dex_location, const std::string& odex_location, CompilerFilter::Filter filter) argument [all...] |
H A D | oat.cc | 482 CompilerFilter::Filter filter; local 484 CHECK(key_value != nullptr) << "compiler-filter not found in oat header"; 485 CHECK(CompilerFilter::ParseCompilerFilter(key_value, &filter)) 486 << "Invalid compiler-filter in oat header: " << key_value; 487 return filter;
|
H A D | runtime.cc | 1008 CompilerFilter::Filter filter; local 1010 if (!CompilerFilter::ParseCompilerFilter(filter_str.c_str(), &filter)) { 1011 LOG(ERROR) << "Cannot parse compiler filter " << filter_str; 1014 OatFileManager::SetCompilerFilter(filter); 1943 argv->push_back("--compiler-filter=interpret-only");
|
/art/test/common/ |
H A D | runtime_state.cc | 103 // Check the filter. 104 constexpr const char* kCompilerFilter = "--compiler-filter="; 105 const char* filter = strstr(cmd_line, kCompilerFilter); local 106 if (filter != nullptr) { 108 // Note: The space filter might have an impact on the test, but ignore that for now. 109 filter += strlen(kCompilerFilter); 113 if (strncmp(filter, kInterpretOnly, strlen(kInterpretOnly)) == 0 || 114 strncmp(filter, kVerifyNone, strlen(kVerifyNone)) == 0 || 115 strncmp(filter, kVerifyAtRuntime, strlen(kVerifyAtRuntime)) == 0) {
|
/art/dex2oat/ |
H A D | dex2oat_test.cc | 49 CompilerFilter::Filter filter, 55 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); 78 CheckFilter(filter, odex_file->GetCompilerFilter()); 97 // Check the input compiler filter against the generated oat file's filter. Mayb be overridden 130 argv.push_back("--compiler-filter=verify-none"); 296 void RunTest(CompilerFilter::Filter filter, argument 306 GenerateOdexForTest(dex_location, odex_location, filter, copy); 310 CheckResult(dex_location, odex_location, filter, expect_larg 47 GenerateOdexForTest(const std::string& dex_location, const std::string& odex_location, CompilerFilter::Filter filter, const std::vector<std::string>& extra_args = {}, bool expect_success = true) argument 313 CheckResult(const std::string& dex_location, const std::string& odex_location, CompilerFilter::Filter filter, bool expect_large) argument [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_arm32_test.cc | 311 bool EvalFilterString(std::string filter) { argument 312 if (filter.compare("") == 0) { 316 size_t equal_sign_index = filter.find('='); 318 EXPECT_TRUE(false) << "Unsupported filter string."; 321 std::string lhs = filter.substr(0, equal_sign_index); 322 std::string rhs = filter.substr(equal_sign_index + 1, std::string::npos); 327 bool without_pc, std::string fmt, std::string filter, 332 std::string after_reg_filter = filter; 354 bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, 358 std::string after_shift_filter = filter; 326 TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument 353 TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument 377 TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument 401 TemplateHelper(std::function<void(arm::SetCc)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::string filter, std::ostringstream& oss) argument 426 TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument 455 TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument 482 TemplateHelper(std::function<void(arm::Condition, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument 508 TemplateHelper(std::function<void(arm::SetCc, Args...)> f, int depth, bool without_pc, std::string fmt, std::string filter, std::ostringstream& oss) argument 556 GenericTemplateHelper(std::function<void(Args...)> f, bool without_pc, std::string fmt, std::string test_name, std::string filter) argument 573 GenericTemplateHelper(GetBoundFunction2(f), without_pc, fmt, test_name, filter); local 579 GenericTemplateHelper(GetBoundFunction3(f), without_pc, fmt, test_name, filter); local 585 GenericTemplateHelper(GetBoundFunction4(f), without_pc, fmt, test_name, filter); local 591 GenericTemplateHelper(GetBoundFunction5(f), without_pc, fmt, test_name, filter); local [all...] |
/art/runtime/jit/ |
H A D | profile_saver.cc | 378 CompilerFilter::Filter filter = oat_file->GetCompilerFilter(); local 379 if ((filter == CompilerFilter::kSpeed) || (filter == CompilerFilter::kEverything)) {
|
/art/runtime/native/ |
H A D | dalvik_system_DexFile.cc | 371 CompilerFilter::Filter filter; local 372 if (!CompilerFilter::ParseCompilerFilter(compiler_filter_name, &filter)) { 374 std::string message(StringPrintf("Compiler filter %s is invalid.", compiler_filter_name)); 388 return oat_file_assistant.GetDexOptNeeded(filter); 502 CompilerFilter::Filter filter; local 503 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) 515 CompilerFilter::Filter filter; local 516 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { 519 return CompilerFilter::DependsOnProfile(filter) ? JNI_TRUE : JNI_FALSE; 530 CompilerFilter::Filter filter; local [all...] |