Lines Matching defs:mlirModule
162 ModuleImport::ModuleImport(ModuleOp mlirModule,
166 : builder(mlirModule->getContext()), context(mlirModule->getContext()),
167 mlirModule(mlirModule), llvmModule(std::move(llvmModule)),
168 iface(mlirModule->getContext()),
169 typeTranslator(*mlirModule->getContext()),
171 mlirModule, importEmptyDICompositeTypes)),
175 builder.setInsertionPointToStart(mlirModule.getBody());
183 builder.setInsertionPointToEnd(mlirModule.getBody());
185 builder.create<ComdatOp>(mlirModule.getLoc(), getGlobalComdatOpName());
191 Location loc = mlirModule.getLoc();
415 Location loc = mlirModule.getLoc();
424 Location loc = mlirModule.getLoc();
530 builder.create<LLVM::LinkerOptionsOp>(mlirModule.getLoc(),
548 mlirModule->setAttr(LLVMDialect::getIdentAttrName(),
565 mlirModule->setAttr(LLVMDialect::getCommandlineAttrName(),
573 builder.setInsertionPointToEnd(mlirModule.getBody());
614 mlirModule.getLoc(), comdat->getName(),
651 Location loc = mlirModule.getLoc();
660 mlirModule->setAttr(DLTIDialect::kDataLayoutAttrName,
954 builder.setInsertionPointToStart(mlirModule.getBody());
989 mlirModule.getLoc(), type, globalVar->isConstant(),
1054 builder.setInsertionPointToStart(mlirModule.getBody());
1060 mlirModule.getLoc(), builder.getArrayAttr(funcs),
1065 mlirModule.getLoc(), builder.getArrayAttr(funcs),
2147 builder.setInsertionPointToEnd(mlirModule.getBody());