Files
gps/tools/local/circt/include/mlir/Dialect/Arith/IR/ArithOpsInterfaces.cpp.inc
T
2026-07-12 11:01:51 +03:00

68 lines
2.9 KiB
C++

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Interface Definitions *|
|* *|
|* Automatically generated file, do not edit! *|
|* *|
\*===----------------------------------------------------------------------===*/
/// Returns a FastMathFlagsAttr attribute for the operation
FastMathFlagsAttr mlir::arith::ArithFastMathInterface::getFastMathFlagsAttr() {
return getImpl()->getFastMathFlagsAttr(getImpl(), getOperation());
}
/// Returns the name of the FastMathFlagsAttr attribute
/// for the operation
StringRef mlir::arith::ArithFastMathInterface::getFastMathAttrName() {
return getImpl()->getFastMathAttrName();
}
/// Returns an IntegerOverflowFlagsAttr attribute for the operation
IntegerOverflowFlagsAttr mlir::arith::ArithIntegerOverflowFlagsInterface::getOverflowAttr() {
return getImpl()->getOverflowAttr(getImpl(), getOperation());
}
/// Returns whether the operation has the No Unsigned Wrap keyword
bool mlir::arith::ArithIntegerOverflowFlagsInterface::hasNoUnsignedWrap() {
return getImpl()->hasNoUnsignedWrap(getImpl(), getOperation());
}
/// Returns whether the operation has the No Signed Wrap keyword
bool mlir::arith::ArithIntegerOverflowFlagsInterface::hasNoSignedWrap() {
return getImpl()->hasNoSignedWrap(getImpl(), getOperation());
}
/// Returns the name of the IntegerOverflowFlagsAttr attribute
/// for the operation
StringRef mlir::arith::ArithIntegerOverflowFlagsInterface::getIntegerOverflowAttrName() {
return getImpl()->getIntegerOverflowAttrName();
}
/// Returns whether the operation has the nneg flag set
bool mlir::arith::ArithNonNegFlagInterface::getNonNeg() {
return getImpl()->getNonNeg(getImpl(), getOperation());
}
/// Set the nneg flag for the operation
void mlir::arith::ArithNonNegFlagInterface::setNonNeg(bool nonNeg) {
return getImpl()->setNonNeg(getImpl(), getOperation(), nonNeg);
}
/// Returns the name of the NonNeg flag attribute for
/// the operation
StringRef mlir::arith::ArithNonNegFlagInterface::getNonNegFlagAttrName() {
return getImpl()->getNonNegFlagAttrName();
}
/// Returns a RoundingModeAttr attribute for the operation
RoundingModeAttr mlir::arith::ArithRoundingModeInterface::getRoundingModeAttr() {
return getImpl()->getRoundingModeAttr(getImpl(), getOperation());
}
/// Returns the name of the RoundingModeAttr attribute for
/// the operation
StringRef mlir::arith::ArithRoundingModeInterface::getRoundingModeAttrName() {
return getImpl()->getRoundingModeAttrName();
}