CIRCT 24.0.0git
Loading...
Searching...
No Matches
MooreTypes.h File Reference
#include "circt/Support/LLVM.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/Types.h"
#include "mlir/Interfaces/MemorySlotInterfaces.h"
#include <variant>
#include "circt/Dialect/Moore/MooreTypes.h.inc"
Include dependency graph for MooreTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::moore::UnpackedType
 An unpacked SystemVerilog type. More...
class  circt::moore::PackedType
 A packed SystemVerilog type. More...
class  circt::moore::WrapperType
struct  circt::moore::StructLikeMember
 A member of a struct. More...

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
namespace  circt::moore

Macros

#define GET_TYPEDEF_CLASSES

Enumerations

enum class  circt::moore::Domain { circt::moore::TwoValued , circt::moore::FourValued }
 The number of values each bit of a type can assume. More...
enum class  circt::moore::RealWidth { circt::moore::f32 = 32 , circt::moore::f64 = 64 }
 The type of floating point / real number behind a RealType. More...

Functions

bool circt::moore::isIntType (Type type, unsigned width)
 Check if a type is an IntType type of the given width.
bool circt::moore::isIntType (Type type, Domain domain)
 Check if a type is an IntType type of the given domain.
bool circt::moore::isIntType (Type type, unsigned width, Domain domain)
 Check if a type is an IntType type of the given width and domain.
bool circt::moore::isRealType (Type type, unsigned width)
 Check if a type is a RealType type of the given width.
llvm::hash_code circt::moore::hash_value (const StructLikeMember &x)

Macro Definition Documentation

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 225 of file MooreTypes.h.