@@ -103,57 +103,62 @@ class ScopedModuleHelper {
103103 emitc::IncludeOp::create (
104104 *builder, loc, " api/compute/eltwise_unary/sfpu_split_includes.h" ,
105105 /* isStandard=*/ false );
106- builder->create <emitc::IncludeOp>(loc,
107- " api/compute/eltwise_unary/recip.h" ,
108- /* isStandard=*/ false );
109- builder->create <emitc::IncludeOp>(loc, " api/compute/eltwise_unary/fill.h" ,
110- /* isStandard=*/ false );
111- builder->create <emitc::IncludeOp>(loc,
112- " api/compute/eltwise_unary/negative.h" ,
113- /* isStandard=*/ false );
114- builder->create <emitc::IncludeOp>(loc, " api/compute/eltwise_unary/sqrt.h" ,
115- /* isStandard=*/ false );
116- builder->create <emitc::IncludeOp>(loc,
117- " api/compute/eltwise_unary/rounding.h" ,
118- /* isStandard=*/ false );
119- builder->create <emitc::IncludeOp>(
120- loc, " api/compute/eltwise_unary/trigonometry.h" ,
121- /* isStandard=*/ false );
122- builder->create <emitc::IncludeOp>(loc, " api/compute/eltwise_unary/gelu.h" ,
123- /* isStandard=*/ false );
124- builder->create <emitc::IncludeOp>(loc,
125- " api/compute/eltwise_unary/erf_erfc.h" ,
126- /* isStandard=*/ false );
127- builder->create <emitc::IncludeOp>(
128- loc, " api/compute/eltwise_unary/logical_not.h" ,
129- /* isStandard=*/ false );
130- builder->create <emitc::IncludeOp>(loc, " api/compute/eltwise_unary/comp.h" ,
131- /* isStandard=*/ false );
132- builder->create <emitc::IncludeOp>(loc,
133- " api/compute/eltwise_unary/rsqrt.h" ,
134- /* isStandard=*/ false );
135- builder->create <emitc::IncludeOp>(loc,
136- " api/compute/eltwise_unary/typecast.h" ,
137- /* isStandard=*/ false );
138- builder->create <emitc::IncludeOp>(loc,
139- " api/compute/binary_bitwise_sfpu.h" ,
140- /* isStandard=*/ false );
141- builder->create <emitc::IncludeOp>(
142- loc, " api/compute/eltwise_unary/bitwise_not.h" ,
143- /* isStandard=*/ false );
144- builder->create <emitc::IncludeOp>(loc, " api/compute/eltwise_unary/relu.h" ,
145- /* isStandard=*/ false );
146- builder->create <emitc::IncludeOp>(
147- loc, " api/compute/eltwise_unary/binop_with_scalar.h" ,
148- /* isStandard=*/ false );
149- builder->create <emitc::IncludeOp>(loc,
150- " api/compute/eltwise_unary/where.h" ,
151- /* isStandard=*/ false );
152- builder->create <emitc::IncludeOp>(loc,
153- " api/compute/eltwise_unary/clamp.h" ,
154- /* isStandard=*/ false );
155- builder->create <emitc::IncludeOp>(loc, " api/compute/pack_untilize.h" ,
156- /* isStandard=*/ false );
106+ emitc::IncludeOp::create (*builder, loc,
107+ " api/compute/eltwise_unary/recip.h" ,
108+ /* isStandard=*/ false );
109+ emitc::IncludeOp::create (*builder, loc,
110+ " api/compute/eltwise_unary/fill.h" ,
111+ /* isStandard=*/ false );
112+ emitc::IncludeOp::create (*builder, loc,
113+ " api/compute/eltwise_unary/negative.h" ,
114+ /* isStandard=*/ false );
115+ emitc::IncludeOp::create (*builder, loc,
116+ " api/compute/eltwise_unary/sqrt.h" ,
117+ /* isStandard=*/ false );
118+ emitc::IncludeOp::create (*builder, loc,
119+ " api/compute/eltwise_unary/rounding.h" ,
120+ /* isStandard=*/ false );
121+ emitc::IncludeOp::create (*builder, loc,
122+ " api/compute/eltwise_unary/trigonometry.h" ,
123+ /* isStandard=*/ false );
124+ emitc::IncludeOp::create (*builder, loc,
125+ " api/compute/eltwise_unary/gelu.h" ,
126+ /* isStandard=*/ false );
127+ emitc::IncludeOp::create (*builder, loc,
128+ " api/compute/eltwise_unary/erf_erfc.h" ,
129+ /* isStandard=*/ false );
130+ emitc::IncludeOp::create (*builder, loc,
131+ " api/compute/eltwise_unary/logical_not.h" ,
132+ /* isStandard=*/ false );
133+ emitc::IncludeOp::create (*builder, loc,
134+ " api/compute/eltwise_unary/comp.h" ,
135+ /* isStandard=*/ false );
136+ emitc::IncludeOp::create (*builder, loc,
137+ " api/compute/eltwise_unary/rsqrt.h" ,
138+ /* isStandard=*/ false );
139+ emitc::IncludeOp::create (*builder, loc,
140+ " api/compute/eltwise_unary/typecast.h" ,
141+ /* isStandard=*/ false );
142+ emitc::IncludeOp::create (*builder, loc,
143+ " api/compute/binary_bitwise_sfpu.h" ,
144+ /* isStandard=*/ false );
145+ emitc::IncludeOp::create (*builder, loc,
146+ " api/compute/eltwise_unary/bitwise_not.h" ,
147+ /* isStandard=*/ false );
148+ emitc::IncludeOp::create (*builder, loc,
149+ " api/compute/eltwise_unary/relu.h" ,
150+ /* isStandard=*/ false );
151+ emitc::IncludeOp::create (*builder, loc,
152+ " api/compute/eltwise_unary/binop_with_scalar.h" ,
153+ /* isStandard=*/ false );
154+ emitc::IncludeOp::create (*builder, loc,
155+ " api/compute/eltwise_unary/where.h" ,
156+ /* isStandard=*/ false );
157+ emitc::IncludeOp::create (*builder, loc,
158+ " api/compute/eltwise_unary/clamp.h" ,
159+ /* isStandard=*/ false );
160+ emitc::IncludeOp::create (*builder, loc, " api/compute/pack_untilize.h" ,
161+ /* isStandard=*/ false );
157162 // Helper for float-to-uint32 bit reinterpretation (used by scalar tile
158163 // ops).
159164 emitc::VerbatimOp::create (
@@ -261,7 +266,7 @@ void dprint(Arg &&arg, ArgV&&... argv) {
261266 auto experimentalPackUntilizeLLKs =
262267 StringRef (experimental_pack_untilize_llks_generated,
263268 experimental_pack_untilize_llks_generated_len);
264- builder-> create < emitc::VerbatimOp>( loc, experimentalPackUntilizeLLKs);
269+ emitc::VerbatimOp::create (*builder, loc, experimentalPackUntilizeLLKs);
265270 }
266271
267272 if (hasCall (" experimental::get_noc_multicast_addr" )) {
0 commit comments