Lines Matching refs:reg
113 private void addUsersToWorklist(int reg, int latticeValue) { in addUsersToWorklist() argument
115 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { in addUsersToWorklist()
119 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { in addUsersToWorklist()
132 private boolean setLatticeValueTo(int reg, int value, Constant cst) { in setLatticeValueTo() argument
134 if (latticeValues[reg] != value) { in setLatticeValueTo()
135 latticeValues[reg] = value; in setLatticeValueTo()
140 if (latticeValues[reg] != value in setLatticeValueTo()
141 || !latticeConstants[reg].equals(cst)) { in setLatticeValueTo()
142 latticeValues[reg] = value; in setLatticeValueTo()
143 latticeConstants[reg] = cst; in setLatticeValueTo()
602 for (int reg = 0; reg < regCount; reg++) { in replaceConstants()
603 if (latticeValues[reg] != CONSTANT) { in replaceConstants()
606 if (!(latticeConstants[reg] instanceof TypedConstant)) { in replaceConstants()
611 SsaInsn defn = ssaMeth.getDefinitionForRegister(reg); in replaceConstants()
625 = dest.withType((TypedConstant)latticeConstants[reg]); in replaceConstants()
632 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) { in replaceConstants()
640 int index = sources.indexOfRegister(reg); in replaceConstants()
644 = spec.withType((TypedConstant)latticeConstants[reg]); in replaceConstants()