|
KnownBits | circt::comb::computeKnownBits (Value value) |
| Compute "known bits" information about the specified value - the set of bits that are guaranteed to always be zero, and the set of bits that are guaranteed to always be one (these must be exclusive!).
|
|
Value | circt::comb::createZExt (OpBuilder &builder, Location loc, Value value, unsigned targetWidth) |
| Create the ops to zero-extend a value to an integer of equal or larger type.
|
|
Value | circt::comb::createOrFoldSExt (Location loc, Value value, Type destTy, OpBuilder &builder) |
| Create a sign extension operation from a value of integer type to an equal or larger integer type.
|
|
Value | circt::comb::createOrFoldSExt (Value value, Type destTy, ImplicitLocOpBuilder &builder) |
|
Value | circt::comb::createOrFoldNot (Location loc, Value value, OpBuilder &builder, bool twoState=false) |
| Create a `‘Not’' gate on a value.
|
|
Value | circt::comb::createOrFoldNot (Value value, ImplicitLocOpBuilder &builder, bool twoState=false) |
|
void | circt::comb::extractBits (OpBuilder &builder, Value val, SmallVectorImpl< Value > &bits) |
| Extract bits from a value.
|
|
Value | circt::comb::constructMuxTree (OpBuilder &builder, Location loc, ArrayRef< Value > selectors, ArrayRef< Value > leafNodes, Value outOfBoundsValue) |
| Construct a mux tree for given leaf nodes.
|
|
Value | circt::comb::createDynamicExtract (OpBuilder &builder, Location loc, Value value, Value offset, unsigned width) |
| Extract a range of bits from an integer at a dynamic offset.
|
|
Value | circt::comb::createDynamicInject (OpBuilder &builder, Location loc, Value value, Value offset, Value replacement, bool twoState=false) |
| Replace a range of bits in an integer at a dynamic offset, and return the updated integer value.
|
|
Value | circt::comb::createInject (OpBuilder &builder, Location loc, Value value, unsigned offset, Value replacement) |
| Replace a range of bits in an integer and return the updated integer value.
|
|