Home
last modified time | relevance | path

Searched refs:instructionNumber (Results 1 – 7 of 7) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/
DRegisterAllocator.java11 int getRegisterForValue(Value value, int instructionNumber); in getRegisterForValue() argument
12 boolean argumentValueUsesHighRegister(Value value, int instructionNumber); in argumentValueUsesHighRegister() argument
13 int getArgumentOrAllocateRegisterForValue(Value value, int instructionNumber); in getArgumentOrAllocateRegisterForValue() argument
DLiveIntervals.java396 public LiveIntervals getSplitCovering(int instructionNumber) { in getSplitCovering() argument
399 if (getStart() <= instructionNumber && getEnd() > instructionNumber) { in getSplitCovering()
406 LiveIntervals matchingEnd = getEnd() == instructionNumber ? this : null; in getSplitCovering()
408 if (splitChild.getStart() <= instructionNumber && splitChild.getEnd() > instructionNumber) { in getSplitCovering()
411 if (splitChild.getEnd() == instructionNumber) { in getSplitCovering()
DLinearScanRegisterAllocator.java436 public boolean argumentValueUsesHighRegister(Value value, int instructionNumber) { in argumentValueUsesHighRegister() argument
438 getRegisterForValue(value, instructionNumber) + value.requiredRegisters() - 1); in argumentValueUsesHighRegister()
455 public int getRegisterForValue(Value value, int instructionNumber) { in getRegisterForValue() argument
461 intervals = intervals.getSplitCovering(instructionNumber); in getRegisterForValue()
467 public int getArgumentOrAllocateRegisterForValue(Value value, int instructionNumber) { in getArgumentOrAllocateRegisterForValue() argument
471 return getRegisterForValue(value, instructionNumber); in getArgumentOrAllocateRegisterForValue()
1756 int instructionNumber; in addLiveRange() local
1758 instructionNumber = firstInstructionInBlock; in addLiveRange()
1761 instructionNumber = instruction.getNumber(); in addLiveRange()
1779 if (firstInstructionInBlock <= instructionNumber && in addLiveRange()
[all …]
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/
DIdenticalAfterRegisterAllocationTest.java30 public int getRegisterForValue(Value value, int instructionNumber) { in getRegisterForValue() argument
36 public boolean argumentValueUsesHighRegister(Value value, int instructionNumber) { in argumentValueUsesHighRegister() argument
41 public int getArgumentOrAllocateRegisterForValue(Value value, int instructionNumber) { in getArgumentOrAllocateRegisterForValue() argument
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DPeepholeOptimizer.java219 int instructionNumber = current.getNumber(); in removeRedundantInstructions() local
227 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/conversion/
DDexBuilder.java308 public int allocatedRegister(Value value, int instructionNumber) { in allocatedRegister() argument
309 return registerAllocator.getRegisterForValue(value, instructionNumber); in allocatedRegister()
314 public int argumentOrAllocateRegister(Value value, int instructionNumber) { in argumentOrAllocateRegister() argument
315 return registerAllocator.getArgumentOrAllocateRegisterForValue(value, instructionNumber); in argumentOrAllocateRegister()
318 public boolean argumentValueUsesHighRegister(Value value, int instructionNumber) { in argumentValueUsesHighRegister() argument
319 return registerAllocator.argumentValueUsesHighRegister(value, instructionNumber); in argumentValueUsesHighRegister()
412 private static int instructionNumberToIndex(int instructionNumber) {
413 return instructionNumber / LinearScanRegisterAllocator.INSTRUCTION_NUMBER_DELTA;
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexCode.java185 int instructionNumber = 0; in toString() local
191 StringUtils.appendLeftPadded(builder, Integer.toString(instructionNumber++), 5); in toString()