|
gem5
v19.0.0.0
|
#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 311 of file bitunion.hh.
| #define __SubBitUnion | ( | name, | |
| fieldType, | |||
| ... | |||
| ) |
Definition at line 341 of file bitunion.hh.
| #define BitUnion | ( | type, | |
| name | |||
| ) | __BitUnion(type, name) |
Definition at line 373 of file bitunion.hh.
Referenced by TEST_F().
| #define BitUnion16 | ( | name | ) | __BitUnion(uint16_t, name) |
Definition at line 378 of file bitunion.hh.
| #define BitUnion32 | ( | name | ) | __BitUnion(uint32_t, name) |
Definition at line 377 of file bitunion.hh.
| #define BitUnion64 | ( | name | ) | __BitUnion(uint64_t, name) |
Definition at line 376 of file bitunion.hh.
| #define BitUnion8 | ( | name | ) | __BitUnion(uint8_t, name) |
Definition at line 379 of file bitunion.hh.
| #define EndBitUnion | ( | name | ) |
Definition at line 330 of file bitunion.hh.
| #define EndSubBitUnion | ( | name | ) |
Definition at line 353 of file bitunion.hh.
| #define SignedSubBitUnion | ( | name, | |
| first, | |||
| last | |||
| ) | __SubBitUnion(name, SignedBitfield, first, last) |
Definition at line 369 of file bitunion.hh.
| #define SubBitUnion | ( | name, | |
| first, | |||
| last | |||
| ) | __SubBitUnion(name, Bitfield, first, last) |
Definition at line 364 of file bitunion.hh.
| using BitUnionBaseType = typename BitfieldBackend::BitUnionBaseType<T>::Type |
Definition at line 416 of file bitunion.hh.
| using BitUnionType = BitfieldBackend::BitUnionOperators<T> |
Definition at line 398 of file bitunion.hh.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const BitUnionType< T > & | bu | ||
| ) |
Definition at line 469 of file bitunion.hh.
References BitfieldBackend::bitfieldBackendPrinter(), and X86ISA::os.