MLIR 22.0.0git
SPIRVWebGPUTransforms.cpp File Reference
#include "mlir/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "mlir/Dialect/SPIRV/Transforms/Passes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/FormatVariadic.h"
#include <array>
#include <cstdint>
#include "mlir/Dialect/SPIRV/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_SPIRVWEBGPUPREPAREPASS

Functions

void mlir::spirv::populateSPIRVExpandExtendedMultiplicationPatterns (RewritePatternSet &patterns)
 Appends patterns to expand extended multiplication and adition ops into regular arithmetic ops.
void mlir::spirv::populateSPIRVExpandNonFiniteArithmeticPatterns (RewritePatternSet &patterns)
 Appends patterns to expand non-finite arithmetic ops IsNan and IsInf.

Macro Definition Documentation

◆ GEN_PASS_DEF_SPIRVWEBGPUPREPAREPASS

#define GEN_PASS_DEF_SPIRVWEBGPUPREPAREPASS

Definition at line 30 of file SPIRVWebGPUTransforms.cpp.