gem5  v20.1.0.0
Functions
The Flags API.

These methods relate to the Flags interface. More...

Functions

 Flags< T >::operator const Type () const
 
template<typename U >
const Flags< T > & Flags< T >::operator= (const Flags< U > &flags)
 
const Flags< T > & Flags< T >::operator= (T flags)
 
 Flags< T >::Flags ()
 
 Flags< T >::Flags (Type flags)
 
bool Flags< T >::isSet () const
 
bool Flags< T >::isSet (Type flags) const
 
bool Flags< T >::allSet () const
 
bool Flags< T >::allSet (Type flags) const
 
bool Flags< T >::noneSet () const
 
bool Flags< T >::noneSet (Type flags) const
 
void Flags< T >::clear ()
 
void Flags< T >::clear (Type flags)
 
void Flags< T >::set (Type flags)
 
void Flags< T >::set (Type f, bool val)
 
void Flags< T >::update (Type flags, Type mask)
 

Detailed Description

These methods relate to the Flags interface.

Function Documentation

◆ allSet() [1/2]

template<typename T >
bool Flags< T >::allSet ( ) const
inline

Definition at line 81 of file flags.hh.

◆ allSet() [2/2]

template<typename T >
bool Flags< T >::allSet ( Type  flags) const
inline

Definition at line 82 of file flags.hh.

◆ clear() [1/2]

template<typename T >
void Flags< T >::clear ( )
inline

◆ clear() [2/2]

template<typename T >
void Flags< T >::clear ( Type  flags)
inline

Definition at line 86 of file flags.hh.

◆ Flags() [1/2]

template<typename T >
Flags< T >::Flags ( )
inline

Definition at line 45 of file flags.hh.

◆ Flags() [2/2]

template<typename T >
Flags< T >::Flags ( Type  flags)
inline

Definition at line 46 of file flags.hh.

◆ isSet() [1/2]

template<typename T >
bool Flags< T >::isSet ( ) const
inline

Definition at line 79 of file flags.hh.

Referenced by Event::acquire(), Packet::cacheResponding(), Request::contextId(), Packet::deleteData(), Request::extraDataValid(), Packet::getAddr(), Request::getArchFlags(), Packet::getConstPtr(), Request::getExtraData(), Request::getFlags(), Request::getHtmAbortCause(), Packet::getHtmTransactionUid(), Request::getInstCount(), Request::getPaddr(), Request::getPC(), Packet::getPtr(), Packet::getRaw(), Request::getReqInstSeqNum(), Request::getSize(), Packet::getSize(), Request::getVaddr(), Request::hasContextId(), Request::hasInstSeqNum(), Request::hasPaddr(), Request::hasPC(), Packet::hasSharers(), Request::hasSize(), Request::hasSubstreamId(), Request::hasVaddr(), Packet::htmTransactionFailedInCache(), Request::isAcquire(), LSQ< Impl >::LSQRequest::isAnyOutstandingRequest(), LSQ< Impl >::LSQRequest::isAtomic(), Request::isAtomic(), Request::isAtomicNoReturn(), Request::isAtomicReturn(), Packet::isBlockCached(), Request::isCacheClean(), Request::isCacheInvalidate(), Request::isCacheMaintenance(), LSQ< Impl >::LSQRequest::isComplete(), Request::isCondSwap(), LSQ< Impl >::LSQRequest::isDelayed(), Event::isExitEvent(), Packet::isExpressSnoop(), Event::isFlagSet(), Request::isGLC(), Request::isHTMAbort(), Request::isHTMCancel(), Request::isHTMCommit(), Request::isHTMStart(), Packet::isHtmTransactional(), Request::isInstFetch(), Request::isKernel(), Request::isLLSC(), LSQ< Impl >::LSQRequest::isLoad(), Request::isLockedRMW(), Event::isManaged(), Request::isPrefetch(), Request::isPrefetchEx(), Request::isPriv(), Request::isPTWalk(), Request::isRelease(), LSQ< Impl >::LSQRequest::isReleased(), Packet::isSecure(), Request::isSecure(), LSQ< Impl >::LSQRequest::isSent(), Request::isSLC(), LSQ< Impl >::LSQRequest::isSplit(), TraceCPU::ElasticDataGen::GraphNode::isStrictlyOrdered(), Request::isStrictlyOrdered(), Request::isSwap(), Request::isToPOC(), Request::isToPOU(), LSQ< Impl >::LSQRequest::isTranslationBlocked(), LSQ< Impl >::LSQRequest::isTranslationComplete(), Request::isUncacheable(), Stats::Text::noOutput(), Stats::ScalarPrint::operator()(), Stats::VectorPrint::operator()(), Stats::DistPrint::operator()(), Packet::Packet(), Event::release(), Packet::responderHadWritable(), Packet::satisfied(), Event::scheduled(), Packet::setAddr(), Request::setCacheCoherenceFlags(), Packet::setCacheResponding(), Packet::setData(), Request::setFlags(), Packet::setRaw(), Packet::setSatisfied(), Packet::setSize(), Request::setSubStreamId(), Request::splitOnVaddr(), Event::squashed(), Request::streamId(), Request::substreamId(), Packet::suppressFuncError(), Request::time(), Stats::Text::visit(), LSQ< Impl >::LSQRequest::writebackScheduled(), and Packet::writeThrough().

◆ isSet() [2/2]

template<typename T >
bool Flags< T >::isSet ( Type  flags) const
inline

Definition at line 80 of file flags.hh.

◆ noneSet() [1/2]

template<typename T >
bool Flags< T >::noneSet ( ) const
inline

◆ noneSet() [2/2]

template<typename T >
bool Flags< T >::noneSet ( Type  flags) const
inline

Definition at line 84 of file flags.hh.

◆ operator const Type()

template<typename T >
Flags< T >::operator const Type ( ) const
inline

Definition at line 52 of file flags.hh.

◆ operator=() [1/2]

template<typename T >
template<typename U >
const Flags<T>& Flags< T >::operator= ( const Flags< U > &  flags)
inline

Definition at line 59 of file flags.hh.

◆ operator=() [2/2]

template<typename T >
const Flags<T>& Flags< T >::operator= ( flags)
inline

Definition at line 69 of file flags.hh.

◆ set() [1/2]

template<typename T >
void Flags< T >::set ( Type  f,
bool  val 
)
inline

Definition at line 88 of file flags.hh.

◆ set() [2/2]

template<typename T >
void Flags< T >::set ( Type  flags)
inline

Definition at line 87 of file flags.hh.

Referenced by Packet::allocate(), LSQ< Impl >::LSQRequest::complete(), Packet::copyResponderFlags(), Packet::dataDynamic(), Packet::dataStatic(), Packet::dataStaticConst(), ArmISA::TableWalker::doL1Descriptor(), ArmISA::TableWalker::doLongDescriptor(), LSQ< Impl >::SingleDataRequest::finish(), GarnetSyntheticTraffic::generatePkt(), Check::initiateCheck(), Check::initiatePrefetch(), LSQ< Impl >::LSQRequest::LSQRequest(), LSQ< Impl >::LSQRequest::markDelayed(), Packet::Packet(), LSQ< Impl >::LSQRequest::packetNotSent(), LSQ< Impl >::LSQRequest::packetSent(), ArmISA::TableWalker::processWalk(), ArmISA::TableWalker::processWalkLPAE(), LSQ< Impl >::LSQRequest::release(), Request::Request(), Packet::setBlockCached(), Request::setCacheCoherenceFlags(), Packet::setCacheResponding(), Request::setContext(), Packet::setExpressSnoop(), Request::setExtraData(), Event::setFlags(), Request::setFlags(), Packet::setHasSharers(), Request::setHtmAbortCause(), Packet::setHtmTransactional(), Packet::setHtmTransactionFailedInCache(), Request::setInstCount(), Request::setPaddr(), Request::setPC(), Request::setReqInstSeqNum(), Packet::setResponderHadWritable(), Packet::setSatisfied(), Packet::setSize(), Request::setStreamId(), Request::setSubStreamId(), Packet::setSuppressFuncError(), X86ISA::Walker::WalkerState::setupWalk(), Request::setVirt(), Packet::setWriteThrough(), LSQ< Impl >::SplitDataRequest::SplitDataRequest(), Event::squash(), LSQ< Impl >::LSQRequest::squashTranslation(), X86ISA::Walker::WalkerState::stepWalk(), MemTest::tick(), LSQ< Impl >::LSQRequest::writebackDone(), and LSQ< Impl >::LSQRequest::writebackScheduled().

◆ update()

template<typename T >
void Flags< T >::update ( Type  flags,
Type  mask 
)
inline

Definition at line 90 of file flags.hh.


Generated on Wed Sep 30 2020 14:02:20 for gem5 by doxygen 1.8.17