CIRCT  20.0.0git
Functions
CalyxEmitter.cpp File Reference
#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>
Include dependency graph for CalyxEmitter.cpp:

Go to the source code of this file.

Functions

static StringRef removeCalyxPrefix (StringRef s)
 Calling getName() on a calyx operation will return "calyx.${opname}". More...
 

Function Documentation

◆ removeCalyxPrefix()

static StringRef removeCalyxPrefix ( StringRef  s)
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 967 of file CalyxEmitter.cpp.