Lines Matching refs:VecElem
59 /// @tparam VecElem Type of the vector elements.
69 template <typename VecElem, size_t NumElems, bool Packed, bool Const>
75 sizeof(VecElem) * NumElems;
86 using MyClass = VecPredRegT<VecElem, NumElems, Packed, Const>;
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)),
130 (Packed ? 1 : sizeof(VecElem)));
138 container.set_bits(idx * (Packed ? 1 : sizeof(VecElem)),
139 (Packed ? 1 : sizeof(VecElem)), val);
179 firstActive(const VecPredRegT<VecElem, NumElems, Packed, MC>& mask,
197 noneActive(const VecPredRegT<VecElem, NumElems, Packed, MC>& mask,
215 lastActive(const VecPredRegT<VecElem, NumElems, Packed, MC>& mask,
350 /// @tparam VecElem Type of the vector elements.
353 template <typename VecElem,
354 size_t NumElems = (Packed ? NumBits : NumBits / sizeof(VecElem))>
355 VecPredRegT<VecElem, NumElems, Packed, true> as() const
359 NumBits % sizeof(VecElem) == 0 &&
360 sizeof(VecElem) * NumElems <= NumBits),
362 return VecPredRegT<VecElem, NumElems, Packed, true>(*this);
365 template <typename VecElem,
366 size_t NumElems = (Packed ? NumBits : NumBits / sizeof(VecElem))>
367 VecPredRegT<VecElem, NumElems, Packed, false> as()
371 NumBits % sizeof(VecElem) == 0 &&
372 sizeof(VecElem) * NumElems <= NumBits),
374 return VecPredRegT<VecElem, NumElems, Packed, false>(*this);