Lines Matching full:alignment

82   FailureOr<SmallVector<uint64_t>> alignment = tryToParseIntList(token);
83 if (failed(alignment))
85 if (alignment->empty() || alignment->size() > 2)
88 // Alignment specifications (such as 32 or 32:64) are of the
89 // form <abi>[:<pref>], where abi specifies the minimal alignment and pref the
90 // optional preferred alignment. The preferred alignment is set to the minimal
91 // alignment if not available.
92 uint64_t minimal = (*alignment)[0];
93 uint64_t preferred = alignment->size() == 1 ? minimal : (*alignment)[1];
101 FailureOr<SmallVector<uint64_t>> alignment = tryToParseIntList(token);
102 if (failed(alignment))
104 if (alignment->size() < 2 || alignment->size() > 4)
107 // Pointer alignment specifications (such as 64:32:64:32 or 32:32) are of
109 // specifies the minimal alignment, pref the optional preferred alignment, and
110 // idx the optional index computation bit width. The preferred alignment is
111 // set to the minimal alignment if not available and the index computation
113 uint64_t size = (*alignment)[0];
114 uint64_t minimal = (*alignment)[1];
115 uint64_t preferred = alignment->size() < 3 ? minimal : (*alignment)[2];
116 uint64_t idx = alignment->size() < 4 ? size : (*alignment)[3];
196 FailureOr<uint64_t> alignment = tryToParseInt(token);
197 if (failed(alignment))
200 // Stack alignment shouldn't be zero.
201 if (*alignment == 0)
205 key, builder.getI64IntegerAttr(*alignment)));
271 // Parse the stack alignment.
277 // Parse integer alignment specifications.
288 // Parse float alignment specifications.
299 // Parse pointer alignment specifications.