Searched refs:mlirModule (Results 1 – 3 of 3) sorted by relevance
30 lowerDirectlyFromCIRToLLVMIR(mlir::ModuleOp mlirModule,
197 [[nodiscard]] cir::GlobalOp createGlobal(mlir::ModuleOp mlirModule, in createGlobal() argument203 setInsertionPointToStart(mlirModule.getBody()); in createGlobal()
2682 lowerDirectlyFromCIRToLLVMIR(mlir::ModuleOp mlirModule, LLVMContext &llvmCtx) { in lowerDirectlyFromCIRToLLVMIR() argument2685 mlir::MLIRContext *mlirCtx = mlirModule.getContext(); in lowerDirectlyFromCIRToLLVMIR()2692 if (mlir::failed(pm.run(mlirModule))) { in lowerDirectlyFromCIRToLLVMIR()2704 StringRef moduleName = mlirModule.getName().value_or("CIRToLLVMModule"); in lowerDirectlyFromCIRToLLVMIR()2706 mlir::translateModuleToLLVMIR(mlirModule, llvmCtx, moduleName); in lowerDirectlyFromCIRToLLVMIR()