/** * Assigns registers to this local. * * @return the number of registers required. */ int initialize(int nextAvailableRegister) { this.reg = nextAvailableRegister; this.spec = RegisterSpec.make(nextAvailableRegister, type.ropType); return size(); }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Makes a phi insn with a void result type. * * @param resultReg the result register for this phi insn. * @param block block containing this insn. */ public PhiInsn(final int resultReg, final SsaBasicBlock block) { /* * The result type here is bogus: The type depends on the * operand and will be derived later. */ super(RegisterSpec.make(resultReg, Type.VOID), block); ropResultReg = resultReg; }
/** * Assigns registers to this local. * * @return the number of registers required. */ int initialize(int reg) { this.reg = reg; this.spec = RegisterSpec.make(reg, type.ropType); return size(); }
/** * Assigns registers to this local. * * @return the number of registers required. */ int initialize(int nextAvailableRegister) { this.reg = nextAvailableRegister; this.spec = RegisterSpec.make(nextAvailableRegister, type.ropType); return size(); }
/** * Assigns registers to this local. * * @return the number of registers required. */ int initialize(int nextAvailableRegister) { this.reg = nextAvailableRegister; this.spec = RegisterSpec.make(nextAvailableRegister, type.ropType); return size(); }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec * and destination index. * * @param src {@code non-null;} the source register spec * @param destIndex {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make(destIndex, src.getType()), src); } }
/** * Returns the proper move instruction for the given source spec and * destination index. * * @param src * {@code non-null;} the source register spec * @param destIndex * {@code >= 0;} the destination register index * @return {@code non-null;} the appropriate move instruction */ private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { return DalvInsn.makeMove(SourcePosition.NO_INFO, RegisterSpec.make( destIndex, src.getType()), src); } }