Home
last modified time | relevance | path

Searched refs:graphLense (Results 1 – 6 of 6) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java42 private final GraphLense graphLense; field in LensCodeRewriter
45 public LensCodeRewriter(GraphLense graphLense, AppInfoWithSubtyping appInfo) { in LensCodeRewriter() argument
46 this.graphLense = graphLense; in LensCodeRewriter()
98 DexMethod actualTarget = graphLense.lookupMethod(invokedMethod, method); in rewrite()
113 graphLense.lookupType(invokedMethod.proto.returnType, method)); in rewrite()
125 DexField actualField = graphLense.lookupField(field, method); in rewrite()
135 DexField actualField = graphLense.lookupField(field, method); in rewrite()
144 DexField actualField = graphLense.lookupField(field, method); in rewrite()
153 DexField actualField = graphLense.lookupField(field, method); in rewrite()
161 DexType newType = graphLense.lookupType(checkCast.getType(), method); in rewrite()
[all …]
DIRConverter.java63 private final GraphLense graphLense; field in IRConverter
77 GraphLense graphLense, in IRConverter() argument
88 this.graphLense = graphLense != null ? graphLense : GraphLense.getIdentityLense(); in IRConverter()
99 this.inliner = new Inliner(appInfo.withSubtyping(), graphLense, options); in IRConverter()
102 this.lensCodeRewriter = new LensCodeRewriter(graphLense, appInfo.withSubtyping()); in IRConverter()
155 GraphLense graphLense) { in IRConverter() argument
156 this(timing, application, appInfo, graphLense, options, printer, true, true); in IRConverter()
268 callGraph = CallGraph.build(application, appInfo.withSubtyping(), graphLense); in optimize()
440 assert graphLense.isIdentityLense(); in rewriteCode()
DCallGraph.java147 GraphLense graphLense) { in build() argument
154 InvokeExtractor extractor = new InvokeExtractor(appInfo, graphLense, node, graph); in build()
337 GraphLense graphLense; field in CallGraph.InvokeExtractor
341 InvokeExtractor(AppInfoWithSubtyping appInfo, GraphLense graphLense, Node caller, in InvokeExtractor() argument
344 this.graphLense = graphLense; in InvokeExtractor()
350 method = graphLense.lookupMethod(method, source); in processInvoke()
/external/r8/src/main/java/com/android/tools/r8/
DR8.java98 GraphLense graphLense, ExecutorService executorService) in optimize() argument
105 timing, application, appInfo, options, printer, graphLense); in optimize()
257 GraphLense graphLense = GraphLense.getIdentityLense(); in run() local
261 graphLense = new MemberRebindingAnalysis(appInfo.withLiveness(), graphLense).run(); in run()
265 graphLense = new SimpleClassMerger(application, appInfo.withLiveness(), graphLense, in run()
270 appInfo = appInfo.withLiveness().rewrittenWithLense(graphLense); in run()
273 graphLense = new BridgeMethodAnalysis(graphLense, appInfo.withSubtyping()).run(); in run()
275 application = optimize(application, appInfo, graphLense, executorService); in run()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DInliner.java40 private final GraphLense graphLense; field in Inliner
49 public Inliner(AppInfoWithSubtyping appInfo, GraphLense graphLense, InternalOptions options) { in Inliner() argument
51 this.graphLense = graphLense; in Inliner()
176 GraphLense graphLense, InternalOptions options) { in buildIR() argument
188 new LensCodeRewriter(graphLense, appInfo).rewrite(code, target); in buildIR()
281 .buildIR(code.valueNumberGenerator, appInfo, graphLense, options); in performInlining()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DSimpleClassMerger.java59 private final GraphLense graphLense; field in SimpleClassMerger
67 GraphLense graphLense, Timing timing) { in SimpleClassMerger() argument
70 this.graphLense = graphLense; in SimpleClassMerger()
130 GraphLense mergingGraphLense = mergeClasses(graphLense); in run()
138 private GraphLense mergeClasses(GraphLense graphLense) { in mergeClasses() argument
184 return renamedMembersLense.build(graphLense, application.dexItemFactory); in mergeClasses()
427 private GraphLense fixupTypeReferences(GraphLense graphLense) { in fixupTypeReferences() argument
441 return lense.build(graphLense, application.dexItemFactory); in fixupTypeReferences()