14#ifndef MLIR_INTERFACES_CASTINTERFACES_H
15#define MLIR_INTERFACES_CASTINTERFACES_H
25 ArrayRef<Attribute> attrOperands,
26 SmallVectorImpl<OpFoldResult> &foldResults);
38#include "mlir/Interfaces/CastInterfaces.h.inc"
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerCastOpInterfaceExternalModels(DialectRegistry ®istry)
Attribute collections provide a dictionary-like interface.
LogicalResult foldCastInterfaceOp(Operation *op, ArrayRef< Attribute > attrOperands, SmallVectorImpl< OpFoldResult > &foldResults)
Attempt to fold the given cast operation.
LogicalResult verifyCastInterfaceOp(Operation *op)
Attempt to verify the given cast operation.
Include the generated interface declarations.