|
dune-common 2.12-git
|
A reference-like proxy for elements of Vc vectors and masks. More...
#include <dune/common/simd/vc.hh>

Public Types | |
| using | value_type = typename Base::value_type |
Public Member Functions | |
| DUNE_SIMD_VC_BINARY * | DUNE_SIMD_VC_BINARY (/);DUNE_SIMD_VC_BINARY(% |
| DUNE_SIMD_VC_BINARY (+) | |
| DUNE_SIMD_VC_BINARY (-) | |
| DUNE_SIMD_VC_BINARY (<<) | |
| DUNE_SIMD_VC_BINARY (> >) | |
| DUNE_SIMD_VC_BINARY & | DUNE_SIMD_VC_BINARY (^);DUNE_SIMD_VC_BINARY(| |
| DUNE_SIMD_VC_BINARY (<) | |
| DUNE_SIMD_VC_BINARY (>) | |
| DUNE_SIMD_VC_BINARY (<=) | |
| DUNE_SIMD_VC_BINARY (>=) | |
| DUNE_SIMD_VC_BINARY (==) | |
| DUNE_SIMD_VC_BINARY (!=) | |
| template<class T , class Abi , class = std::enable_if_t<std::is_convertible<value_type, T>::value>> | |
| operator Vc::Vector< T, Abi > () && | |
| template<class T , std::size_t n, class Vec , std::size_t m, class = std::enable_if_t<std::is_convertible<value_type, T>::value>> | |
| operator Vc::SimdArray< T, n, Vec, m > () && | |
| DUNE_SIMD_VC_ASSIGN * | DUNE_SIMD_VC_ASSIGN (/=);DUNE_SIMD_VC_ASSIGN(%= |
| DUNE_SIMD_VC_ASSIGN (+=) | |
| DUNE_SIMD_VC_ASSIGN (-=) | |
| DUNE_SIMD_VC_ASSIGN & | DUNE_SIMD_VC_ASSIGN (^=);DUNE_SIMD_VC_ASSIGN(|= |
| DUNE_SIMD_VC_ASSIGN (<<=) | |
| DUNE_SIMD_VC_ASSIGN (> >=) | |
Detailed Description
class Dune::Simd::VcImpl::Proxy< V >
A reference-like proxy for elements of Vc vectors and masks.
Vc's lane-access operation returns a proxy that cannot be copied or moved by non-Vc code, so it cannot be returned from lane(). This class derives from the generic Impl::ValueProxy and adds the operators with Vc vector types.
The operators with the proxy on the left are member functions, not friends: with two friends mirroring each other (vector == proxy and proxy == vector), Clang up to 17 selects the reversed candidate for vector == proxy, and rejects it since the result of a rewritten operator== must be bool but the Vc operators return masks, see dune-common#439. The proxy is derived from ValueProxy, and not passed to it as the ExtraOperations base, so that the members have the proxy as their object type and not a base class (which would lose against the generic operators of ValueProxy).
Member Typedef Documentation
◆ value_type
| using Dune::Simd::VcImpl::Proxy< V >::value_type = typename Base::value_type |
Member Function Documentation
◆ DUNE_SIMD_VC_ASSIGN() [1/6]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | + | ) |
◆ DUNE_SIMD_VC_ASSIGN() [2/6]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | - | ) |
◆ DUNE_SIMD_VC_ASSIGN() [3/6]
| DUNE_SIMD_VC_ASSIGN * Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | / | ) |
◆ DUNE_SIMD_VC_ASSIGN() [4/6]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | << | ) |
◆ DUNE_SIMD_VC_ASSIGN() [5/6]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | >= | ) |
◆ DUNE_SIMD_VC_ASSIGN() [6/6]
| DUNE_SIMD_VC_ASSIGN & Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_ASSIGN | ( | ^ | ) |
◆ DUNE_SIMD_VC_BINARY() [1/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ! | ) |
◆ DUNE_SIMD_VC_BINARY() [2/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | + | ) |
◆ DUNE_SIMD_VC_BINARY() [3/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | - | ) |
◆ DUNE_SIMD_VC_BINARY() [4/12]
| DUNE_SIMD_VC_BINARY * Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | / | ) |
◆ DUNE_SIMD_VC_BINARY() [5/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ) |
◆ DUNE_SIMD_VC_BINARY() [6/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | << | ) |
◆ DUNE_SIMD_VC_BINARY() [7/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | <= | ) |
◆ DUNE_SIMD_VC_BINARY() [8/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ) |
◆ DUNE_SIMD_VC_BINARY() [9/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ) |
◆ DUNE_SIMD_VC_BINARY() [10/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ) |
◆ DUNE_SIMD_VC_BINARY() [11/12]
| Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | >= | ) |
◆ DUNE_SIMD_VC_BINARY() [12/12]
| DUNE_SIMD_VC_BINARY & Dune::Simd::VcImpl::Proxy< V >::DUNE_SIMD_VC_BINARY | ( | ^ | ) |
◆ operator Vc::SimdArray< T, n, Vec, m >()
|
inline |
◆ operator Vc::Vector< T, Abi >()
|
inline |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8