CIRCT  20.0.0git
Functions
circt::firrtl::impl Namespace Reference

Functions

LogicalResult verifySameOperandsIntTypeKind (Operation *op)
 
LogicalResult inferReturnTypes (MLIRContext *context, std::optional< Location > loc, ValueRange operands, DictionaryAttr attrs, mlir::OpaqueProperties properties, mlir::RegionRange regions, SmallVectorImpl< Type > &results, llvm::function_ref< FIRRTLType(ValueRange, ArrayRef< NamedAttribute >, std::optional< Location >)> callback)
 
FIRRTLType inferAddSubResult (FIRRTLType lhs, FIRRTLType rhs, std::optional< Location > loc)
 
FIRRTLType inferBitwiseResult (FIRRTLType lhs, FIRRTLType rhs, std::optional< Location > loc)
 
FIRRTLType inferElementwiseResult (FIRRTLType lhs, FIRRTLType rhs, std::optional< Location > loc)
 
FIRRTLType inferComparisonResult (FIRRTLType lhs, FIRRTLType rhs, std::optional< Location > loc)
 
FIRRTLType inferReductionResult (FIRRTLType arg, std::optional< Location > loc)
 
LogicalResult validateBinaryOpArguments (ValueRange operands, ArrayRef< NamedAttribute > attrs, Location loc)
 
LogicalResult validateUnaryOpArguments (ValueRange operands, ArrayRef< NamedAttribute > attrs, Location loc)
 
LogicalResult validateOneOperandOneConst (ValueRange operands, ArrayRef< NamedAttribute > attrs, Location loc)
 

Function Documentation

◆ inferAddSubResult()

FIRRTLType circt::firrtl::impl::inferAddSubResult ( FIRRTLType  lhs,
FIRRTLType  rhs,
std::optional< Location >  loc 
)

◆ inferBitwiseResult()

FIRRTLType circt::firrtl::impl::inferBitwiseResult ( FIRRTLType  lhs,
FIRRTLType  rhs,
std::optional< Location >  loc 
)

◆ inferComparisonResult()

FIRRTLType circt::firrtl::impl::inferComparisonResult ( FIRRTLType  lhs,
FIRRTLType  rhs,
std::optional< Location >  loc 
)

◆ inferElementwiseResult()

FIRRTLType circt::firrtl::impl::inferElementwiseResult ( FIRRTLType  lhs,
FIRRTLType  rhs,
std::optional< Location >  loc 
)

◆ inferReductionResult()

FIRRTLType circt::firrtl::impl::inferReductionResult ( FIRRTLType  arg,
std::optional< Location >  loc 
)

◆ inferReturnTypes()

LogicalResult circt::firrtl::impl::inferReturnTypes ( MLIRContext *  context,
std::optional< Location >  loc,
ValueRange  operands,
DictionaryAttr  attrs,
mlir::OpaqueProperties  properties,
mlir::RegionRange  regions,
SmallVectorImpl< Type > &  results,
llvm::function_ref< FIRRTLType(ValueRange, ArrayRef< NamedAttribute >, std::optional< Location >)>  callback 
)

Referenced by parseSubfieldLikeOp().

◆ validateBinaryOpArguments()

LogicalResult circt::firrtl::impl::validateBinaryOpArguments ( ValueRange  operands,
ArrayRef< NamedAttribute >  attrs,
Location  loc 
)

◆ validateOneOperandOneConst()

LogicalResult circt::firrtl::impl::validateOneOperandOneConst ( ValueRange  operands,
ArrayRef< NamedAttribute >  attrs,
Location  loc 
)

◆ validateUnaryOpArguments()

LogicalResult circt::firrtl::impl::validateUnaryOpArguments ( ValueRange  operands,
ArrayRef< NamedAttribute >  attrs,
Location  loc 
)

◆ verifySameOperandsIntTypeKind()

LogicalResult circt::firrtl::impl::verifySameOperandsIntTypeKind ( Operation *  op)