Home
last modified time | relevance | path

Searched refs:newInstruction (Results 1 – 6 of 6) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/code/
DBasicBlockInstructionIterator.java135 public void replaceCurrentInstruction(Instruction newInstruction) { in replaceCurrentInstruction() argument
143 assert newInstruction.outValue() != null; in replaceCurrentInstruction()
144 current.outValue().replaceUsers(newInstruction.outValue()); in replaceCurrentInstruction()
147 replaceInstructionInList(current, newInstruction, value.getDebugLocalStarts()); in replaceCurrentInstruction()
148 replaceInstructionInList(current, newInstruction, value.getDebugLocalEnds()); in replaceCurrentInstruction()
150 newInstruction.addDebugValue(value); in replaceCurrentInstruction()
152 newInstruction.setBlock(block); in replaceCurrentInstruction()
154 listIterator.add(newInstruction); in replaceCurrentInstruction()
160 Instruction newInstruction, in replaceInstructionInList() argument
164 instructions.set(i, newInstruction); in replaceInstructionInList()
DIRCodeInstructionsIterator.java51 public void replaceCurrentInstruction(Instruction newInstruction) { in replaceCurrentInstruction() argument
52 instructionIterator.replaceCurrentInstruction(newInstruction); in replaceCurrentInstruction()
DInstructionIterator.java25 void replaceCurrentInstruction(Instruction newInstruction); in replaceCurrentInstruction() argument
DInstructionListIterator.java84 void replaceCurrentInstruction(Instruction newInstruction); in replaceCurrentInstruction() argument
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DOutliner.java881 Instruction newInstruction = null; in buildInstruction() local
884 newInstruction = Invoke.createFromTemplate(templateInvoke, outValue, inValues); in buildInstruction()
887 newInstruction = new Add( in buildInstruction()
891 newInstruction = new Mul( in buildInstruction()
895 newInstruction = new Sub( in buildInstruction()
899 newInstruction = new Div( in buildInstruction()
903 newInstruction = new Rem( in buildInstruction()
908 newInstruction = new NewInstance(templateNewInstance.clazz, outValue); in buildInstruction()
910 builder.add(newInstruction); in buildInstruction()
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/
DRegisterMoveSchedulerTest.java37 public void replaceCurrentInstruction(Instruction newInstruction) { in replaceCurrentInstruction() argument