MLIR 22.0.0git
ArithToAMDGPU.h File Reference
#include "mlir/Dialect/AMDGPU/Utils/Chipset.h"
#include "mlir/IR/PatternMatch.h"
#include <memory>
#include <string>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::ArithToAMDGPUConversionPassOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::arith

Macros

#define GEN_PASS_DECL_ARITHTOAMDGPUCONVERSIONPASS

Functions

std::unique_ptr<::mlir::Passmlir::createArithToAMDGPUConversionPass ()
std::unique_ptr<::mlir::Passmlir::createArithToAMDGPUConversionPass (ArithToAMDGPUConversionPassOptions options)
void mlir::arith::populateArithToAMDGPUConversionPatterns (RewritePatternSet &patterns, bool convertFP8Arithmetic, bool saturateFP8Truncf, bool allowPackedF16Rtz, bool supportsScaledExtTrunc, amdgpu::Chipset chipset, PatternBenefit benefit=1)
 Add patterns for rewriting arith.extf and arith.truncf on FP8 types to wrappers around AMDGPU–specific intrinsics.

Macro Definition Documentation

◆ GEN_PASS_DECL_ARITHTOAMDGPUCONVERSIONPASS

#define GEN_PASS_DECL_ARITHTOAMDGPUCONVERSIONPASS

Definition at line 22 of file ArithToAMDGPU.h.