Lines Matching refs:create
39 return builder.create<spirv::ConstantOp>(loc, type, in getScalarOrVectorI32Constant()
43 return builder.create<spirv::ConstantOp>(loc, type, in getScalarOrVectorI32Constant()
83 Value signMask = rewriter.create<spirv::ConstantOp>( in matchAndRewrite()
85 Value valueMask = rewriter.create<spirv::ConstantOp>( in matchAndRewrite()
95 rewriter.create<spirv::CompositeConstructOp>(loc, intType, signSplat); in matchAndRewrite()
98 valueMask = rewriter.create<spirv::CompositeConstructOp>(loc, intType, in matchAndRewrite()
103 rewriter.create<spirv::BitcastOp>(loc, intType, adaptor.getLhs()); in matchAndRewrite()
105 rewriter.create<spirv::BitcastOp>(loc, intType, adaptor.getRhs()); in matchAndRewrite()
107 Value value = rewriter.create<spirv::BitwiseAndOp>( in matchAndRewrite()
109 Value sign = rewriter.create<spirv::BitwiseAndOp>( in matchAndRewrite()
112 Value result = rewriter.create<spirv::BitwiseOrOp>(loc, intType, in matchAndRewrite()
150 Value msb = rewriter.create<spirv::GLFindUMsbOp>(loc, input); in matchAndRewrite()
155 Value subMsb = rewriter.create<spirv::ISubOp>(loc, val31, msb); in matchAndRewrite()
160 Value subInput = rewriter.create<spirv::ISubOp>(loc, val32, input); in matchAndRewrite()
161 Value cmp = rewriter.create<spirv::ULessThanEqualOp>(loc, input, val1); in matchAndRewrite()
182 auto exp = rewriter.create<ExpOp>(loc, type, adaptor.getOperand()); in matchAndRewrite()
205 rewriter.create<spirv::FAddOp>(loc, one, adaptor.getOperand()); 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()
231 Value negate = rewriter.create<spirv::FNegateOp>(loc, pow); in matchAndRewrite()
253 half = rewriter.create<spirv::ConstantOp>( in matchAndRewrite()
258 half = rewriter.create<spirv::ConstantOp>( in matchAndRewrite()
262 auto abs = rewriter.create<spirv::GLFAbsOp>(loc, operand); in matchAndRewrite()
263 auto floor = rewriter.create<spirv::GLFloorOp>(loc, abs); in matchAndRewrite()
264 auto sub = rewriter.create<spirv::FSubOp>(loc, abs, floor); in matchAndRewrite()
266 rewriter.create<spirv::FOrdGreaterThanEqualOp>(loc, sub, half); in matchAndRewrite()
267 auto select = rewriter.create<spirv::SelectOp>(loc, greater, one, zero); in matchAndRewrite()
268 auto add = rewriter.create<spirv::FAddOp>(loc, floor, select); in matchAndRewrite()