MLIR  18.0.0git
Static Public Member Functions | List of all members
mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T > Struct Template Reference

This struct provides a simplified model for processing types that have "builtin" PDLValue support: More...

#include "mlir/IR/PatternMatch.h"

+ Inheritance diagram for mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T >:

Static Public Member Functions

static LogicalResult verifyAsArg (function_ref< LogicalResult(const Twine &)> errorFn, PDLValue pdlValue, size_t argIdx)
 
static T processAsArg (PDLValue pdlValue)
 
static void processAsResult (PatternRewriter &, PDLResultList &results, T value)
 

Detailed Description

template<typename T>
struct mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T >

This struct provides a simplified model for processing types that have "builtin" PDLValue support:

Definition at line 1150 of file PatternMatch.h.

Member Function Documentation

◆ processAsArg()

template<typename T >
static T mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T >::processAsArg ( PDLValue  pdlValue)
inlinestatic

Definition at line 1160 of file PatternMatch.h.

References mlir::PDLValue::cast().

◆ processAsResult()

template<typename T >
static void mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T >::processAsResult ( PatternRewriter ,
PDLResultList results,
value 
)
inlinestatic

Definition at line 1161 of file PatternMatch.h.

References mlir::PDLResultList::push_back().

◆ verifyAsArg()

template<typename T >
static LogicalResult mlir::detail::pdl_function_builder::ProcessBuiltinPDLValue< T >::verifyAsArg ( function_ref< LogicalResult(const Twine &)>  errorFn,
PDLValue  pdlValue,
size_t  argIdx 
)
inlinestatic

Definition at line 1152 of file PatternMatch.h.

References mlir::success().


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