CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::detail Namespace Reference

Classes

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

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 = 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 = llvm::PointerUnion<mlir::Operation *, OpSccEmbeddedIndex>

Definition at line 223 of file SparseOpSCC.h.

◆ OpSccEmbeddedIndex

using circt::detail::OpSccEmbeddedIndex = 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.