Home
last modified time | relevance | path

Searched refs:registerAllocator (Results 1 – 4 of 4) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DIRConverter.java358 RegisterAllocator registerAllocator = performRegisterAllocation(code, method); in replaceCodeForTesting() local
359 method.setCode(code, registerAllocator, appInfo.dexItemFactory); in replaceCodeForTesting()
505 RegisterAllocator registerAllocator = performRegisterAllocation(code, method); in rewriteCode() local
506 method.setCode(code, registerAllocator, appInfo.dexItemFactory); in rewriteCode()
562 RegisterAllocator registerAllocator = performRegisterAllocation(code, method); in convertMethodJumboStringsOnly() local
563 method.setCode(code, registerAllocator, appInfo.dexItemFactory, firstJumboString); in convertMethodJumboStringsOnly()
576 LinearScanRegisterAllocator registerAllocator = new LinearScanRegisterAllocator(code, options); in performRegisterAllocation() local
577 registerAllocator.allocateRegisters(options.debug); in performRegisterAllocation()
579 printLiveRanges(registerAllocator, "Final live ranges."); in performRegisterAllocation()
585 PeepholeOptimizer.optimize(code, registerAllocator); in performRegisterAllocation()
[all …]
DDexBuilder.java77 private final RegisterAllocator registerAllocator; field in DexBuilder
112 public DexBuilder(IRCode ir, RegisterAllocator registerAllocator, DexItemFactory dexItemFactory) { in DexBuilder() argument
114 assert registerAllocator != null; in DexBuilder()
117 this.registerAllocator = registerAllocator; in DexBuilder()
122 public DexBuilder(IRCode ir, RegisterAllocator registerAllocator, in DexBuilder() argument
125 assert registerAllocator != null; in DexBuilder()
128 this.registerAllocator = registerAllocator; in DexBuilder()
251 registerAllocator.registersUsed(), in build()
309 return registerAllocator.getRegisterForValue(value, instructionNumber); in allocatedRegister()
315 return registerAllocator.getArgumentOrAllocateRegisterForValue(value, instructionNumber); in argumentOrAllocateRegister()
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexEncodedMethod.java148 IRCode ir, RegisterAllocator registerAllocator, DexItemFactory dexItemFactory) { in setCode() argument
149 final DexBuilder builder = new DexBuilder(ir, registerAllocator, dexItemFactory); in setCode()
154 public void setCode(IRCode ir, RegisterAllocator registerAllocator, in setCode() argument
157 new DexBuilder(ir, registerAllocator, dexItemFactory, firstJumboString); in setCode()
/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/
DLiveIntervals.java87 public boolean isRematerializable(LinearScanRegisterAllocator registerAllocator) { in isRematerializable() argument
98 int max = registerAllocator.unadjustedRealRegisterFromAllocated(getMaxNonSpilledRegister()); in isRematerializable()