Home
last modified time | relevance | path

Searched refs:getRegisterForValue (Results 1 – 9 of 9) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DMoveEliminator.java23 int moveSrcRegister = allocator.getRegisterForValue(move.src(), move.getNumber()); in shouldBeEliminated()
24 int moveDstRegister = allocator.getRegisterForValue(move.dest(), move.getNumber()); in shouldBeEliminated()
30 allocator.getRegisterForValue(activeMove.src(), activeMove.getNumber()); in shouldBeEliminated()
32 allocator.getRegisterForValue(activeMove.dest(), activeMove.getNumber()); in shouldBeEliminated()
41 int definedRegister = allocator.getRegisterForValue(defined, instruction.getNumber()); in shouldBeEliminated()
43 int moveSrcRegister = allocator.getRegisterForValue(m.inValues().get(0), m.getNumber()); in shouldBeEliminated()
44 int moveDstRegister = allocator.getRegisterForValue(m.outValue(), m.getNumber()); in shouldBeEliminated()
DInstructionEquivalence.java28 hash += allocator.getRegisterForValue(instruction.outValue(), instruction.getNumber()); in doHash()
33 hash += allocator.getRegisterForValue(inValue, instruction.getNumber()); in doHash()
DBasicBlockInstructionsEquivalence.java71 hashPart += allocator.getRegisterForValue(instruction.outValue(), instruction.getNumber()); in doHash()
76 hashPart += allocator.getRegisterForValue(inValue, instruction.getNumber()); in doHash()
DPeepholeOptimizer.java227 int outRegister = allocator.getRegisterForValue(outValue, instructionNumber); in removeRedundantInstructions()
243 int outRegister = allocator.getRegisterForValue(outValue, instructionNumber); in removeRedundantInstructions()
/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/
DRegisterAllocator.java11 int getRegisterForValue(Value value, int instructionNumber); in getRegisterForValue() method
DLinearScanRegisterAllocator.java257 int register = getRegisterForValue(value, value.isArgument() ? 0 : start); in computeDebugInfo()
267 ranges.add(new LocalRange(value, getRegisterForValue(value, start), start, end)); in computeDebugInfo()
438 getRegisterForValue(value, instructionNumber) + value.requiredRegisters() - 1); in argumentValueUsesHighRegister()
455 public int getRegisterForValue(Value value, int instructionNumber) { in getRegisterForValue() method in LinearScanRegisterAllocator
471 return getRegisterForValue(value, instructionNumber); in getArgumentOrAllocateRegisterForValue()
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/
DIdenticalAfterRegisterAllocationTest.java30 public int getRegisterForValue(Value value, int instructionNumber) { in getRegisterForValue() method in IdenticalAfterRegisterAllocationTest.MockRegisterAllocator
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInstruction.java230 if (allocator.getRegisterForValue(a, aInstr) != allocator.getRegisterForValue(b, bInstr)) { in identicalAfterRegisterAllocation()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DDexBuilder.java309 return registerAllocator.getRegisterForValue(value, instructionNumber); in allocatedRegister()