Lines Matching defs:reg
111 * @param reg SSA register
112 * @param latticeValue new lattice value for @param reg.
114 private void addUsersToWorklist(int reg, int latticeValue) {
116 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
120 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
128 * @param reg SSA register
133 private boolean setLatticeValueTo(int reg, int value, Constant cst) {
135 if (latticeValues[reg] != value) {
136 latticeValues[reg] = value;
141 if (latticeValues[reg] != value
142 || !latticeConstants[reg].equals(cst)) {
143 latticeValues[reg] = value;
144 latticeConstants[reg] = cst;
603 for (int reg = 0; reg < regCount; reg++) {
604 if (latticeValues[reg] != CONSTANT) {
607 if (!(latticeConstants[reg] instanceof TypedConstant)) {
612 SsaInsn defn = ssaMeth.getDefinitionForRegister(reg);
626 = dest.withType((TypedConstant)latticeConstants[reg]);
633 for (SsaInsn insn : ssaMeth.getUseListForRegister(reg)) {
641 int index = sources.indexOfRegister(reg);
645 = spec.withType((TypedConstant)latticeConstants[reg]);