Home
last modified time | relevance | path

Searched refs:staticGet (Results 1 – 3 of 3) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DMemberValuePropagation.java192 StaticGet staticGet = current.asStaticGet(); in rewriteWithConstantValues() local
193 DexField field = staticGet.getField(); in rewriteWithConstantValues()
199 replacement = target.valueAsConstInstruction(appInfo, staticGet.dest()); in rewriteWithConstantValues()
203 replacement = constantReplacementFromProguardRule(lookup.rule, code, staticGet); in rewriteWithConstantValues()
209 setValueRangeFromProguardRule(lookup.rule, staticGet.dest()); in rewriteWithConstantValues()
DCodeRewriter.java408 StaticGet staticGet = array.asStaticGet(); in removeSwitchMaps() local
409 if (staticGet.getField().name.toSourceString().startsWith("$SwitchMap$")) { in removeSwitchMaps()
410 Int2ReferenceMap<DexField> indexMap = extractIndexMapFrom(staticGet.getField()); in removeSwitchMaps()
443 if (staticGet.outValue().numberOfUsers() == 0) { in removeSwitchMaps()
444 assert staticGet.inValues().isEmpty(); in removeSwitchMaps()
445 staticGet.getBlock().removeInstruction(staticGet); in removeSwitchMaps()
779 StaticGet staticGet = current.asStaticGet(); in disableAssertions() local
780 if (staticGet.getField().name == dexItemFactory.assertionsDisabled) { in disableAssertions()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java142 StaticGet staticGet = current.asStaticGet(); in rewrite() local
143 DexField field = staticGet.getField(); in rewrite()
147 new StaticGet(staticGet.getType(), staticGet.dest(), actualField); in rewrite()