Home
last modified time | relevance | path

Searched refs:mlirCtx (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/flang/lib/Frontend/
H A DFrontendActions.cpp103 mlirCtx = std::make_unique<mlir::MLIRContext>(registry); in beginSourceFileAction()
105 fir::support::loadNonCodegenDialects(*mlirCtx); in beginSourceFileAction()
106 fir::support::loadDialects(*mlirCtx); in beginSourceFileAction()
107 fir::support::registerLLVMTranslation(*mlirCtx); in beginSourceFileAction()
116 mlir::parseSourceFile<mlir::ModuleOp>(sourceMgr, mlirCtx.get()); in beginSourceFileAction()
145 fir::KindMapping kindMap(mlirCtx.get(), in beginSourceFileAction()
148 *mlirCtx, defKinds, ci.getInvocation().getSemanticsContext().intrinsics(), in beginSourceFileAction()
159 mlir::PassManager pm(mlirCtx.get(), mlir::OpPassManager::Nesting::Implicit); in beginSourceFileAction()
506 fir::support::loadDialects(*mlirCtx); in generateLLVMIR()
507 fir::support::registerLLVMTranslation(*mlirCtx); in generateLLVMIR()
[all …]
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DFrontendActions.h213 std::unique_ptr<mlir::MLIRContext> mlirCtx; variable