Lines Matching refs:adaptor
63 matchAndRewrite(math::CopySignOp copySignOp, OpAdaptor adaptor, in matchAndRewrite() argument
103 rewriter.create<spirv::BitcastOp>(loc, intType, adaptor.getLhs()); in matchAndRewrite()
105 rewriter.create<spirv::BitcastOp>(loc, intType, adaptor.getRhs()); in matchAndRewrite()
129 matchAndRewrite(math::CountLeadingZerosOp countOp, OpAdaptor adaptor, in matchAndRewrite() argument
145 Value input = adaptor.getOperand(); in matchAndRewrite()
177 matchAndRewrite(math::ExpM1Op operation, OpAdaptor adaptor, in matchAndRewrite()
179 assert(adaptor.getOperands().size() == 1); in matchAndRewrite()
182 auto exp = rewriter.create<ExpOp>(loc, type, adaptor.getOperand()); in matchAndRewrite()
198 matchAndRewrite(math::Log1pOp operation, OpAdaptor adaptor, in matchAndRewrite()
200 assert(adaptor.getOperands().size() == 1); in matchAndRewrite()
205 rewriter.create<spirv::FAddOp>(loc, one, adaptor.getOperand()); in matchAndRewrite()
216 matchAndRewrite(math::PowFOp powfOp, OpAdaptor adaptor, in matchAndRewrite()
226 spirv::ConstantOp::getZero(adaptor.getLhs().getType(), loc, rewriter); in matchAndRewrite()
228 rewriter.create<spirv::FOrdLessThanOp>(loc, adaptor.getLhs(), zero); in matchAndRewrite()
229 Value abs = rewriter.create<spirv::GLFAbsOp>(loc, adaptor.getLhs()); in matchAndRewrite()
230 Value pow = rewriter.create<spirv::GLPowOp>(loc, abs, adaptor.getRhs()); in matchAndRewrite()
242 matchAndRewrite(math::RoundOp roundOp, OpAdaptor adaptor, in matchAndRewrite()