Home
last modified time | relevance | path

Searched refs:getOrLoadDialect (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DMLIRContext.h69 T *getOrLoadDialect() { in getOrLoadDialect() function
71 getOrLoadDialect(T::getDialectNamespace(), TypeID::get<T>(), [this]() { in getOrLoadDialect()
80 getOrLoadDialect<Dialect>(); in loadDialect()
86 getOrLoadDialect<Dialect>(); in loadDialect()
94 Dialect *getOrLoadDialect(StringRef name);
167 Dialect *getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID,
DDialect.h246 return ctx->getOrLoadDialect<ConcreteDialect>(); in insert()
/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp79 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST()
97 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST()
122 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST()
147 ctx.getOrLoadDialect<QuantizationDialect>(); in TEST()
/external/llvm-project/mlir/test/SDBM/
Dsdbm-api-test.cpp26 (context.getOrLoadDialect<SDBMDialect>(), true); in ctx()
34 d = ctx()->getOrLoadDialect<SDBMDialect>(); in dialect()
/external/llvm-project/mlir/lib/CAPI/Standard/
DStandardDialect.cpp20 return wrap(unwrap(context)->getOrLoadDialect<mlir::StandardOpsDialect>()); in mlirContextLoadStandardDialect()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgTypes.cpp61 getContext()->getOrLoadDialect("std"); in initialize()
/external/llvm-project/mlir/examples/toy/Ch2/
Dtoyc.cpp73 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
/external/llvm-project/mlir/unittests/Dialect/SPIRV/
DSerializationTest.cpp40 context.getOrLoadDialect<mlir::spirv::SPIRVDialect>(); in SerializationTest()
DDeserializationTest.cpp39 context.getOrLoadDialect<mlir::spirv::SPIRVDialect>(); in DeserializationTest()
/external/llvm-project/mlir/examples/toy/Ch3/
Dtoyc.cpp107 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
/external/llvm-project/mlir/examples/toy/Ch4/
Dtoyc.cpp108 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
/external/llvm-project/mlir/examples/toy/Ch5/
Dtoyc.cpp111 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in dumpMLIR()
/external/llvm-project/mlir/lib/IR/
DMLIRContext.cpp343 getOrLoadDialect<BuiltinDialect>(); in MLIRContext()
450 Dialect *MLIRContext::getOrLoadDialect(StringRef name) { in getOrLoadDialect() function in MLIRContext
461 MLIRContext::getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID, in getOrLoadDialect() function in MLIRContext
/external/llvm-project/mlir/unittests/SDBM/
DSDBMTest.cpp23 context.getOrLoadDialect<SDBMDialect>(); in ctx()
30 d = ctx()->getOrLoadDialect<SDBMDialect>(); in dialect()
/external/llvm-project/mlir/lib/Parser/
DDialectSymbolParser.cpp530 builder.getContext()->getOrLoadDialect(dialectName)) { in parseExtendedAttr()
567 auto *dialect = state.context->getOrLoadDialect(dialectName); in parseExtendedType()
DAttributeParser.cpp269 getContext()->getOrLoadDialect(splitName.first); in parseAttributeDict()
855 Dialect *dialect = builder.getContext()->getOrLoadDialect(name); in parseOpaqueElementsAttr()
DParser.cpp776 getContext()->getOrLoadDialect(dialectName)) { in parseGenericOperation()
1615 getContext()->getOrLoadDialect(dialectName)) { in parseCustomOperation()
1623 if (getContext()->getOrLoadDialect("std")) in parseCustomOperation()
/external/llvm-project/mlir/examples/toy/Ch6/
Dtoyc.cpp259 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in main()
/external/llvm-project/mlir/examples/toy/Ch7/
Dtoyc.cpp260 context.getOrLoadDialect<mlir::toy::ToyDialect>(); in main()
/external/llvm-project/mlir/unittests/TableGen/
DOpBuildGen.cpp30 ctx.getOrLoadDialect<test::TestDialect>(); in getContext()
/external/llvm-project/mlir/lib/CAPI/IR/
DIR.cpp59 return wrap(unwrap(context)->getOrLoadDialect(unwrap(name))); in mlirContextGetOrLoadDialect()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc479 module.getContext()->getOrLoadDialect<mlir::TF::TensorFlowDialect>(); in Translator()
481 ->getOrLoadDialect<mlir::TFL::TensorFlowLiteDialect>(); in Translator()
484 ->getOrLoadDialect<mlir::tf_executor::TensorFlowExecutorDialect>(); in Translator()
/external/llvm-project/mlir/lib/Dialect/SDBM/
DSDBMExpr.cpp519 converter.dialect = affine.getContext()->getOrLoadDialect<SDBMDialect>(); in tryConvertAffineExpr()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp1030 m->getContext()->getOrLoadDialect<LLVM::LLVMDialect>(); in prepareLLVMModule()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp106 : llvmDialect(ctx->getOrLoadDialect<LLVM::LLVMDialect>()), in LLVMTypeConverter()