CIRCT  20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
circt::sv::CaseDefaultPattern Class Reference

#include <SVOps.h>

Inheritance diagram for circt::sv::CaseDefaultPattern:
Inheritance graph
[legend]
Collaboration diagram for circt::sv::CaseDefaultPattern:
Collaboration graph
[legend]

Public Types

using AttrType = mlir::UnitAttr
 
- Public Types inherited from circt::sv::CasePattern
enum  CasePatternKind { CPK_bit , CPK_enum , CPK_default }
 

Public Member Functions

 CaseDefaultPattern (MLIRContext *ctx)
 
Attribute attr () const override
 
- Public Member Functions inherited from circt::sv::CasePattern
 CasePattern (CasePatternKind kind)
 
virtual ~CasePattern ()
 
CasePatternKind getKind () const
 
virtual bool hasX () const
 Return true if this pattern has an X. More...
 
virtual bool hasZ () const
 Return true if this pattern has an Z. More...
 

Static Public Member Functions

static bool classof (const CasePattern *S)
 

Private Attributes

UnitAttr unitAttr
 

Detailed Description

Definition at line 74 of file SVOps.h.

Member Typedef Documentation

◆ AttrType

Definition at line 76 of file SVOps.h.

Constructor & Destructor Documentation

◆ CaseDefaultPattern()

circt::sv::CaseDefaultPattern::CaseDefaultPattern ( MLIRContext *  ctx)
inline

Definition at line 77 of file SVOps.h.

References circt::calyx::direction::get(), and unitAttr.

Member Function Documentation

◆ attr()

Attribute circt::sv::CaseDefaultPattern::attr ( ) const
inlineoverridevirtual

Implements circt::sv::CasePattern.

Definition at line 82 of file SVOps.h.

References unitAttr.

◆ classof()

static bool circt::sv::CaseDefaultPattern::classof ( const CasePattern S)
inlinestatic

Member Data Documentation

◆ unitAttr

UnitAttr circt::sv::CaseDefaultPattern::unitAttr
private

Definition at line 92 of file SVOps.h.

Referenced by attr(), and CaseDefaultPattern().


The documentation for this class was generated from the following file: