20 return op->
emitError(
"expected single region op");
22 return op->
emitError(
"expected single block op region");
27 #include "mlir/Interfaces/ParallelCombiningOpInterface.cpp.inc"
Operation is the basic unit of execution within MLIR.
unsigned getNumRegions()
Returns the number of regions held by this operation.
InFlightDiagnostic emitError(const Twine &message={})
Emit an error about fatal conditions with this operation, reporting up to any diagnostic handlers tha...
Region & getRegion(unsigned index)
Returns the region held by this operation at position 'index'.
bool hasOneBlock()
Return true if this region has exactly one block.
LogicalResult verifyParallelCombiningOpInterface(Operation *op)
Include the generated interface declarations.