Go to the source code of this file.
|
| namespace | mlir |
| | Include the generated interface declarations.
|
| namespace | mlir::spirv |
|
| bool | mlir::spirv::isNestedInFunctionOpInterface (Operation *op) |
| | Returns true if the given op is a function-like op or nested in a function-like op without a module-like op in the middle.
|
| bool | mlir::spirv::isNestedInGraphARMOpInterface (Operation *op) |
| | Returns true if the given op is a GraphARM op or nested in a GraphARM op without a module-like op in the middle.
|
| bool | mlir::spirv::isDirectInModuleLikeOp (Operation *op) |
| | Returns true if the given op is an module-like op that maintains a symbol table.
|
| Type | mlir::spirv::getMatchingBoolType (Type operandType) |
| | Returns a boolean scalar or vector type matching the shape of the given type.
|
| ParseResult | mlir::spirv::parseImageOperands (OpAsmParser &parser, spirv::ImageOperandsAttr &attr) |
| void | mlir::spirv::printImageOperands (OpAsmPrinter &printer, Operation *imageOp, spirv::ImageOperandsAttr attr) |
| ParseResult | mlir::spirv::parseSwitchOpCases (OpAsmParser &parser, Type &selectorType, Block *&defaultTarget, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &defaultOperands, SmallVectorImpl< Type > &defaultOperandTypes, DenseIntElementsAttr &literals, SmallVectorImpl< Block * > &targets, SmallVectorImpl< SmallVector< OpAsmParser::UnresolvedOperand > > &targetOperands, SmallVectorImpl< SmallVector< Type > > &targetOperandTypes) |
| | Adapted from the cf.switch implementation.
|
| void | mlir::spirv::printSwitchOpCases (OpAsmPrinter &p, SwitchOp op, Type selectorType, Block *defaultTarget, OperandRange defaultOperands, TypeRange defaultOperandTypes, DenseIntElementsAttr literals, SuccessorRange targets, OperandRangeRange targetOperands, const TypeRangeRange &targetOperandTypes) |