Home
last modified time | relevance | path

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

/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DInliningOracle.java32 final CallGraph callGraph; field in InliningOracle
39 CallGraph callGraph) { in InliningOracle() argument
43 this.callGraph = callGraph; in InliningOracle()
78 if (callGraph.isBreaker(method, candidate)) { in validateCandidate()
96 if (callGraph.hasSingleCallSite(target)) { in computeInliningReason()
164 if (callGraph.isBreaker(method, target)) { in computeForInvokeWithReceiver()
217 return callGraph.hasDoubleCallSite(candidate) in isDoubleInliningTarget()
DInliner.java246 public void performInlining(DexEncodedMethod method, IRCode code, CallGraph callGraph) { in performInlining() argument
254 InliningOracle oracle = new InliningOracle(this, method, receiver, callGraph); in performInlining()
287 if (callGraph.isBreaker(method, target)) { in performInlining()
298 performInlining(target, inlinee, callGraph); in performInlining()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DIRConverter.java68 private CallGraph callGraph; field in IRConverter
268 callGraph = CallGraph.build(application, appInfo.withSubtyping(), graphLense); in optimize()
280 while (!callGraph.isEmpty()) { in optimize()
281 List<DexEncodedMethod> methods = callGraph.extractLeaves(); in optimize()
456 inliner.performInlining(method, code, callGraph); in rewriteCode()