MLIR 22.0.0git
Pattern.h File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVOpTraits.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/FormatVariadic.h"
#include <string>

Go to the source code of this file.

Classes

struct  mlir::spirv::ElementwiseOpPattern< Op, SPIRVOp >
 Converts elementwise unary, binary and ternary standard operations to SPIR-V operations. More...

Namespaces

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

Functions

std::string mlir::spirv::getDecorationString (spirv::Decoration decor)
 Converts a SPIR-V Decoration enum value to its snake_case string representation for use in MLIR attributes.