CIRCT  19.0.0git
Classes | Functions
CompileControl.cpp File Reference
#include "PassDetails.h"
#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 dependency graph for CompileControl.cpp:

Go to the source code of this file.

Classes

class  CompileControlVisitor
 

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...
 

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 29 of file CompileControl.cpp.

Referenced by CompileControlVisitor::visit().