Lines Matching refs:ParallelOp
153 return isa<acc::ParallelOp>(op) || isa<acc::LoopOp>(op); in isComputeOperation()
205 async = parseOptionalOperandAndType(parser, ParallelOp::getAsyncKeyword(), in parseParallelOp()
211 if (failed(parseOperandList(parser, ParallelOp::getWaitKeyword(), in parseParallelOp()
217 parser, ParallelOp::getNumGangsKeyword(), result); in parseParallelOp()
223 parser, ParallelOp::getNumWorkersKeyword(), result); in parseParallelOp()
229 parser, ParallelOp::getVectorLengthKeyword(), result); in parseParallelOp()
234 if (failed(parseOptionalOperand(parser, ParallelOp::getIfKeyword(), ifCond, in parseParallelOp()
239 if (failed(parseOptionalOperand(parser, ParallelOp::getSelfKeyword(), in parseParallelOp()
244 if (failed(parseOperandList(parser, ParallelOp::getReductionKeyword(), in parseParallelOp()
250 if (failed(parseOperandList(parser, ParallelOp::getCopyKeyword(), in parseParallelOp()
255 if (failed(parseOperandList(parser, ParallelOp::getCopyinKeyword(), in parseParallelOp()
260 if (failed(parseOperandList(parser, ParallelOp::getCopyinReadonlyKeyword(), in parseParallelOp()
266 if (failed(parseOperandList(parser, ParallelOp::getCopyoutKeyword(), in parseParallelOp()
271 if (failed(parseOperandList(parser, ParallelOp::getCopyoutZeroKeyword(), in parseParallelOp()
277 if (failed(parseOperandList(parser, ParallelOp::getCreateKeyword(), in parseParallelOp()
282 if (failed(parseOperandList(parser, ParallelOp::getCreateZeroKeyword(), in parseParallelOp()
288 if (failed(parseOperandList(parser, ParallelOp::getNoCreateKeyword(), in parseParallelOp()
293 if (failed(parseOperandList(parser, ParallelOp::getPresentKeyword(), in parseParallelOp()
298 if (failed(parseOperandList(parser, ParallelOp::getDevicePtrKeyword(), in parseParallelOp()
304 if (failed(parseOperandList(parser, ParallelOp::getAttachKeyword(), in parseParallelOp()
309 if (failed(parseOperandList(parser, ParallelOp::getPrivateKeyword(), in parseParallelOp()
314 if (failed(parseOperandList(parser, ParallelOp::getFirstPrivateKeyword(), in parseParallelOp()
320 if (failed(parseRegions<ParallelOp>(parser, result))) in parseParallelOp()
324 ParallelOp::getOperandSegmentSizeAttr(), in parseParallelOp()
355 static void print(OpAsmPrinter &printer, ParallelOp &op) { in print()
356 printer << ParallelOp::getOperationName(); in print()
360 printer << " " << ParallelOp::getAsyncKeyword() << "(" << async << ": " in print()
364 printOperandList(op.waitOperands(), ParallelOp::getWaitKeyword(), printer); in print()
368 printer << " " << ParallelOp::getNumGangsKeyword() << "(" << numGangs in print()
373 printer << " " << ParallelOp::getNumWorkersKeyword() << "(" << numWorkers in print()
378 printer << " " << ParallelOp::getVectorLengthKeyword() << "(" in print()
383 printer << " " << ParallelOp::getIfKeyword() << "(" << ifCond << ")"; in print()
387 printer << " " << ParallelOp::getSelfKeyword() << "(" << selfCond << ")"; in print()
390 printOperandList(op.reductionOperands(), ParallelOp::getReductionKeyword(), in print()
394 printOperandList(op.copyOperands(), ParallelOp::getCopyKeyword(), printer); in print()
397 printOperandList(op.copyinOperands(), ParallelOp::getCopyinKeyword(), in print()
402 ParallelOp::getCopyinReadonlyKeyword(), printer); in print()
405 printOperandList(op.copyoutOperands(), ParallelOp::getCopyoutKeyword(), in print()
410 ParallelOp::getCopyoutZeroKeyword(), printer); in print()
413 printOperandList(op.createOperands(), ParallelOp::getCreateKeyword(), in print()
417 printOperandList(op.createZeroOperands(), ParallelOp::getCreateZeroKeyword(), in print()
421 printOperandList(op.noCreateOperands(), ParallelOp::getNoCreateKeyword(), in print()
425 printOperandList(op.presentOperands(), ParallelOp::getPresentKeyword(), in print()
429 printOperandList(op.devicePtrOperands(), ParallelOp::getDevicePtrKeyword(), in print()
433 printOperandList(op.attachOperands(), ParallelOp::getAttachKeyword(), in print()
437 printOperandList(op.gangPrivateOperands(), ParallelOp::getPrivateKeyword(), in print()
442 ParallelOp::getFirstPrivateKeyword(), printer); in print()
448 op.getAttrs(), ParallelOp::getOperandSegmentSizeAttr()); in print()