Lines Matching refs:offset

541   rli->offset = size_zero_node;
552 the offset/bitpos forms and byte and bit offsets. */
555 bit_from_pos (tree offset, tree bitpos)
559 fold_convert (bitsizetype, offset),
564 byte_from_pos (tree offset, tree bitpos)
566 return size_binop (PLUS_EXPR, offset,
584 /* Given a pointer to bit and byte offsets and an offset alignment,
614 print_node_brief (stderr, "\noffset", rli->offset, 0);
641 normalize_offset (&rli->offset, &rli->bitpos, rli->offset_align);
649 return byte_from_pos (rli->offset, rli->bitpos);
657 return bit_from_pos (rli->offset, rli->bitpos);
791 rli->offset = size_binop (MAX_EXPR, rli->offset, DECL_SIZE_UNIT (field));
793 rli->offset = fold_build3 (COND_EXPR, sizetype,
795 DECL_SIZE_UNIT (field), rli->offset);
808 unsigned HOST_WIDE_INT offset = byte_offset * BITS_PER_UNIT + bit_offset;
810 offset = offset % align;
811 return ((offset + size + align - 1) / align
864 DECL_FIELD_OFFSET (field) = rli->offset;
875 else if (integer_zerop (rli->offset))
877 else if (host_integerp (rli->offset, 1))
879 * (tree_low_cst (rli->offset, 1)
880 & - tree_low_cst (rli->offset, 1)));
924 rli->offset
925 = size_binop (PLUS_EXPR, rli->offset,
931 rli->offset = round_up (rli->offset, desired_align / BITS_PER_UNIT);
934 if (! TREE_CONSTANT (rli->offset))
951 && host_integerp (rli->offset, 1)
957 HOST_WIDE_INT offset = tree_low_cst (rli->offset, 0);
967 if (excess_unit_span (offset, bit_offset, field_size, type_align, type))
983 && host_integerp (rli->offset, 1)
989 HOST_WIDE_INT offset = tree_low_cst (rli->offset, 0);
1006 if (excess_unit_span (offset, bit_offset, field_size, type_align, type))
1156 DECL_FIELD_OFFSET (field) = rli->offset;
1186 adjust the offset, resetting the bit position. Otherwise, apportion the
1187 size amongst the bit position and offset. First handle the case of an
1196 rli->offset
1197 = size_binop (PLUS_EXPR, rli->offset,
1201 rli->offset
1202 = size_binop (PLUS_EXPR, rli->offset, DECL_SIZE_UNIT (field));
1237 /* Now we want just byte and bit offsets, so set the offset alignment