Home
last modified time | relevance | path

Searched refs:castStatus (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/
H A DCommonFolders.h169 bool castStatus = true; in constFoldCastOp() local
170 auto res = calculate(op.getValue(), castStatus); in constFoldCastOp()
171 if (!castStatus) in constFoldCastOp()
179 bool castStatus = true; in constFoldCastOp() local
181 calculate(op.getSplatValue<ElementValueT>(), castStatus); in constFoldCastOp()
182 if (!castStatus) in constFoldCastOp()
190 bool castStatus = true; in constFoldCastOp() local
195 auto elt = calculate(*opIt, castStatus); in constFoldCastOp()
196 if (!castStatus) in constFoldCastOp()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp886 operands, getType(), [bitWidth](const APInt &a, bool &castStatus) { in fold() argument
915 operands, getType(), [bitWidth](const APInt &a, bool &castStatus) { in fold() argument
970 operands, getType(), [bitWidth](const APInt &a, bool &castStatus) { in fold() argument
1065 operands, getType(), [&resEleType](const APInt &a, bool &castStatus) { in fold() argument
1091 operands, getType(), [&resEleType](const APInt &a, bool &castStatus) { in fold() argument
1116 operands, getType(), [&resEleType](const APFloat &a, bool &castStatus) { in fold() argument
1120 castStatus = APFloat::opInvalidOp != in fold()
1142 operands, getType(), [&resEleType](const APFloat &a, bool &castStatus) { in fold() argument
1146 castStatus = APFloat::opInvalidOp != in fold()