/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Indicates whether the specified register is amongst the registers * used as sources for this instruction. * * @param reg the register in question * @return true if the reg is a source */ public boolean isRegASource(int reg) { return null != getSources().specForRegister(reg); }
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Adds specified insn to the uses list for all of its sources. * @param insn {@code non-null;} insn to process */ private void addToUses(SsaInsn insn) { RegisterSpecList rl = insn.getSources(); int sz = rl.size(); for (int i = 0; i < sz; i++) { useList[rl.get(i).getReg()].add(insn); } } });
/** * Removes an instruction from use and def lists. For use during * instruction removal. * * @param insn {@code non-null;} insn to remove */ /*package*/ void onInsnRemoved(SsaInsn insn) { if (useList != null) { removeFromUseList(insn, insn.getSources()); } RegisterSpec resultReg = insn.getResult(); if (definitionList != null && resultReg != null) { definitionList[resultReg.getReg()] = null; } }
/** * Removes an instruction from use and def lists. For use during * instruction removal. * * @param insn {@code non-null;} insn to remove */ /*package*/ void onInsnRemoved(SsaInsn insn) { if (useList != null) { removeFromUseList(insn, insn.getSources()); } RegisterSpec resultReg = insn.getResult(); if (definitionList != null && resultReg != null) { definitionList[resultReg.getReg()] = null; } }
/** * Removes an instruction from use and def lists. For use during * instruction removal. * * @param insn {@code non-null;} insn to remove */ /*package*/ void onInsnRemoved(SsaInsn insn) { if (useList != null) { removeFromUseList(insn, insn.getSources()); } RegisterSpec resultReg = insn.getResult(); if (definitionList != null && resultReg != null) { definitionList[resultReg.getReg()] = null; } }
/** * Removes an instruction from use and def lists. For use during * instruction removal. * * @param insn {@code non-null;} insn to remove */ /*package*/ void onInsnRemoved(SsaInsn insn) { if (useList != null) { removeFromUseList(insn, insn.getSources()); } RegisterSpec resultReg = insn.getResult(); if (definitionList != null && resultReg != null) { definitionList[resultReg.getReg()] = null; } }