Home
last modified time | relevance | path

Searched refs:mlirContext (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/mlir/utils/vscode/src/
H A Dextension.ts14 const mlirContext = new MLIRContext(); constant
15 context.subscriptions.push(mlirContext);
21 mlirContext.dispose();
22 await mlirContext.activate(outputChannel);
24 registerPDLLCommands(context, mlirContext);
26 mlirContext.activate(outputChannel);
H A DconfigWatcher.ts45 mlirContext: MLIRContext, workspaceFolder: vscode.WorkspaceFolder,
49 mlirContext.subscriptions.push(vscode.workspace.onDidChangeConfiguration(event => {
82 mlirContext.subscriptions.push(
/llvm-project-15.0.7/mlir/utils/vscode/src/PDLL/
H A Dpdll.ts10 mlirContext: MLIRContext) {
11 context.subscriptions.push(new ViewPDLLCommand(mlirContext));
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp407 mlir::MLIRContext &mlirContext) { in addSymbolAttribute() argument
415 mlir::StringAttr::get(&mlirContext, name)); in addSymbolAttribute()
552 : interface(i), mlirContext{i.converter.getMLIRContext()} {} in CallInterfaceImpl()
561 addFirResult(mlir::IndexType::get(&mlirContext), in buildImplicitInterface()
593 addFirResult(mlir::IndexType::get(&mlirContext), in buildExplicitInterface()
708 mlir::Type lenTy = mlir::IndexType::get(&mlirContext); in handleImplicitCharacterResult()
713 fir::CharacterType::get(&mlirContext, type.kind(), len)); in handleImplicitCharacterResult()
735 mlir::StringAttr::get(&mlirContext, in dummyNameAttr()
819 mlir::UnitAttr::get(&mlirContext)); in handleExplicitDummy()
924 mlir::UnitAttr::get(&mlirContext)}}); in handleImplicitDummy()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/CodeGen/
H A DMLIRGen.h34 OwningOpRef<ModuleOp> codegenPDLLToMLIR(MLIRContext *mlirContext,
/llvm-project-15.0.7/mlir/tools/mlir-pdll/
H A Dmlir-pdll.cpp75 MLIRContext mlirContext; in processBuffer() local
77 codegenPDLLToMLIR(&mlirContext, astContext, sourceMgr, **module); in processBuffer()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp36 CodeGen(MLIRContext *mlirContext, const ast::Context &context, in CodeGen() argument
38 : builder(mlirContext), odsContext(context.getODSContext()), in CodeGen()
41 mlirContext->loadDialect<pdl::PDLDialect>(); in CodeGen()
608 MLIRContext *mlirContext, const ast::Context &context, in codegenPDLLToMLIR() argument
610 CodeGen codegen(mlirContext, context, sourceMgr); in codegenPDLLToMLIR()
/llvm-project-15.0.7/mlir/tools/mlir-linalg-ods-gen/
H A Dmlir-linalg-ods-yaml-gen.cpp49 MLIRContext *mlirContext; member
320 if (auto attr = mlir::parseAttribute(scalar, yamlContext->mlirContext) in input()
1200 MLIRContext mlirContext; in main() local
1201 LinalgYAMLContext yamlContext{&mlirContext}; in main()
1237 GenerationContext genContext(&mlirContext, in main()
1249 StringAttr::get(&mlirContext, opConfig.metadata->cppClassName))); in main()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp1362 MLIRContext mlirContext; in getPDLLViewOutput() local
1363 SourceMgrDiagnosticHandler diagHandler(sourceMgr, &mlirContext, os); in getPDLLViewOutput()
1365 codegenPDLLToMLIR(&mlirContext, astContext, sourceMgr, **astModule); in getPDLLViewOutput()