#include "mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Interfaces/ValueBoundsOpInterface.h"
usingnamespacemlir;
namespace mlir {
namespace arith {
namespace {
struct AddIOpInterface
: public ValueBoundsOpInterface::ExternalModel<AddIOpInterface, AddIOp> { … };
struct ConstantOpInterface
: public ValueBoundsOpInterface::ExternalModel<ConstantOpInterface,
ConstantOp> { … };
struct SubIOpInterface
: public ValueBoundsOpInterface::ExternalModel<SubIOpInterface, SubIOp> { … };
struct MulIOpInterface
: public ValueBoundsOpInterface::ExternalModel<MulIOpInterface, MulIOp> { … };
struct SelectOpInterface
: public ValueBoundsOpInterface::ExternalModel<SelectOpInterface,
SelectOp> { … };
}
}
}
void mlir::arith::registerValueBoundsOpInterfaceExternalModels(
DialectRegistry ®istry) { … }