MLIR 23.0.0git
MathToXeVM.cpp File Reference

Go to the source code of this file.

Classes

class  mlir::impl::ConvertMathToXeVMBase< DerivedT >
struct  ConvertNativeFuncPattern< Op >
 Convert math ops marked with fast (afn) to native OpenCL intrinsics. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::impl
 Attribute collections provide a dictionary-like interface.

Macros

#define GEN_PASS_DEF_CONVERTMATHTOXEVM
#define DEBUG_TYPE   "math-to-xevm"

Functions

std::unique_ptr<::mlir::Passmlir::impl::createConvertMathToXeVM ()
std::unique_ptr<::mlir::Passmlir::impl::createConvertMathToXeVM (ConvertMathToXeVMOptions options)
std::unique_ptr<::mlir::Passmlir::createConvertMathToXeVM ()
std::unique_ptr<::mlir::Passmlir::createConvertMathToXeVM (ConvertMathToXeVMOptions options)
template<typename OpTy>
static void populateOCLExtSetOpPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, PatternBenefit benefit, StringRef opName)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "math-to-xevm"

Definition at line 29 of file MathToXeVM.cpp.

◆ GEN_PASS_DEF_CONVERTMATHTOXEVM

#define GEN_PASS_DEF_CONVERTMATHTOXEVM

Definition at line 23 of file MathToXeVM.cpp.

Function Documentation

◆ populateOCLExtSetOpPatterns()

template<typename OpTy>
void populateOCLExtSetOpPatterns ( const LLVMTypeConverter & converter,
RewritePatternSet & patterns,
PatternBenefit benefit,
StringRef opName )
static