CIRCT 21.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
circt::scheduling::Problem::OperatorType Struct Reference

Operator types are distinguished by name (chosen by the client). More...

#include <Problems.h>

Collaboration diagram for circt::scheduling::Problem::OperatorType:
Collaboration graph
[legend]

Public Member Functions

 OperatorType ()=default
 
 OperatorType (mlir::StringAttr attr)
 
mlir::StringAttr getAttr () const
 
mlir::StringRef getValue () const
 
std::string str () const
 

Static Public Member Functions

static OperatorType get (mlir::MLIRContext *ctx, llvm::StringRef name)
 

Public Attributes

mlir::StringAttr attr
 

Friends

bool operator== (const OperatorType &lhs, const OperatorType &rhs)
 

Detailed Description

Operator types are distinguished by name (chosen by the client).

Definition at line 98 of file Problems.h.

Constructor & Destructor Documentation

◆ OperatorType() [1/2]

circt::scheduling::Problem::OperatorType::OperatorType ( )
default

◆ OperatorType() [2/2]

circt::scheduling::Problem::OperatorType::OperatorType ( mlir::StringAttr  attr)
inline

Definition at line 102 of file Problems.h.

Member Function Documentation

◆ get()

static OperatorType circt::scheduling::Problem::OperatorType::get ( mlir::MLIRContext *  ctx,
llvm::StringRef  name 
)
inlinestatic

◆ getAttr()

mlir::StringAttr circt::scheduling::Problem::OperatorType::getAttr ( ) const
inline

Definition at line 108 of file Problems.h.

References attr.

Referenced by circt::scheduling::ChainingProblem::checkDelays().

◆ getValue()

mlir::StringRef circt::scheduling::Problem::OperatorType::getValue ( ) const
inline

◆ str()

std::string circt::scheduling::Problem::OperatorType::str ( ) const
inline

Definition at line 112 of file Problems.h.

References attr.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const OperatorType lhs,
const OperatorType rhs 
)
friend

Definition at line 114 of file Problems.h.

Member Data Documentation

◆ attr

mlir::StringAttr circt::scheduling::Problem::OperatorType::attr

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