CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
circt::detail Namespace Reference

Classes

struct  DebugInfoBuilder
 Helper to populate a DebugInfo with nodes. More...
 
class  OpSCCIterator
 

Typedefs

using CyclicOpSCCStorage = llvm::SmallVector< mlir::Operation *, 4 >
 Backing storage for a cyclic SCC (implementation detail).
 
using OpSccEmbeddedIndex = llvm::PointerEmbeddedInt< unsigned, 31 >
 
using OpOrIndex = llvm::PointerUnion< mlir::Operation *, OpSccEmbeddedIndex >
 

Functions

llvm::APInt expandTruthTableToInputSpace (const llvm::APInt &tt, ArrayRef< unsigned > inputMapping, unsigned numExpandedInputs)
 Expand a truth table to a larger input space using the given input mapping.
 

Typedef Documentation

◆ CyclicOpSCCStorage

using circt::detail::CyclicOpSCCStorage = typedef llvm::SmallVector<mlir::Operation *, 4>

Backing storage for a cyclic SCC (implementation detail).

Definition at line 147 of file SparseOpSCC.h.

◆ OpOrIndex

using circt::detail::OpOrIndex = typedef llvm::PointerUnion<mlir::Operation *, OpSccEmbeddedIndex>

Definition at line 223 of file SparseOpSCC.h.

◆ OpSccEmbeddedIndex

using circt::detail::OpSccEmbeddedIndex = typedef llvm::PointerEmbeddedInt<unsigned, 31>

Definition at line 222 of file SparseOpSCC.h.

Function Documentation

◆ expandTruthTableToInputSpace()

llvm::APInt circt::detail::expandTruthTableToInputSpace ( const llvm::APInt &  tt,
ArrayRef< unsigned >  inputMapping,
unsigned  numExpandedInputs 
)

Expand a truth table to a larger input space using the given input mapping.

inputMapping[i] gives the destination input position for original input i.

Definition at line 259 of file TruthTable.cpp.