|
| static std::optional< int64_t > | getConstantSplatValue (Value val) |
| static std::optional< Value > | getShiftValue (Value rhs, ConversionPatternRewriter &rewriter, Location loc) |
◆ ShiftClampTruncToSRSPattern()
| ShiftClampTruncToSRSPattern::ShiftClampTruncToSRSPattern |
( |
MLIRContext * | context, |
|
|
PatternBenefit | benefit = 2 ) |
|
inline |
◆ getConstantSplatValue()
| std::optional< int64_t > ShiftClampTruncToSRSPattern::getConstantSplatValue |
( |
Value | val | ) |
|
|
inlinestatic |
◆ getShiftValue()
| std::optional< Value > ShiftClampTruncToSRSPattern::getShiftValue |
( |
Value | rhs, |
|
|
ConversionPatternRewriter & | rewriter, |
|
|
Location | loc ) |
|
inlinestatic |
◆ matchAndRewrite()
| LogicalResult ShiftClampTruncToSRSPattern::matchAndRewrite |
( |
arith::TruncIOp | truncOp, |
|
|
OpAdaptor | adaptor, |
|
|
ConversionPatternRewriter & | rewriter ) const |
|
inlineoverride |
The documentation for this struct was generated from the following file: