CIRCT 21.0.0git
|
#include "circt/Dialect/Calyx/CalyxEmitter.h"
#include "circt/Dialect/Calyx/CalyxOps.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Support/LLVM.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/Tools/mlir-translate/Translation.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/FormatVariadic.h"
#include <bitset>
#include <string>
Go to the source code of this file.
Functions | |
static StringRef | removeCalyxPrefix (StringRef s) |
Calling getName() on a calyx operation will return "calyx.${opname}". | |
unsigned | getFPBitWidth (CellInterface &cell) |
unsigned | getIntWidth (Operation *op, CellInterface &cell, bool isIntToFp) |
unsigned getFPBitWidth | ( | CellInterface & | cell | ) |
Definition at line 1014 of file CalyxEmitter.cpp.
References assert().
unsigned getIntWidth | ( | Operation * | op, |
CellInterface & | cell, | ||
bool | isIntToFp | ||
) |
Definition at line 1029 of file CalyxEmitter.cpp.
References assert().
|
static |
Calling getName() on a calyx operation will return "calyx.${opname}".
This function returns whatever is left after the first '.' in the string, removing the 'calyx' prefix.
Definition at line 980 of file CalyxEmitter.cpp.