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

Classes

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

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.
 

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 234 of file TruthTable.cpp.