Lines Matching defs:alignment
35 unsigned alignment)
37 if (alignment == 0)
40 if (!util_is_power_of_two_nonzero(alignment)) {
41 vtn_warn("Provided alignment is not a power of two");
42 alignment = 1 << (ffs(alignment) - 1);
46 * using the old offset+alignment pointers which don't support carrying
47 * alignment information or we're a pointer that is below the block
48 * boundary in our access chain in which case alignment is meaningless.
53 /* Ignore alignment information on logical pointers. This way, we don't
62 copy->deref = nir_alignment_deref_cast(&b->nb, ptr->deref, alignment, 0);
85 uint32_t alignment;
96 aa->alignment = dec->operands[0];
115 ptr = vtn_align_pointer(b, ptr, aa.alignment);
2269 unsigned *idx, SpvMemoryAccessMask *access, unsigned *alignment,
2273 *alignment = 0;
2280 *alignment = w[(*idx)++];
2552 unsigned idx = 4, alignment;
2555 vtn_get_mem_operands(b, w, count, &idx, &access, &alignment, NULL, &scope);
2556 src = vtn_align_pointer(b, src, alignment);
2594 unsigned idx = 3, alignment;
2597 vtn_get_mem_operands(b, w, count, &idx, &access, &alignment, &scope, NULL);
2598 dest = vtn_align_pointer(b, dest, alignment);