Lines Matching refs:LoopOp
153 return isa<acc::ParallelOp>(op) || isa<acc::LoopOp>(op); in isComputeOperation()
473 if (succeeded(parser.parseOptionalKeyword(LoopOp::getGangKeyword()))) in parseLoopOp()
479 parser, result, LoopOp::getGangNumKeyword()); in parseLoopOp()
484 parser, result, LoopOp::getGangStaticKeyword()); in parseLoopOp()
493 if (succeeded(parser.parseOptionalKeyword(LoopOp::getWorkerKeyword()))) in parseLoopOp()
502 if (succeeded(parser.parseOptionalKeyword(LoopOp::getVectorKeyword()))) in parseLoopOp()
511 if (failed(parseOperandList(parser, LoopOp::getTileKeyword(), tileOperands, in parseLoopOp()
516 if (failed(parseOperandList(parser, LoopOp::getPrivateKeyword(), in parseLoopOp()
521 if (failed(parseOperandList(parser, LoopOp::getReductionKeyword(), in parseLoopOp()
526 result.addAttribute(LoopOp::getExecutionMappingAttrName(), in parseLoopOp()
533 if (failed(parseRegions<LoopOp>(parser, result))) in parseLoopOp()
536 result.addAttribute(LoopOp::getOperandSegmentSizeAttr(), in parseLoopOp()
552 static void print(OpAsmPrinter &printer, LoopOp &op) { in print()
553 printer << LoopOp::getOperationName(); in print()
557 printer << " " << LoopOp::getGangKeyword(); in print()
565 printer << LoopOp::getGangNumKeyword() << "=" << gangNum << ": " in print()
571 printer << LoopOp::getGangStaticKeyword() << "=" << gangStatic << ": " in print()
578 printer << " " << LoopOp::getWorkerKeyword(); in print()
586 printer << " " << LoopOp::getVectorKeyword(); in print()
594 printOperandList(op.tileOperands(), LoopOp::getTileKeyword(), printer); in print()
597 printOperandList(op.privateOperands(), LoopOp::getPrivateKeyword(), printer); in print()
600 printOperandList(op.reductionOperands(), LoopOp::getReductionKeyword(), in print()
611 op.getAttrs(), {LoopOp::getExecutionMappingAttrName(), in print()
612 LoopOp::getOperandSegmentSizeAttr()}); in print()
615 static LogicalResult verifyLoopOp(acc::LoopOp loopOp) { in verifyLoopOp()
619 loopOp.emitError("only one of " + acc::LoopOp::getAutoAttrName() + ", " + in verifyLoopOp()
620 acc::LoopOp::getIndependentAttrName() + ", " + in verifyLoopOp()
621 acc::LoopOp::getSeqAttrName() + in verifyLoopOp()