Lines Matching defs:get
217 /// It is used by `AbstractType::lookup` to get an `AbstractType` from a name.
243 /// it. It is used by `AbstractType::lookup` to get an `AbstractType` from a
274 threadPool = ownedThreadPool.get();
309 impl->bf16Ty = TypeUniquer::get<BFloat16Type>(this);
310 impl->f16Ty = TypeUniquer::get<Float16Type>(this);
311 impl->tf32Ty = TypeUniquer::get<FloatTF32Type>(this);
312 impl->f32Ty = TypeUniquer::get<Float32Type>(this);
313 impl->f64Ty = TypeUniquer::get<Float64Type>(this);
314 impl->f80Ty = TypeUniquer::get<Float80Type>(this);
315 impl->f128Ty = TypeUniquer::get<Float128Type>(this);
317 impl->indexTy = TypeUniquer::get<IndexType>(this);
319 impl->int1Ty = TypeUniquer::get<IntegerType>(this, 1, IntegerType::Signless);
320 impl->int8Ty = TypeUniquer::get<IntegerType>(this, 8, IntegerType::Signless);
322 TypeUniquer::get<IntegerType>(this, 16, IntegerType::Signless);
324 TypeUniquer::get<IntegerType>(this, 32, IntegerType::Signless);
326 TypeUniquer::get<IntegerType>(this, 64, IntegerType::Signless);
328 TypeUniquer::get<IntegerType>(this, 128, IntegerType::Signless);
330 impl->noneType = TypeUniquer::get<NoneType>(this);
336 impl->unknownLocAttr = AttributeUniquer::get<UnknownLoc>(this);
341 impl->unitAttr = AttributeUniquer::get<UnitAttr>(this);
419 result.push_back(dialect.second.get());
438 return (it != impl->loadedDialects.end()) ? it->second.get() : nullptr;
477 Dialect *dialect = dialectOwned.get();
509 return dialect.get();
525 if (auto *dynDialect = dyn_cast<DynamicDialect>(dialectIt->second.get()))
542 auto name = StringAttr::get(this, dialectNamespace);
616 impl->threadPool = impl->ownedThreadPool.get();
786 : Impl(StringAttr::get(dialect->getContext(), name), dialect, typeID,
807 impl = it->second.get();
817 auto nameAttr = StringAttr::get(context, name);
819 nameAttr, nameAttr.getReferencedDialect(), TypeID::get<void>(),
822 impl = it.first->second.get();
865 if (Attribute attr = dict.get(name))
947 RegisteredOperationName::Impl *impl = ownedImpl.get();
962 new (&cachedAttrNames[i]) StringAttr(StringAttr::get(ctx, attrNames[i]));
1025 BFloat16Type BFloat16Type::get(MLIRContext *context) {
1028 Float16Type Float16Type::get(MLIRContext *context) {
1031 FloatTF32Type FloatTF32Type::get(MLIRContext *context) {
1034 Float32Type Float32Type::get(MLIRContext *context) {
1037 Float64Type Float64Type::get(MLIRContext *context) {
1040 Float80Type Float80Type::get(MLIRContext *context) {
1043 Float128Type Float128Type::get(MLIRContext *context) {
1048 IndexType IndexType::get(MLIRContext *context) {
1079 IntegerType IntegerType::get(MLIRContext *context, unsigned width,
1083 return Base::get(context, width, signedness);
1096 NoneType NoneType::get(MLIRContext *context) {
1101 return Base::get(context);
1121 BoolAttr BoolAttr::get(MLIRContext *context, bool value) {
1125 UnitAttr UnitAttr::get(MLIRContext *context) {
1129 UnknownLoc UnknownLoc::get(MLIRContext *context) {
1163 StringAttr StringAttr::get(MLIRContext *context) {
1179 auto *storage = impl.affineUniquer.get<AffineMapStorage>(
1185 /// Check whether the arguments passed to the AffineMap::get() are consistent.
1208 AffineMap AffineMap::get(MLIRContext *context) {
1212 AffineMap AffineMap::get(unsigned dimCount, unsigned symbolCount,
1217 AffineMap AffineMap::get(unsigned dimCount, unsigned symbolCount,
1223 AffineMap AffineMap::get(unsigned dimCount, unsigned symbolCount,
1234 IntegerSet IntegerSet::get(unsigned dimCount, unsigned symbolCount,
1242 auto *storage = impl.affineUniquer.get<IntegerSetStorage>(
1256 return [ctx] { return emitError(UnknownLoc::get(ctx)); };