CIRCT 22.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
LowerWordToBits.cpp File Reference
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/Synth/SynthOps.h"
#include "circt/Dialect/Synth/Transforms/SynthPasses.h"
#include "circt/Support/LLVM.h"
#include "mlir/IR/Operation.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/LogicalResult.h"
#include "circt/Dialect/Synth/Transforms/SynthPasses.h.inc"
Include dependency graph for LowerWordToBits.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define DEBUG_TYPE   "synth-lower-word-to-bits"
 
#define GEN_PASS_DEF_LOWERWORDTOBITS
 

Functions

static bool shouldLowerOperation (Operation *op)
 Check if an operation should be lowered to bit-level operations.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "synth-lower-word-to-bits"

Definition at line 28 of file LowerWordToBits.cpp.

◆ GEN_PASS_DEF_LOWERWORDTOBITS

#define GEN_PASS_DEF_LOWERWORDTOBITS

Definition at line 32 of file LowerWordToBits.cpp.

Function Documentation

◆ shouldLowerOperation()

static bool shouldLowerOperation ( Operation *  op)
static

Check if an operation should be lowered to bit-level operations.

Definition at line 45 of file LowerWordToBits.cpp.