Lines Matching defs:use

5  * you may not use this file except in compliance with the License.
335 for (SsaInsn use : useList) {
336 Rop useOpcode = use.getOpcode();
340 processPhiUse(use, escSet, regWorklist);
343 processUse(def, use, escSet, regWorklist);
354 * @param use {@code non-null;} phi use being processed
359 private void processPhiUse(SsaInsn use, EscapeSet escSet,
361 int setIndex = findSetIndex(use.getResult());
377 escSet.regSet.set(use.getResult().getReg());
378 regWorklist.add(use.getResult());
387 * @param use {@code non-null;} use of object being processed
392 private void processUse(RegisterSpec def, SsaInsn use, EscapeSet escSet,
394 int useOpcode = use.getOpcode().getOpcode();
398 escSet.regSet.set(use.getResult().getReg());
399 regWorklist.add(use.getResult());
411 RegisterSpec putIndex = use.getSources().get(2);
419 RegisterSpec putValue = use.getSources().get(0);
426 RegisterSpecList sources = use.getSources();
449 RegisterSpec getIndex = use.getSources().get(1);
505 for (SsaInsn use : useList) {
506 // Replace the use with scalars and then mark it for deletion
507 replaceUse(use, prev, newRegs, deletedInsns);
508 deletedInsns.add(use);
552 * Replaces the use for a scalar replaceable array. Gets and puts become
556 * @param use {@code non-null;} move result instruction for array
563 private void replaceUse(SsaInsn use, SsaInsn prev,
573 switch (use.getOpcode().getOpcode()) {
576 next = getMoveForInsn(use);
577 sources = use.getSources();
594 sources = use.getSources();
600 insertPlainInsnBefore(use, RegisterSpecList.make(source),
606 insertExceptionThrow(use, sources.get(2), deletedInsns);
613 next = getMoveForInsn(use);
624 Insn ropUse = use.getOriginalRopInsn();
631 insertPlainInsnBefore(use, RegisterSpecList.EMPTY, newFill,
681 // Modify all uses of the move to use the source of the move instead
682 for (SsaInsn use : useList[result.getReg()]) {
683 use.mapSourceRegisters(mapper);