| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | MLIRContext.h | 92 T *getOrLoadDialect() { in getOrLoadDialect() function 94 getOrLoadDialect(T::getDialectNamespace(), TypeID::get<T>(), [this]() { in getOrLoadDialect() 103 getOrLoadDialect<Dialect>(); in loadDialect() 109 getOrLoadDialect<Dialect>(); in loadDialect() 120 Dialect *getOrLoadDialect(StringRef name); 220 Dialect *getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID,
|
| H A D | DialectRegistry.h | 122 return ctx->getOrLoadDialect<ConcreteDialect>(); in insert()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/Transform/ |
| H A D | BuildOnlyExtensionTest.cpp | 33 ctx.getOrLoadDialect<TransformDialect>(); in TEST() 43 ctx.getOrLoadDialect<TransformDialect>(); in TEST()
|
| /llvm-project-15.0.7/mlir/unittests/IR/ |
| H A D | DialectTest.cpp | 85 Dialect *testDialect = context.getOrLoadDialect<TestDialect>(); in TEST() 92 Dialect *secondTestDialect = context.getOrLoadDialect<SecondTestDialect>(); in TEST() 122 Dialect *testDialect = context.getOrLoadDialect<TestDialect>(); in TEST()
|
| H A D | OperationSupportTest.cpp | 278 context.getOrLoadDialect<test::TestDialect>(); in TEST()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/Quant/ |
| H A D | QuantizationUtilsTest.cpp | 79 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST() 97 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST() 123 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST() 149 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/LLVMIR/ |
| H A D | LLVMTestBase.h | 22 LLVMIRTest() { context.getOrLoadDialect<mlir::LLVM::LLVMDialect>(); } in LLVMIRTest()
|
| /llvm-project-15.0.7/mlir/include/mlir/CAPI/ |
| H A D | Registration.h | 42 return wrap(unwrap(context)->getOrLoadDialect<ClassName>()); \
|
| /llvm-project-15.0.7/mlir/unittests/Transforms/ |
| H A D | Canonicalizer.cpp | 69 context.getOrLoadDialect<TestDialect>(); in TEST()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | DialectSymbolParser.cpp | 234 builder.getContext()->getOrLoadDialect(dialectName)) { in parseExtendedAttr() 274 if (auto *dialect = ctx->getOrLoadDialect(dialectName)) { in parseExtendedType()
|
| H A D | Parser.cpp | 1348 !getContext()->getOrLoadDialect(dialectName) && in parseGenericOperation() 1824 getContext()->getOrLoadDialect(dialectName); in parseCustomOperationName() 2489 Dialect *dialect = getContext()->getOrLoadDialect(name); in parseDialectResourceFileMetadata()
|
| H A D | AttributeParser.cpp | 305 getContext()->getOrLoadDialect(splitName.first); in parseAttributeDict()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/ |
| H A D | toyc.cpp | 73 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | MLIRContext.cpp | 272 getOrLoadDialect<BuiltinDialect>(); in MLIRContext() 401 Dialect *MLIRContext::getOrLoadDialect(StringRef name) { in getOrLoadDialect() function in MLIRContext 414 MLIRContext::getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID, in getOrLoadDialect() function in MLIRContext 461 getOrLoadDialect(name); in loadAllAvailableDialects()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/ |
| H A D | toyc.cpp | 107 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/ |
| H A D | toyc.cpp | 108 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/ |
| H A D | SerializationTest.cpp | 39 context.getOrLoadDialect<mlir::spirv::SPIRVDialect>(); in SerializationTest()
|
| H A D | DeserializationTest.cpp | 38 context.getOrLoadDialect<mlir::spirv::SPIRVDialect>(); in DeserializationTest()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/ |
| H A D | toyc.cpp | 112 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/ |
| H A D | toyc.cpp | 271 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in main()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/ |
| H A D | toyc.cpp | 272 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in main()
|
| /llvm-project-15.0.7/mlir/unittests/TableGen/ |
| H A D | OpBuildGen.cpp | 29 ctx.getOrLoadDialect<test::TestDialect>(); in getContext()
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 191 ctx->getOrLoadDialect<DLTIDialect>(); in DLTestDialect()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DefiningDialects.md | 388 Dialect* dialect = ctx->getOrLoadDialect<MyDialect>(); 479 Dialect* dialect = ctx->getOrLoadDialect<MyDialect>(); 578 Dialect* dialect = ctx->getOrLoadDialect<MyDialect>();
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/ |
| H A D | TypeConverter.cpp | 26 : llvmDialect(ctx->getOrLoadDialect<LLVM::LLVMDialect>()), options(options), in LLVMTypeConverter()
|