Skip to content

Commit

Permalink
[FIRRTL] Add ViewIntrinsicOp to visitors.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzSiFive committed Jan 16, 2025
1 parent c4d0b11 commit f806d5c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions include/circt/Dialect/FIRRTL/FIRRTLVisitors.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ class StmtVisitor {
ResultType dispatchStmtVisitor(Operation *op, ExtraArgs... args) {
auto *thisCast = static_cast<ConcreteType *>(this);
return TypeSwitch<Operation *, ResultType>(op)
.template Case<AttachOp, ConnectOp, MatchingConnectOp, RefDefineOp,
ForceOp, PrintFOp, SkipOp, StopOp, WhenOp, AssertOp,
AssumeOp, CoverOp, PropAssignOp, RefForceOp,
RefForceInitialOp, RefReleaseOp, RefReleaseInitialOp,
FPGAProbeIntrinsicOp, VerifAssertIntrinsicOp,
VerifAssumeIntrinsicOp, UnclockedAssumeIntrinsicOp,
VerifCoverIntrinsicOp, LayerBlockOp, MatchOp>(
.template Case<
AttachOp, ConnectOp, MatchingConnectOp, RefDefineOp, ForceOp,
PrintFOp, SkipOp, StopOp, WhenOp, AssertOp, AssumeOp, CoverOp,
PropAssignOp, RefForceOp, RefForceInitialOp, RefReleaseOp,
RefReleaseInitialOp, FPGAProbeIntrinsicOp, VerifAssertIntrinsicOp,
VerifAssumeIntrinsicOp, UnclockedAssumeIntrinsicOp,
VerifCoverIntrinsicOp, LayerBlockOp, MatchOp, ViewIntrinsicOp>(
[&](auto opNode) -> ResultType {
return thisCast->visitStmt(opNode, args...);
})
Expand Down Expand Up @@ -292,6 +292,7 @@ class StmtVisitor {
HANDLE(UnclockedAssumeIntrinsicOp);
HANDLE(LayerBlockOp);
HANDLE(MatchOp);
HANDLE(ViewIntrinsicOp);

#undef HANDLE
};
Expand Down

0 comments on commit f806d5c

Please sign in to comment.