Searched refs:RegisterMove (Results 1 – 4 of 4) sorted by relevance
/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/ |
D | RegisterMoveScheduler.java | 25 private Set<RegisterMove> moveSet = new LinkedHashSet<>(); 41 public void addMove(RegisterMove move) { in addMove() 51 Deque<RegisterMove> worklist = new LinkedList<>(); in schedule() 54 Iterator<RegisterMove> iterator = moveSet.iterator(); in schedule() 56 RegisterMove move = iterator.next(); in schedule() 67 RegisterMove move = worklist.removeFirst(); in schedule() 80 RegisterMove other = iterator.next(); in schedule() 90 RegisterMove move = pickMoveToUnblock(); in schedule() 101 private List<RegisterMove> findMovesWithSrc(int src, MoveType type) { in findMovesWithSrc() 102 List<RegisterMove> result = new ArrayList<>(); in findMovesWithSrc() [all …]
|
D | RegisterMove.java | 13 public class RegisterMove { class 19 public RegisterMove(int dst, int src, MoveType type) { in RegisterMove() method in RegisterMove 25 public RegisterMove(int dst, MoveType type, Instruction definition) { in RegisterMove() method in RegisterMove 41 public boolean isBlocked(Set<RegisterMove> moveSet, Map<Integer, Integer> valueMap) { in isBlocked() 42 for (RegisterMove move : moveSet) { in isBlocked() 67 if (!(other instanceof RegisterMove)) { in equals() 70 RegisterMove o = (RegisterMove) other; in equals()
|
D | SpillMoveSet.java | 282 new RegisterMove(move.to.getRegister(), move.type, move.from.getValue().definition)); in scheduleMoves() 285 new RegisterMove(move.to.getRegister(), move.from.getRegister(), move.type)); in scheduleMoves()
|
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/ |
D | RegisterMoveSchedulerTest.java | 114 scheduler.addMove(new RegisterMove(0, 1, MoveType.SINGLE)); in testSingleParallelMove() 115 scheduler.addMove(new RegisterMove(1, 0, MoveType.SINGLE)); in testSingleParallelMove() 139 scheduler.addMove(new RegisterMove(0, 2, MoveType.WIDE)); in testWideParallelMove() 140 scheduler.addMove(new RegisterMove(2, 0, MoveType.WIDE)); in testWideParallelMove() 164 scheduler.addMove(new RegisterMove(1, 0, MoveType.WIDE)); in testMixedParralelMove() 165 scheduler.addMove(new RegisterMove(0, 1, MoveType.SINGLE)); in testMixedParralelMove() 189 scheduler.addMove(new RegisterMove(0, 1, MoveType.SINGLE)); in testMixedParralelMove2() 190 scheduler.addMove(new RegisterMove(1, 0, MoveType.WIDE)); in testMixedParralelMove2() 214 scheduler.addMove(new RegisterMove(0, 1, MoveType.WIDE)); in testSlideWideMoves() 215 scheduler.addMove(new RegisterMove(2, 3, MoveType.WIDE)); in testSlideWideMoves() [all …]
|