Go to the source code of this file.
|
| namespace | mlir |
| | Include the generated interface declarations.
|
| namespace | mlir::spirv |
|
| template<typename EnumAttrClass, typename EnumClass> |
| static ParseResult | mlir::spirv::parseControlAttribute (OpAsmParser &parser, OperationState &state, StringRef attrName=spirv::attributeName< EnumClass >()) |
| | Parses Function, Selection and Loop control attributes.
|
| static bool | mlir::spirv::isConcreteType (Type type, spirv::ModuleOp moduleOp) |
| | Returns true if type is a numerical scalar, physical pointer, vector, matrix, or an aggregate recursively containing only such types.
|
| template<typename LifetimeOpTy> |
| static LogicalResult | mlir::spirv::verifyLifetimeOp (LifetimeOpTy op) |
| static bool | mlir::spirv::hasOneBranchOpTo (Block &srcBlock, Block &dstBlock) |
| | Returns true if the given srcBlock contains only one spirv.Branch to the given dstBlock.
|
| static bool | mlir::spirv::isMergeBlock (Block &block) |
| | Returns true if the given block only contains one spirv.mlir.merge op.
|
| static bool | mlir::spirv::hasOtherMerge (Region ®ion) |
| | Returns true if a spirv.mlir.merge op outside the merge block.
|
| static bool | mlir::spirv::returnTypesMatch (Region ®ion, Operation *op) |
| | Returns true if types yielded by spirv.mlir.merge in the region match those returned by the op.
|