Home
last modified time | relevance | path

Searched refs:constFoldBinaryOp (Results 1 – 5 of 5) sorted by relevance

/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVCanonicalization.cpp166 auto adds = constFoldBinaryOp<IntegerAttr>( in matchAndRewrite()
172 auto carrys = constFoldBinaryOp<IntegerAttr>( in matchAndRewrite()
244 auto lowBits = constFoldBinaryOp<IntegerAttr>( in matchAndRewrite()
251 auto highBits = constFoldBinaryOp<IntegerAttr>( in matchAndRewrite()
445 return constFoldBinaryOp<IntegerAttr>( in fold()
467 return constFoldBinaryOp<IntegerAttr>( in fold()
486 return constFoldBinaryOp<IntegerAttr>( in fold()
509 auto res = constFoldBinaryOp<IntegerAttr>( in fold()
540 auto res = constFoldBinaryOp<IntegerAttr>( in fold()
578 auto res = constFoldBinaryOp<IntegerAttr>( in fold()
[all …]
/llvm-project/mlir/lib/Dialect/Arith/IR/
H A DArithOps.cpp321 return constFoldBinaryOp<IntegerAttr>( in fold()
364 // Let the `constFoldBinaryOp` utility attempt to fold the sum of both in fold()
367 if (Attribute sumAttr = constFoldBinaryOp<IntegerAttr>( in fold()
370 Attribute overflowAttr = constFoldBinaryOp<IntegerAttr>( in fold()
415 return constFoldBinaryOp<IntegerAttr>(
441 return constFoldBinaryOp<IntegerAttr>(
501 if (Attribute lowAttr = constFoldBinaryOp<IntegerAttr>( in fold()
505 Attribute highAttr = constFoldBinaryOp<IntegerAttr>( in fold()
556 if (Attribute lowAttr = constFoldBinaryOp<IntegerAttr>( in fold()
560 Attribute highAttr = constFoldBinaryOp<IntegerAtt in fold()
[all...]
/llvm-project/mlir/include/mlir/Dialect/
H A DCommonFolders.h165 Attribute constFoldBinaryOp(ArrayRef<Attribute> operands, Type resultType, in constFoldBinaryOp() function
179 Attribute constFoldBinaryOp(ArrayRef<Attribute> operands, in constFoldBinaryOp() function
/llvm-project/mlir/lib/Dialect/Math/IR/
H A DMathOps.cpp193 return constFoldBinaryOp<FloatAttr>(adaptor.getOperands(), in fold()
/llvm-project/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp421 return constFoldBinaryOp<IntegerAttr>( in fold()