/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * @return {@code null-ok;} the primary successor block or {@code null} * if there is none */ public SsaBasicBlock getPrimarySuccessor() { if (primarySuccessor < 0) { return null; } else { return parent.getBlocks().get(primarySuccessor); } }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding instruction for a given move result * * @param moveInsn {@code non-null;} a move result instruction * @return {@code non-null;} the instruction that produces the result for * the move */ private SsaInsn getInsnForMove(SsaInsn moveInsn) { int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); return predInsns.get(predInsns.size()-1); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }
/** * Finds the corresponding move result for a given instruction * * @param insn {@code non-null;} an instruction that must always be * followed by a move result * @return {@code non-null;} the move result for the given instruction */ private SsaInsn getMoveForInsn(SsaInsn insn) { int succ = insn.getBlock().getSuccessors().nextSetBit(0); ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); return succInsns.get(0); }