picceler
Loading...
Searching...
No Matches
picceler::PrintToCalls Struct Reference
Inheritance diagram for picceler::PrintToCalls:

Public Member Functions

mlir::LogicalResult matchAndRewrite (PrintOp op, PrintOpAdaptor adaptor, mlir::ConversionPatternRewriter &rewriter) const override
void callFormatStringLiteral (mlir::ConversionPatternRewriter &rewriter, mlir::Location loc, const std::string &str) const
void callFormatString (mlir::ConversionPatternRewriter &rewriter, mlir::Location loc, mlir::TypedValue< StringType > value) const
void callFormatFloat64 (mlir::ConversionPatternRewriter &rewriter, mlir::Location loc, mlir::TypedValue< mlir::Float64Type > value) const
std::vector< std::string > splitFormatString (const std::string &fmt) const

Member Function Documentation

◆ callFormatFloat64()

void picceler::PrintToCalls::callFormatFloat64 ( mlir::ConversionPatternRewriter & rewriter,
mlir::Location loc,
mlir::TypedValue< mlir::Float64Type > value ) const
inline

◆ callFormatString()

void picceler::PrintToCalls::callFormatString ( mlir::ConversionPatternRewriter & rewriter,
mlir::Location loc,
mlir::TypedValue< StringType > value ) const
inline

◆ callFormatStringLiteral()

void picceler::PrintToCalls::callFormatStringLiteral ( mlir::ConversionPatternRewriter & rewriter,
mlir::Location loc,
const std::string & str ) const
inline

◆ matchAndRewrite()

mlir::LogicalResult picceler::PrintToCalls::matchAndRewrite ( PrintOp op,
PrintOpAdaptor adaptor,
mlir::ConversionPatternRewriter & rewriter ) const
inlineoverride

◆ splitFormatString()

std::vector< std::string > picceler::PrintToCalls::splitFormatString ( const std::string & fmt) const
inline

The documentation for this struct was generated from the following file: