CIRCT  20.0.0git
Classes | Namespaces | Macros | Functions
CompileControl.cpp File Reference
#include "circt/Dialect/Calyx/CalyxHelpers.h"
#include "circt/Dialect/Calyx/CalyxOps.h"
#include "circt/Dialect/Calyx/CalyxPasses.h"
#include "circt/Support/LLVM.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/PatternMatch.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/Calyx/CalyxPasses.h.inc"
Include dependency graph for CompileControl.cpp:

Go to the source code of this file.

Classes

class  CompileControlVisitor
 

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::calyx
 

Macros

#define GEN_PASS_DEF_COMPILECONTROL
 

Functions

static size_t getNecessaryBitWidth (size_t numStates)
 Given some number of states, returns the necessary bit width TODO(Calyx): Probably a better built-in operation? More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_COMPILECONTROL

#define GEN_PASS_DEF_COMPILECONTROL

Definition at line 24 of file CompileControl.cpp.

Function Documentation

◆ getNecessaryBitWidth()

static size_t getNecessaryBitWidth ( size_t  numStates)
static

Given some number of states, returns the necessary bit width TODO(Calyx): Probably a better built-in operation?

Definition at line 35 of file CompileControl.cpp.

Referenced by CompileControlVisitor::visit().