Lines Matching defs:offset
901 * (value >> offset) & mask;
920 /* expr = value << (temp - offset)) >> temp; */
950 ir_variable *offset =
951 new(ir) ir_variable(ir->operands[0]->type, "offset", ir_var_temporary);
969 base_ir->insert_before(offset);
970 base_ir->insert_before(assign(offset, ir->operands[2]));
978 * mask = (bits == 32 ? 0xffffffff : (1u << bits) - 1u) << offset;
982 * The result will be undefined if offset or bits is negative, or if the
983 * sum of offset and bits is greater than the number of bits used to
998 offset))));
1000 /* (base & ~mask) | ((insert << offset) & mask) */
1004 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask);