Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenMP.cpp795 mlir::OpBuilder modBuilder(module.getBodyRegion()); in createReductionDecl() local
798 decl = modBuilder.create<omp::ReductionDeclareOp>(loc, name, type); in createReductionDecl()
1167 mlir::OpBuilder modBuilder(module.getBodyRegion()); in genOMP() local
1170 global = modBuilder.create<mlir::omp::CriticalDeclareOp>( in genOMP()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp3442 mlir::OpBuilder modBuilder(module.getBodyRegion()); in createFuncOp() local
3443 modBuilder.setInsertionPointToEnd(module.getBody()); in createFuncOp()
3444 auto result = modBuilder.create<mlir::func::FuncOp>(loc, name, type, attrs); in createFuncOp()
3454 mlir::OpBuilder modBuilder(module.getBodyRegion()); in createGlobalOp() local
3455 auto result = modBuilder.create<fir::GlobalOp>(loc, name, type, attrs); in createGlobalOp()