Lines Matching full:context

43   MLIRContext context;
44 IntegerType boolTy = IntegerType::get(&context, 1);
65 MLIRContext context;
66 IntegerType boolTy = IntegerType::get(&context, 1);
80 MLIRContext context;
81 Builder builder(&context);
96 MLIRContext context;
97 IntegerType boolTy = IntegerType::get(&context, 1);
119 MLIRContext context;
120 IntegerType boolTy = IntegerType::get(&context, 1);
131 MLIRContext context;
133 IntegerType intTy = IntegerType::get(&context, intWidth);
140 MLIRContext context;
141 IntegerType intTy = IntegerType::get(&context, 32);
148 MLIRContext context;
149 IntegerType intTy = IntegerType::get(&context, 85);
156 MLIRContext context;
157 FloatType floatTy = Float32Type::get(&context);
164 MLIRContext context;
165 FloatType floatTy = Float64Type::get(&context);
172 MLIRContext context;
173 FloatType floatTy = Float32Type::get(&context);
180 MLIRContext context;
181 FloatType floatTy = BFloat16Type::get(&context);
188 MLIRContext context;
189 context.allowUnregisteredDialects();
191 OpaqueType::get(StringAttr::get(&context, "test"), "string");
197 MLIRContext context;
198 context.allowUnregisteredDialects();
200 OpaqueType::get(StringAttr::get(&context, "test"), "string");
206 MLIRContext context;
207 ComplexType complexType = ComplexType::get(Float32Type::get(&context));
213 MLIRContext context;
214 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64));
220 MLIRContext context;
221 ComplexType complexType = ComplexType::get(Float32Type::get(&context));
227 MLIRContext context;
228 ComplexType complexType = ComplexType::get(IntegerType::get(&context, 64));
234 MLIRContext context;
236 IntegerType intTy = IntegerType::get(&context, 32);
245 MLIRContext context;
247 IntegerType boolTy = IntegerType::get(&context, 1);
248 IntegerType intTy = IntegerType::get(&context, 32);
262 MLIRContext context;
264 IntegerType boolTy = IntegerType::get(&context, 1);
265 IntegerType intTy = IntegerType::get(&context, 32);
308 MLIRContext context;
309 Builder builder(&context);
314 &context, llvm::ArrayRef(boolData), builder.getI1Type());
331 &context, llvm::ArrayRef(floatData), builder.getF32Type());
336 &context, llvm::ArrayRef(doubleData), builder.getF64Type());
340 MLIRContext context;
341 Builder builder(&context);
355 MLIRContext context;
356 Builder builder(&context);
370 MLIRContext context;
371 Builder builder(&context);
386 MLIRContext context;
387 Builder builder(&context);
408 MLIRContext context;
409 context.allowUnregisteredDialects();
411 IntegerType intTy = IntegerType::get(&context, 32);
412 FloatType floatTy = Float32Type::get(&context);
413 Type stringTy = OpaqueType::get(StringAttr::get(&context, "test"), "string");
420 RankedTensorType::get({1, 2}, IntegerType::get(&context, 64));
461 MLIRContext context;
462 Builder builder(&context);
482 MLIRContext context;
483 context.loadDialect<test::TestDialect>();
487 test::TestCopyCountAttr::get(&context, std::move(copyCount));
490 test::TestCopyCountAttr::get(&context, std::move(copyCount));
503 MLIRContext context;
504 context.loadDialect<test::TestDialect>();
509 Attribute res = test::TestCopyCountAttr::get(&context, std::move(copyCount));