CIRCT  20.0.0git
Public Member Functions | Private Attributes | List of all members
circt::scftocalyx::IfLoweringStateInterface Class Reference
Inheritance diagram for circt::scftocalyx::IfLoweringStateInterface:
Inheritance graph
[legend]
Collaboration diagram for circt::scftocalyx::IfLoweringStateInterface:
Collaboration graph
[legend]

Public Member Functions

void setThenGroup (scf::IfOp op, calyx::GroupOp group)
 
calyx::GroupOp getThenGroup (scf::IfOp op)
 
void setElseGroup (scf::IfOp op, calyx::GroupOp group)
 
calyx::GroupOp getElseGroup (scf::IfOp op)
 
void setResultRegs (scf::IfOp op, calyx::RegisterOp reg, unsigned idx)
 
const DenseMap< unsigned, calyx::RegisterOp > & getResultRegs (scf::IfOp op)
 
calyx::RegisterOp getResultRegs (scf::IfOp op, unsigned idx)
 

Private Attributes

DenseMap< Operation *, calyx::GroupOp > thenGroup
 
DenseMap< Operation *, calyx::GroupOp > elseGroup
 
DenseMap< Operation *, DenseMap< unsigned, calyx::RegisterOp > > resultRegs
 

Detailed Description

Definition at line 139 of file SCFToCalyx.cpp.

Member Function Documentation

◆ getElseGroup()

calyx::GroupOp circt::scftocalyx::IfLoweringStateInterface::getElseGroup ( scf::IfOp  op)
inline

Definition at line 162 of file SCFToCalyx.cpp.

References assert().

◆ getResultRegs() [1/2]

const DenseMap<unsigned, calyx::RegisterOp>& circt::scftocalyx::IfLoweringStateInterface::getResultRegs ( scf::IfOp  op)
inline

Definition at line 176 of file SCFToCalyx.cpp.

◆ getResultRegs() [2/2]

calyx::RegisterOp circt::scftocalyx::IfLoweringStateInterface::getResultRegs ( scf::IfOp  op,
unsigned  idx 
)
inline

Definition at line 180 of file SCFToCalyx.cpp.

References assert().

◆ getThenGroup()

calyx::GroupOp circt::scftocalyx::IfLoweringStateInterface::getThenGroup ( scf::IfOp  op)
inline

Definition at line 148 of file SCFToCalyx.cpp.

References assert().

◆ setElseGroup()

void circt::scftocalyx::IfLoweringStateInterface::setElseGroup ( scf::IfOp  op,
calyx::GroupOp  group 
)
inline

Definition at line 155 of file SCFToCalyx.cpp.

References assert().

◆ setResultRegs()

void circt::scftocalyx::IfLoweringStateInterface::setResultRegs ( scf::IfOp  op,
calyx::RegisterOp  reg,
unsigned  idx 
)
inline

Definition at line 169 of file SCFToCalyx.cpp.

References assert(), and seq::reg().

◆ setThenGroup()

void circt::scftocalyx::IfLoweringStateInterface::setThenGroup ( scf::IfOp  op,
calyx::GroupOp  group 
)
inline

Definition at line 141 of file SCFToCalyx.cpp.

References assert().

Member Data Documentation

◆ elseGroup

DenseMap<Operation *, calyx::GroupOp> circt::scftocalyx::IfLoweringStateInterface::elseGroup
private

Definition at line 189 of file SCFToCalyx.cpp.

◆ resultRegs

DenseMap<Operation *, DenseMap<unsigned, calyx::RegisterOp> > circt::scftocalyx::IfLoweringStateInterface::resultRegs
private

Definition at line 190 of file SCFToCalyx.cpp.

◆ thenGroup

DenseMap<Operation *, calyx::GroupOp> circt::scftocalyx::IfLoweringStateInterface::thenGroup
private

Definition at line 188 of file SCFToCalyx.cpp.


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