Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 41) sorted by relevance

12

/art/runtime/
Dcompiler_filter.cc23 bool CompilerFilter::IsAotCompilationEnabled(Filter filter) { in IsAotCompilationEnabled() argument
24 switch (filter) { in IsAotCompilationEnabled()
40 bool CompilerFilter::IsJniCompilationEnabled(Filter filter) { in IsJniCompilationEnabled() argument
41 switch (filter) { in IsJniCompilationEnabled()
57 bool CompilerFilter::IsQuickeningCompilationEnabled(Filter filter) { in IsQuickeningCompilationEnabled() argument
58 switch (filter) { in IsQuickeningCompilationEnabled()
74 bool CompilerFilter::IsAnyCompilationEnabled(Filter filter) { in IsAnyCompilationEnabled() argument
75 return IsJniCompilationEnabled(filter) || in IsAnyCompilationEnabled()
76 IsQuickeningCompilationEnabled(filter) || in IsAnyCompilationEnabled()
77 IsAotCompilationEnabled(filter); in IsAnyCompilationEnabled()
[all …]
Dcompiler_filter.h49 static bool IsAotCompilationEnabled(Filter filter);
54 static bool IsAnyCompilationEnabled(Filter filter);
58 static bool IsJniCompilationEnabled(Filter filter);
62 static bool IsQuickeningCompilationEnabled(Filter filter);
65 static bool IsVerificationEnabled(Filter filter);
69 static bool DependsOnImageChecksum(Filter filter);
73 static bool DependsOnProfile(Filter filter);
76 static Filter GetNonProfileDependentFilterFrom(Filter filter);
79 static Filter GetSafeModeFilterFrom(Filter filter);
96 static std::string NameOfFilter(Filter filter);
[all …]
Ddexopt_test.cc49 CompilerFilter::Filter filter, in GenerateOatForTest() argument
70 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest()
79 if (CompilerFilter::DependsOnProfile(filter)) { in GenerateOatForTest()
112 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest()
122 if (CompilerFilter::DependsOnImageChecksum(filter)) { in GenerateOatForTest()
131 if (CompilerFilter::IsAotCompilationEnabled(filter)) { in GenerateOatForTest()
147 CompilerFilter::Filter filter) { in GenerateOdexForTest() argument
150 filter, in GenerateOdexForTest()
158 CompilerFilter::Filter filter) { in GeneratePicOdexForTest() argument
161 filter, in GeneratePicOdexForTest()
[all …]
Ddexopt_test.h46 CompilerFilter::Filter filter,
55 CompilerFilter::Filter filter);
59 CompilerFilter::Filter filter);
64 CompilerFilter::Filter filter,
70 void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter);
Dcompiler_filter_test.cc23 static void TestCompilerFilterName(CompilerFilter::Filter filter, std::string name) { in TestCompilerFilterName() argument
26 EXPECT_EQ(filter, parsed); in TestCompilerFilterName()
28 EXPECT_EQ(name, CompilerFilter::NameOfFilter(filter)); in TestCompilerFilterName()
41 CompilerFilter::Filter filter; in TEST() local
54 EXPECT_FALSE(CompilerFilter::ParseCompilerFilter("super-awesome-filter", &filter)); in TEST()
Dclass_table-inl.h136 inline void ClassTable::RemoveStrongRoots(const Filter& filter) { in RemoveStrongRoots() argument
138 strong_roots_.erase(std::remove_if(strong_roots_.begin(), strong_roots_.end(), filter), in RemoveStrongRoots()
/art/build/
DAndroid.common.mk46 ifeq (,$(filter $(TARGET_ARCH),$(ART_TARGET_SUPPORTED_ARCH)))
49 ifeq (,$(filter $(HOST_ARCH),$(ART_HOST_SUPPORTED_ARCH)))
58 ifneq ($(filter %64,$(TARGET_ARCH)),)
68 ifneq ($(filter %64,$(TARGET_ARCH)),)
DAndroid.oat.mk59 core_compile_options += --compiler-filter=quicken
63 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
66 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
169 core_compile_options += --compiler-filter=quicken
173 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
176 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
DAndroid.cpplint.mk20 ART_CPPLINT_FILTER := --filter=-whitespace/line_length,-build/include,-readability/function,-readab…
31 ART_CPPLINT_SRC := $(filter-out $(patsubst %,$(LOCAL_PATH)/%,$(ART_CPPLINT_INGORED)), $(addprefix $…
/art/test/634-vdex-duplicate/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex-filter speed --vdex "${@}"
/art/runtime/native/
Ddalvik_system_DexFile.cc479 CompilerFilter::Filter filter; in GetDexOptNeeded() local
480 if (!CompilerFilter::ParseCompilerFilter(compiler_filter_name, &filter)) { in GetDexOptNeeded()
498 return oat_file_assistant.GetDexOptNeeded(filter, profile_changed, downgrade); in GetDexOptNeeded()
587 CompilerFilter::Filter filter; in DexFile_isValidCompilerFilter() local
588 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) in DexFile_isValidCompilerFilter()
600 CompilerFilter::Filter filter; in DexFile_isProfileGuidedCompilerFilter() local
601 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_isProfileGuidedCompilerFilter()
604 return CompilerFilter::DependsOnProfile(filter) ? JNI_TRUE : JNI_FALSE; in DexFile_isProfileGuidedCompilerFilter()
615 CompilerFilter::Filter filter; in DexFile_getNonProfileGuidedCompilerFilter() local
616 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getNonProfileGuidedCompilerFilter()
[all …]
/art/test/common/
Druntime_state.cc123 const char* filter = strstr(cmd_line, kCompilerFilter); in Java_Main_compiledWithOptimizing() local
124 if (filter != nullptr) { in Java_Main_compiledWithOptimizing()
127 filter += strlen(kCompilerFilter); in Java_Main_compiledWithOptimizing()
131 if (strncmp(filter, kInterpretOnly, strlen(kInterpretOnly)) == 0 || in Java_Main_compiledWithOptimizing()
132 strncmp(filter, kVerifyNone, strlen(kVerifyNone)) == 0 || in Java_Main_compiledWithOptimizing()
133 strncmp(filter, kVerifyAtRuntime, strlen(kVerifyAtRuntime)) == 0) { in Java_Main_compiledWithOptimizing()
/art/test/957-methodhandle-transforms/src/
DMain.java750 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local
753 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue()
769 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local
772 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue()
784 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local
787 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue()
1464 static String filter(char a, char b) { in filter() method in Main
1479 MethodHandle filter = MethodHandles.lookup().findStatic( in testCollectArguments() local
1488 MethodHandle adapter = MethodHandles.collectArguments(target, 0, filter); in testCollectArguments()
1492 adapter = MethodHandles.collectArguments(target, 1, filter); in testCollectArguments()
[all …]
/art/test/628-vdex/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/158-app-image-class-table/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/643-checker-bogus-ic/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/707-checker-invalid-profile/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/638-checker-inline-caches/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/159-app-image-fields/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/test/163-app-image-methods/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/test/164-resolution-trampoline-dex-cache/
Drun21 -Xcompiler-option --compiler-filter=speed-profile --profile \
/art/test/157-void-class/
Drun22 --runtime-option --compiler-filter=verify
/art/test/595-profile-saving/
Drun23 -Xcompiler-option --compiler-filter=quicken \
/art/dex2oat/
Ddex2oat_test.cc61 CompilerFilter::Filter filter, in GenerateOdexForTestWithStatus() argument
79 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter));
94 CompilerFilter::Filter filter, in GenerateOdexForTest() argument
102 filter,
121 CheckFilter(filter, odex_file->GetCompilerFilter());
481 void RunTest(CompilerFilter::Filter filter, in RunTest() argument
493 GenerateOdexForTest(dex_location, odex_location, filter, new_args);
500 filter,
508 CompilerFilter::Filter filter, in CheckResult() argument
546 if (!CompilerFilter::IsAsGoodAs(CompilerFilter::kExtract, filter)) { in CheckResult()
[all …]
/art/compiler/optimizing/
Dcode_sinking.cc167 bool filter = false) { in FindIdealPosition() argument
174 if (!(filter && ShouldFilterUse(instruction, user, post_dominated))) { in FindIdealPosition()
188 DCHECK(!filter || !ShouldFilterUse(instruction, use.GetUser()->GetHolder(), post_dominated)); in FindIdealPosition()

12