gem5
v20.0.0.3
|
#include <functional>
#include <iostream>
#include <type_traits>
#include <typeinfo>
#include "base/bitfield.hh"
Go to the source code of this file.
Namespaces | |
BitfieldBackend | |
std | |
Overload hash function for BasicBlockRange type. | |
Macros | |
#define | __BitUnion(type, name) |
#define | EndBitUnion(name) |
#define | __SubBitUnion(name, fieldType, ...) |
#define | EndSubBitUnion(name) |
#define | SubBitUnion(name, first, last) __SubBitUnion(name, Bitfield, first, last) |
#define | SignedSubBitUnion(name, first, last) __SubBitUnion(name, SignedBitfield, first, last) |
#define | BitUnion(type, name) __BitUnion(type, name) |
#define | BitUnion64(name) __BitUnion(uint64_t, name) |
#define | BitUnion32(name) __BitUnion(uint32_t, name) |
#define | BitUnion16(name) __BitUnion(uint16_t, name) |
#define | BitUnion8(name) __BitUnion(uint8_t, name) |
Typedefs | |
template<typename T > | |
using | BitUnionType = BitfieldBackend::BitUnionOperators< T > |
template<typename T > | |
using | BitUnionBaseType = typename BitfieldBackend::BitUnionBaseType< T >::Type |
Functions | |
template<typename T > | |
static std::ostream & | BitfieldBackend::bitfieldBackendPrinter (std::ostream &os, const T &t) |
template<> | |
std::ostream & | BitfieldBackend::bitfieldBackendPrinter (std::ostream &os, const char &t) |
template<> | |
std::ostream & | BitfieldBackend::bitfieldBackendPrinter (std::ostream &os, const unsigned char &t) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, const BitUnionType< T > &bu) |
Definition at line 309 of file bitunion.hh.
#define __SubBitUnion | ( | name, | |
fieldType, | |||
... | |||
) |
Definition at line 339 of file bitunion.hh.
#define BitUnion | ( | type, | |
name | |||
) | __BitUnion(type, name) |
Definition at line 371 of file bitunion.hh.
Referenced by TEST_F().
#define BitUnion16 | ( | name | ) | __BitUnion(uint16_t, name) |
Definition at line 376 of file bitunion.hh.
#define BitUnion32 | ( | name | ) | __BitUnion(uint32_t, name) |
Definition at line 375 of file bitunion.hh.
#define BitUnion64 | ( | name | ) | __BitUnion(uint64_t, name) |
Definition at line 374 of file bitunion.hh.
#define BitUnion8 | ( | name | ) | __BitUnion(uint8_t, name) |
Definition at line 377 of file bitunion.hh.
#define EndBitUnion | ( | name | ) |
Definition at line 328 of file bitunion.hh.
#define EndSubBitUnion | ( | name | ) |
Definition at line 351 of file bitunion.hh.
#define SignedSubBitUnion | ( | name, | |
first, | |||
last | |||
) | __SubBitUnion(name, SignedBitfield, first, last) |
Definition at line 367 of file bitunion.hh.
#define SubBitUnion | ( | name, | |
first, | |||
last | |||
) | __SubBitUnion(name, Bitfield, first, last) |
Definition at line 362 of file bitunion.hh.
using BitUnionBaseType = typename BitfieldBackend::BitUnionBaseType<T>::Type |
Definition at line 414 of file bitunion.hh.
using BitUnionType = BitfieldBackend::BitUnionOperators<T> |
Definition at line 396 of file bitunion.hh.
std::ostream& operator<< | ( | std::ostream & | os, |
const BitUnionType< T > & | bu | ||
) |
Definition at line 467 of file bitunion.hh.
References BitfieldBackend::bitfieldBackendPrinter(), and X86ISA::os.