gem5
v20.1.0.0
|
Vector Lane abstraction Another view of a container. More...
#include <vec_reg.hh>
Public Member Functions | |
operator VecElem () const | |
Cast to vecElem. More... | |
template<bool Cond = !Const, typename std::enable_if< Cond, int >::type = 0> | |
operator VecLaneT< typename std::enable_if< Cond, VecElem >::type, true > () | |
Constification. More... | |
using | MyClass = VecLaneT< VecElem, Const > |
My type alias. More... | |
using | Cont = typename std::conditional< Const, const VecElem, VecElem >::type |
friend | VecLaneT< VecElem, !Const > |
VecRegContainer friendship to access private VecLaneT constructors. More... | |
class | VecRegContainer< 8 > |
class | VecRegContainer< 16 > |
class | VecRegContainer< 32 > |
class | VecRegContainer< 64 > |
class | VecRegContainer< 128 > |
class | VecRegContainer< 256 > |
class | VecRegContainer< MaxVecRegLenInBytes > |
Cont & | container |
Reference to data. More... | |
VecLaneT (Cont &cont) | |
Constructor. More... | |
template<bool Assignable = !Const> | |
std::enable_if< Assignable, MyClass & >::type | operator= (const VecElem &that) |
Assignment operators. More... | |
template<bool Assignable = !Const, typename T > | |
std::enable_if< Assignable, MyClass & >::type | operator= (const T &that) |
Generic. More... | |
Vector Lane abstraction Another view of a container.
This time only a partial part of it is exposed.
VecElem | Type of each element of the vector. |
Const | Indicate if the underlying container can be modified through the view. |
Definition at line 262 of file vec_reg.hh.
|
private |
Definition at line 537 of file vec_reg.hh.
using VecLaneT< VecElem, Const >::MyClass = VecLaneT<VecElem, Const> |
My type alias.
Definition at line 532 of file vec_reg.hh.
|
inlineprivate |
Constructor.
Definition at line 546 of file vec_reg.hh.
|
inline |
Cast to vecElem.
Definition at line 577 of file vec_reg.hh.
References VecLaneT< VecElem, Const >::container.
|
inline |
Constification.
Definition at line 581 of file vec_reg.hh.
References VecLaneT< VecElem, Const >::container.
|
inline |
Generic.
Generic bitwise assignment. Narrowing and widening assignemnts are not allowed, pre-treatment of the rhs is required to conform.
Definition at line 567 of file vec_reg.hh.
References VecLaneT< VecElem, Const >::container.
|
inline |
Assignment operators.
Assignment operators are only enabled if the underlying container is non-constant.
Definition at line 556 of file vec_reg.hh.
References VecLaneT< VecElem, Const >::container.
|
friend |
Definition at line 527 of file vec_reg.hh.
|
friend |
Definition at line 524 of file vec_reg.hh.
|
friend |
Definition at line 528 of file vec_reg.hh.
|
friend |
Definition at line 525 of file vec_reg.hh.
|
friend |
Definition at line 526 of file vec_reg.hh.
|
friend |
Definition at line 523 of file vec_reg.hh.
|
friend |
Definition at line 529 of file vec_reg.hh.
Reference to data.
Definition at line 539 of file vec_reg.hh.
Referenced by VecLaneT< VecElem, Const >::operator VecElem(), VecLaneT< VecElem, Const >::operator VecLaneT< typename std::enable_if< Cond, VecElem >::type, true >(), and VecLaneT< VecElem, Const >::operator=().
friend VecLaneT< VecElem, Const >::VecLaneT< VecElem, !Const > |
VecRegContainer friendship to access private VecLaneT constructors.
Only VecRegContainers can build VecLanes.
Definition at line 519 of file vec_reg.hh.