19 return op->
emitError(
"expected single op result");
21 return op->
emitError(
"expect index result type");
26 #include "mlir/Interfaces/ShapedOpInterfaces.cpp.inc"
Operation is the basic unit of execution within MLIR.
OpResult getResult(unsigned idx)
Get the 'idx'th result of this operation.
InFlightDiagnostic emitError(const Twine &message={})
Emit an error about fatal conditions with this operation, reporting up to any diagnostic handlers tha...
unsigned getNumResults()
Return the number of results held by this operation.
Type getType() const
Return the type of this value.
LogicalResult verifyShapedDimOpInterface(Operation *op)
Verify invariants of ops that implement the ShapedDimOpInterface.
Include the generated interface declarations.