Home
last modified time | relevance | path

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

12

/art/runtime/
Dcompiler_filter.cc25 bool CompilerFilter::IsAotCompilationEnabled(Filter filter) { in IsAotCompilationEnabled() argument
26 switch (filter) { in IsAotCompilationEnabled()
42 bool CompilerFilter::IsJniCompilationEnabled(Filter filter) { in IsJniCompilationEnabled() argument
43 switch (filter) { in IsJniCompilationEnabled()
59 bool CompilerFilter::IsQuickeningCompilationEnabled(Filter filter) { in IsQuickeningCompilationEnabled() argument
60 switch (filter) { in IsQuickeningCompilationEnabled()
76 bool CompilerFilter::IsAnyCompilationEnabled(Filter filter) { in IsAnyCompilationEnabled() argument
77 return IsJniCompilationEnabled(filter) || in IsAnyCompilationEnabled()
78 IsQuickeningCompilationEnabled(filter) || in IsAnyCompilationEnabled()
79 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.cc73 CompilerFilter::Filter filter, in GenerateOatForTest() argument
83 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest()
92 if (CompilerFilter::DependsOnProfile(filter)) { in GenerateOatForTest()
120 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest()
132 if (CompilerFilter::DependsOnImageChecksum(filter)) { in GenerateOatForTest()
145 CompilerFilter::Filter filter, in GenerateOdexForTest() argument
150 filter, in GenerateOdexForTest()
157 CompilerFilter::Filter filter, in GenerateOatForTest() argument
165 filter, in GenerateOatForTest()
169 void DexoptTest::GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter) { in GenerateOatForTest() argument
[all …]
Dcompiler_filter_test.cc23 static void TestCompilerFilterName(CompilerFilter::Filter filter, const 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()
Ddexopt_test.h43 CompilerFilter::Filter filter,
51 CompilerFilter::Filter filter,
58 CompilerFilter::Filter filter,
62 void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter);
/art/
DCPPLINT.cfg26 # Ignore the following categories of errors, as specified by the filter:
27 # (the filter settings are concatenated together)
28 filter=-build/c++11
29 filter=-build/include
30 filter=-readability/function,-readability/streams,-readability/todo
31 filter=-runtime/printf,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn
33 filter=-whitespace/line_length
/art/build/
DAndroid.common.mk47 ifeq (,$(filter $(TARGET_ARCH),$(ART_TARGET_SUPPORTED_ARCH)))
50 ifeq (,$(filter $(HOST_ARCH),$(ART_HOST_SUPPORTED_ARCH)))
59 ifneq ($(filter %64,$(TARGET_ARCH)),)
67 ifneq ($(filter %64,$(TARGET_ARCH)),)
DAndroid.oat.mk54 core_compile_options += --compiler-filter=quicken
58 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
61 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
141 core_compile_options += --compiler-filter=quicken
145 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
148 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
/art/test/634-vdex-duplicate/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex-filter speed --vdex "${@}"
/art/test/172-app-image-twice/
Drun23 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
26 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/tools/class2greylist/src/com/android/class2greylist/
DJarReader.java57 .filter(zipEntry -> zipEntry.getName().endsWith(".class")) in stream()
59 .filter(Objects::nonNull); in stream()
/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/runtime/native/
Ddalvik_system_DexFile.cc547 CompilerFilter::Filter filter; in GetDexOptNeeded() local
548 if (!CompilerFilter::ParseCompilerFilter(compiler_filter_name, &filter)) { in GetDexOptNeeded()
578 return oat_file_assistant.GetDexOptNeeded(filter, in GetDexOptNeeded()
726 CompilerFilter::Filter filter; in DexFile_isValidCompilerFilter() local
727 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) in DexFile_isValidCompilerFilter()
739 CompilerFilter::Filter filter; in DexFile_isProfileGuidedCompilerFilter() local
740 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_isProfileGuidedCompilerFilter()
743 return CompilerFilter::DependsOnProfile(filter) ? JNI_TRUE : JNI_FALSE; in DexFile_isProfileGuidedCompilerFilter()
754 CompilerFilter::Filter filter; in DexFile_getNonProfileGuidedCompilerFilter() local
755 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getNonProfileGuidedCompilerFilter()
[all …]
/art/test/common/
Druntime_state.cc122 const char* filter = strstr(cmd_line, kCompilerFilter); in Java_Main_compiledWithOptimizing() local
123 if (filter != nullptr) { in Java_Main_compiledWithOptimizing()
126 filter += strlen(kCompilerFilter); in Java_Main_compiledWithOptimizing()
132 if (strncmp(filter, kInterpretOnly, strlen(kInterpretOnly)) == 0 || in Java_Main_compiledWithOptimizing()
133 strncmp(filter, kVerifyNone, strlen(kVerifyNone)) == 0 || in Java_Main_compiledWithOptimizing()
134 strncmp(filter, kVerifyAtRuntime, strlen(kVerifyAtRuntime)) == 0 || in Java_Main_compiledWithOptimizing()
135 strncmp(filter, kExtract, strlen(kExtract)) == 0 || in Java_Main_compiledWithOptimizing()
136 strncmp(filter, kQuicken, strlen(kQuicken)) == 0) { in Java_Main_compiledWithOptimizing()
/art/test/628-vdex/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/674-vdex-uncompress/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/638-checker-inline-caches/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/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/1001-app-image-regions/
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/163-app-image-methods/
Drun19 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/164-resolution-trampoline-dex-cache/
Drun21 -Xcompiler-option --compiler-filter=speed-profile --profile \
/art/test/1003-metadata-section-strings/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile -Xcompiler-option --reso…

12