gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::stl_helpers::opExtract_impl Namespace Reference

Functions

template<typename T >
std::ostream & opExtractSecDisp (std::ostream &os, const T &v)
 
template<typename E >
std::enable_if_t< std::is_enum_v< E >, std::ostream & > opExtractPrimDisp (std::ostream &os, const E &e)
 
template<typename... T>
std::ostream & opExtractPrimDisp (std::ostream &os, const std::tuple< T... > &p)
 
template<typename T , typename U >
std::ostream & opExtractPrimDisp (std::ostream &os, const std::pair< T, U > &p)
 
template<typename T >
std::enable_if_t< is_iterable_v< T >, std::ostream & > opExtractPrimDisp (std::ostream &os, const T &v)
 
template<typename T >
std::ostream & opExtractPrimDisp (std::ostream &os, const std::optional< T > &o)
 
template<typename T >
std::ostream & opExtractPrimDisp (std::ostream &os, T *p)
 
template<typename T >
std::ostream & opExtractPrimDisp (std::ostream &os, const std::shared_ptr< T > &p)
 
template<typename T >
std::ostream & opExtractPrimDisp (std::ostream &os, const std::unique_ptr< T > &p)
 
template<typename T >
std::ostream & opExtractPrimDisp (std::ostream &os, const Printer< T > &p)
 

Variables

template<typename , typename = void>
constexpr bool isOpExtractNativelySupported = false
 
template<typename , typename = void>
constexpr bool isOpExtractHelped = false
 
template<typename T >
constexpr bool needsDispatch
 

Function Documentation

◆ opExtractPrimDisp() [1/9]

template<typename E >
std::enable_if_t< std::is_enum_v< E >, std::ostream & > gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const E & e )

◆ opExtractPrimDisp() [2/9]

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const Printer< T > & p )

◆ opExtractPrimDisp() [3/9]

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const std::optional< T > & o )

Definition at line 117 of file ostream_helpers.hh.

References opExtractSecDisp(), and gem5::X86ISA::os.

◆ opExtractPrimDisp() [4/9]

template<typename T , typename U >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const std::pair< T, U > & p )

Definition at line 99 of file ostream_helpers.hh.

References opExtractPrimDisp(), gem5::X86ISA::os, and gem5::MipsISA::p.

◆ opExtractPrimDisp() [5/9]

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const std::shared_ptr< T > & p )

Definition at line 132 of file ostream_helpers.hh.

References opExtractPrimDisp(), gem5::X86ISA::os, and gem5::MipsISA::p.

◆ opExtractPrimDisp() [6/9]

template<typename... T>
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const std::tuple< T... > & p )

◆ opExtractPrimDisp() [7/9]

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const std::unique_ptr< T > & p )

Definition at line 139 of file ostream_helpers.hh.

References opExtractPrimDisp(), gem5::X86ISA::os, and gem5::MipsISA::p.

◆ opExtractPrimDisp() [8/9]

template<typename T >
std::enable_if_t< is_iterable_v< T >, std::ostream & > gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
const T & v )

◆ opExtractPrimDisp() [9/9]

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractPrimDisp ( std::ostream & os,
T * p )

◆ opExtractSecDisp()

template<typename T >
std::ostream & gem5::stl_helpers::opExtract_impl::opExtractSecDisp ( std::ostream & os,
const T & v )

Variable Documentation

◆ isOpExtractHelped

template<typename , typename = void>
bool gem5::stl_helpers::opExtract_impl::isOpExtractHelped = false
constexpr

Definition at line 157 of file ostream_helpers.hh.

Referenced by opExtractPrimDisp(), and opExtractPrimDisp().

◆ isOpExtractNativelySupported

template<typename , typename = void>
bool gem5::stl_helpers::opExtract_impl::isOpExtractNativelySupported = false
constexpr

Definition at line 149 of file ostream_helpers.hh.

Referenced by opExtractPrimDisp().

◆ needsDispatch

template<typename T >
bool gem5::stl_helpers::opExtract_impl::needsDispatch
constexpr
Initial value:
=
isOpExtractHelped<T> && !isOpExtractNativelySupported<T>

Definition at line 167 of file ostream_helpers.hh.

Referenced by opExtractSecDisp().


Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0