Lines Matching refs:container
67 /// @tparam Const True if the underlying container can be modified through
88 Container& container;
91 VecPredRegT(Container& c) : container(c) {}
96 reset() { container.reset(); }
101 set() { container.set(); }
107 container = that.container;
114 return container[idx * (Packed ? 1 : sizeof(VecElem))];
121 return container[idx * (Packed ? 1 : sizeof(VecElem))];
129 return container.get_bits(idx * (Packed ? 1 : sizeof(VecElem)),
138 container.set_bits(idx * (Packed ? 1 : sizeof(VecElem)),
147 return container == that.container;
162 os << '[' << p.container[0];
164 os << " " << (p.container[i] ? 1 : 0);
228 /// Generic predicate register container.
232 /// @tparam NumBits Size of the container in bits.
245 Container container;
257 container = that.container;
266 std::copy(that.begin(), that.end(), container.begin());
274 container.fill(false);
281 container.fill(true);
289 return NumBits == N2 && Packed == P2 && container == that.container;
300 /// Returns a reference to a specific element of the internal container.
301 bool& operator[](size_t idx) { return container[idx]; }
304 /// container.
305 const bool& operator[](size_t idx) const { return container[idx]; }
308 /// container.
317 v |= container[idx];
323 /// container.
329 container[idx] = bval & 1;
340 for (auto b: v.container) {
346 /// Create a view of this container.
348 /// If NumElems is provided, the size of the container is bounds-checked,
349 /// otherwise the size is inferred from the container size.