Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/MathToSPIRV/
H A DMathToSPIRV.cpp63 matchAndRewrite(math::CopySignOp copySignOp, OpAdaptor adaptor, in matchAndRewrite() argument
65 auto type = getTypeConverter()->convertType(copySignOp.getType()); in matchAndRewrite()
70 if (auto scalarType = copySignOp.getType().dyn_cast<FloatType>()) { in matchAndRewrite()
72 } else if (auto vectorType = copySignOp.getType().dyn_cast<VectorType>()) { in matchAndRewrite()
78 Location loc = copySignOp.getLoc(); in matchAndRewrite()
88 if (auto vectorType = copySignOp.getType().dyn_cast<VectorType>()) { in matchAndRewrite()
114 rewriter.replaceOpWithNewOp<spirv::BitcastOp>(copySignOp, type, result); in matchAndRewrite()