Searched refs:registerAllocator (Results 1 – 4 of 4) sorted by relevance
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
D | IRConverter.java | 358 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 …]
|
D | DexBuilder.java | 77 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/ |
D | DexEncodedMethod.java | 148 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/ |
D | LiveIntervals.java | 87 public boolean isRematerializable(LinearScanRegisterAllocator registerAllocator) { in isRematerializable() argument 98 int max = registerAllocator.unadjustedRealRegisterFromAllocated(getMaxNonSpilledRegister()); in isRematerializable()
|