/art/runtime/ |
H A D | compiler_filter.h | 30 // Note: Order here matters. Later filter choices are considered "as good 31 // as" earlier filter choices. 47 // Returns true if an oat file with this compiler filter contains 49 static bool IsBytecodeCompilationEnabled(Filter filter); 51 // Returns true if an oat file with this compiler filter contains 53 static bool IsJniCompilationEnabled(Filter filter); 55 // Returns true if this compiler filter requires running verification. 56 static bool IsVerificationEnabled(Filter filter); 58 // Returns true if an oat file with this compiler filter depends on the 60 static bool DependsOnImageChecksum(Filter filter); [all...] |
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 | 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 | 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 | oat_file_assistant.h | 149 // given compiler filter. 153 // irrespective of the compiler filter of the up-to-date code. 168 // the given compiler filter. 264 // Generate the oat file from the dex file using the given compiler filter. 271 ResultOfAttemptToUpdate GenerateOatFile(CompilerFilter::Filter filter, std::string* error_msg); 329 // Returns true if the compiler filter used to generate the odex file is at 330 // least as good as the given target filter. 348 // Returns true if the compiler filter used to generate the oat file is at 349 // least as good as the given target filter.
|
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 | Android.mk | 392 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a15 krait denver)) 395 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a7)) 401 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a15 krait denver)) 404 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a7))
|
/art/test/595-profile-saving/ |
H A D | run | 18 # --compiler-filter=interpret-only to make sure that the test is not compiled AOT 24 -Xcompiler-option --compiler-filter=interpret-only \
|
/art/build/ |
H A D | Android.common.mk | 47 ifeq (,$(filter $(TARGET_ARCH),$(ART_TARGET_SUPPORTED_ARCH))) 50 ifeq (,$(filter $(HOST_ARCH),$(ART_HOST_SUPPORTED_ARCH))) 59 ifneq ($(filter %64,$(TARGET_ARCH)),) 73 ifneq ($(filter %64,$(TARGET_ARCH)),)
|
H A D | Android.cpplint.mk | 20 ART_CPPLINT_FILTER := --filter=-whitespace/line_length,-build/include,-readability/function,-readability/streams,-readability/todo,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn,-runtime/printf 26 ART_CPPLINT_SRC := $(filter-out $(LOCAL_PATH)/runtime/elf.h, $(addprefix $(LOCAL_PATH)/, $(call all-subdir-named-files,*.h) $(call all-subdir-named-files,*$(ART_CPP_EXTENSION))))
|
H A D | Android.oat.mk | 65 core_compile_options += --compiler-filter=interpret-only 69 core_compile_options += --compiler-filter=verify-at-runtime --runtime-arg -Xverify:softfail 73 core_compile_options += --compiler-filter=verify-at-runtime 79 ifneq ($(filter-out default interpreter interp-ac jit optimizing,$(1)),) 91 ifneq ($(filter-out pic no-pic,$(2)),) 207 core_compile_options += --compiler-filter=interpret-only 211 core_compile_options += --compiler-filter=verify-at-runtime --runtime-arg -Xverify:softfail 215 core_compile_options += --compiler-filter=verify-at-runtime 221 ifneq ($(filter-out default interpreter interp-ac jit optimizing,$(1)),) 233 ifneq ($(filter [all...] |
H A D | Android.common_build.mk | 42 ifneq (,$(filter checkbuild,$(MAKECMDGOALS))) 260 ifneq (,$(filter arm64,$(ART_TARGET_CODEGEN_ARCHS))) 263 ifneq (,$(filter mips64,$(ART_TARGET_CODEGEN_ARCHS))) 266 ifneq (,$(filter x86_64,$(ART_TARGET_CODEGEN_ARCHS))) 270 ifneq (,$(filter arm64,$(ART_HOST_CODEGEN_ARCHS))) 273 ifneq (,$(filter mips64,$(ART_HOST_CODEGEN_ARCHS))) 276 ifneq (,$(filter x86_64,$(ART_HOST_CODEGEN_ARCHS)))
|
/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...] |
H A D | Android.mk | 24 ifeq (,$(filter address, $(SANITIZE_TARGET))) 35 ifneq ($(filter ro.zygote=zygote64,$(PRODUCT_DEFAULT_PROPERTY_OVERRIDES)),)
|
/art/profman/ |
H A D | Android.mk | 27 ifneq ($(filter ro.zygote=zygote64,$(PRODUCT_DEFAULT_PROPERTY_OVERRIDES)),)
|
/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/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...] |
/art/patchoat/ |
H A D | Android.mk | 26 ifneq ($(filter ro.zygote=zygote64,$(PRODUCT_DEFAULT_PROPERTY_OVERRIDES)),)
|
/art/test/ |
H A D | Android.run-test.mk | 245 ifneq (,$(filter target,$(TARGET_TYPES))) 281 ifneq (,$(filter prebuild,$(PREBUILD_TYPES))) 299 ifneq (,$(filter no-prebuild,$(PREBUILD_TYPES))) 315 ifneq (,$(filter no-relocate,$(RELOCATE_TYPES))) 327 ifneq (,$(filter interp-ac,$(COMPILER_TYPES))) 346 ifneq (,$(filter gcstress,$(GC_TYPES))) 400 ifneq (,$(filter no-dex2oat,$(PREBUILD_TYPES))) 407 ifneq (,$(filter no-image,$(IMAGE_TYPES))) 416 ifneq (,$(filter relocate-npatchoat,$(RELOCATE_TYPES))) 436 ifneq (,$(filter trac [all...] |
/art/test/968-default-partial-compile-generated/util-src/ |
H A D | generate_java.py | 92 tops = set(filter(lambda a: not any(map(lambda i: a in i.get_super_types(), ifaces)), ifaces))
|
/art/test/971-iface-super/util-src/ |
H A D | generate_java.py | 96 tops = set(filter(lambda a: iface_filter(a) and not any(map(lambda i: a in i.get_super_types(), ifaces)), ifaces))
|
/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/ |
H A D | Android.mk | 30 ifneq (,$(filter clean-oat%,$(MAKECMDGOALS))) 36 ifneq (,$(filter tests test-art% valgrind-test-art% build-art% checkbuild,$(MAKECMDGOALS))) 400 $(filter-out\ 491 adb shell setprop dalvik.vm.dex2oat-filter \"\" 492 adb shell setprop dalvik.vm.image-dex2oat-filter \"\" 502 adb shell setprop dalvik.vm.dex2oat-filter \"\" 503 adb shell setprop dalvik.vm.image-dex2oat-filter \"\" 513 adb shell setprop dalvik.vm.dex2oat-filter "verify-at-runtime" 514 adb shell setprop dalvik.vm.image-dex2oat-filter "verify-at-runtime" 524 adb shell setprop dalvik.vm.dex2oat-filter "interpre [all...] |