CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::scftocalyx::IfLoweringStateInterface Class Reference
Inheritance diagram for circt::scftocalyx::IfLoweringStateInterface:
Collaboration diagram for circt::scftocalyx::IfLoweringStateInterface:

Public Member Functions

void setCondReg (scf::IfOp op, calyx::RegisterOp regOp)
calyx::RegisterOp getCondReg (scf::IfOp op)
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::RegisterOp > condReg
DenseMap< Operation *, calyx::GroupOp > thenGroup
DenseMap< Operation *, calyx::GroupOp > elseGroup
DenseMap< Operation *, DenseMap< unsigned, calyx::RegisterOp > > resultRegs

Detailed Description

Definition at line 143 of file SCFToCalyx.cpp.

Member Function Documentation

◆ getCondReg()

calyx::RegisterOp circt::scftocalyx::IfLoweringStateInterface::getCondReg ( scf::IfOp op)
inline

Definition at line 153 of file SCFToCalyx.cpp.

References condReg.

◆ getElseGroup()

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

Definition at line 181 of file SCFToCalyx.cpp.

References assert(), and elseGroup.

◆ getResultRegs() [1/2]

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

Definition at line 195 of file SCFToCalyx.cpp.

References resultRegs.

Referenced by getResultRegs().

◆ getResultRegs() [2/2]

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

Definition at line 199 of file SCFToCalyx.cpp.

References assert(), and getResultRegs().

◆ getThenGroup()

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

Definition at line 167 of file SCFToCalyx.cpp.

References assert(), and thenGroup.

◆ setCondReg()

void circt::scftocalyx::IfLoweringStateInterface::setCondReg ( scf::IfOp op,
calyx::RegisterOp regOp )
inline

Definition at line 145 of file SCFToCalyx.cpp.

References assert(), and condReg.

◆ setElseGroup()

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

Definition at line 174 of file SCFToCalyx.cpp.

References assert(), and elseGroup.

◆ setResultRegs()

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

Definition at line 188 of file SCFToCalyx.cpp.

References assert(), and resultRegs.

◆ setThenGroup()

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

Definition at line 160 of file SCFToCalyx.cpp.

References assert(), and thenGroup.

Member Data Documentation

◆ condReg

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

Definition at line 208 of file SCFToCalyx.cpp.

Referenced by getCondReg(), and setCondReg().

◆ elseGroup

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

Definition at line 210 of file SCFToCalyx.cpp.

Referenced by getElseGroup(), and setElseGroup().

◆ resultRegs

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

Definition at line 211 of file SCFToCalyx.cpp.

Referenced by getResultRegs(), and setResultRegs().

◆ thenGroup

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

Definition at line 209 of file SCFToCalyx.cpp.

Referenced by getThenGroup(), and setThenGroup().


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