Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp374 APFloat max_apf = op->getAttr("max_fp").cast<FloatAttr>().getValue(); in createLinalgBodyCalculationForElementwiseOp() local
377 max_apf.convert(elementTy.cast<FloatType>().getFloatSemantics(), in createLinalgBodyCalculationForElementwiseOp()
382 loc, elementTy, rewriter.getFloatAttr(elementTy, max_apf)); in createLinalgBodyCalculationForElementwiseOp()
421 APFloat max_apf = op->getAttr("max_fp").cast<FloatAttr>().getValue(); in createLinalgBodyCalculationForElementwiseOp() local
422 max_apf.convert(elementTy.cast<FloatType>().getFloatSemantics(), in createLinalgBodyCalculationForElementwiseOp()
425 loc, elementTy, rewriter.getFloatAttr(elementTy, max_apf)); in createLinalgBodyCalculationForElementwiseOp()