Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Lower/
DOpenMP.cpp52 static void createBodyOfOp(Op &op, Fortran::lower::FirOpBuilder &firOpBuilder, in createBodyOfOp() argument
54 firOpBuilder.createBlock(&op.getRegion()); in createBodyOfOp()
56 firOpBuilder.setInsertionPointToStart(&block); in createBodyOfOp()
58 firOpBuilder.create<mlir::omp::TerminatorOp>(loc); in createBodyOfOp()
60 firOpBuilder.setInsertionPointToStart(&block); in createBodyOfOp()
136 auto &firOpBuilder = converter.getFirOpBuilder(); in genOMP() local
184 auto parallelOp = firOpBuilder.create<mlir::omp::ParallelOp>( in genOMP()
196 parallelOp.default_valAttr(firOpBuilder.getStringAttr( in genOMP()
201 firOpBuilder.getStringAttr(omp::stringifyClauseDefault( in genOMP()
205 parallelOp.default_valAttr(firOpBuilder.getStringAttr( in genOMP()
[all …]
DOpenACC.cpp132 auto &firOpBuilder = converter.getFirOpBuilder(); in genACC() local
169 gangStatic = firOpBuilder.createIntegerConstant( in genACC()
170 currentLocation, firOpBuilder.getIntegerType(32), in genACC()
205 mlir::Value tileStar = firOpBuilder.createIntegerConstant( in genACC()
206 currentLocation, firOpBuilder.getIntegerType(32), in genACC()
232 firOpBuilder, currentLocation, operands, operandSegments); in genACC()
235 firOpBuilder.getI64IntegerAttr(executionMapping)); in genACC()
245 firOpBuilder.getI64IntegerAttr(*collapseValue)); in genACC()
249 firOpBuilder.getUnitAttr()); in genACC()
253 firOpBuilder.getUnitAttr()); in genACC()
[all …]