MLIR 22.0.0git
SPIRVOpUtils.h File Reference

Go to the source code of this file.

Namespaces

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

Functions

unsigned mlir::spirv::getBitWidth (Type type)
 Returns the bit width of the type.
void mlir::spirv::printVariableDecorations (Operation *op, OpAsmPrinter &printer, SmallVectorImpl< StringRef > &elidedAttrs)
LogicalResult mlir::spirv::extractValueFromConstOp (Operation *op, int32_t &value)
LogicalResult mlir::spirv::verifyMemorySemantics (Operation *op, spirv::MemorySemantics memorySemantics)