• Home
  • Raw
  • Download

Lines Matching refs:parallelOp

289   LogicalResult matchAndRewrite(ParallelOp parallelOp,
378 ParallelOp parallelOp, gpu::LaunchOp launchOp, in processParallelLoop() argument
384 parallelOp->getAttrOfType<ArrayAttr>(gpu::getMappingAttrName()); in processParallelLoop()
387 if (!mapping || parallelOp.getNumResults() != 0) in processParallelLoop()
390 Location loc = parallelOp.getLoc(); in processParallelLoop()
405 for (auto config : llvm::zip(mapping, parallelOp.getInductionVars(), in processParallelLoop()
406 parallelOp.lowerBound(), parallelOp.upperBound(), in processParallelLoop()
407 parallelOp.step())) { in processParallelLoop()
413 return parallelOp.emitOpError() in processParallelLoop()
462 parallelOp, in processParallelLoop()
486 parallelOp, "cannot redefine the bound for processor " + in processParallelLoop()
523 for (const auto &namedAttr : parallelOp.getAttrs()) { in processParallelLoop()
530 Block *body = parallelOp.getBody(); in processParallelLoop()
567 ParallelToGpuLaunchLowering::matchAndRewrite(ParallelOp parallelOp, in matchAndRewrite() argument
571 if (auto parentLoop = parallelOp->getParentOfType<ParallelOp>()) in matchAndRewrite()
575 Location loc = parallelOp.getLoc(); in matchAndRewrite()
576 Value constantOne = rewriter.create<ConstantIndexOp>(parallelOp.getLoc(), 1); in matchAndRewrite()
578 parallelOp.getLoc(), constantOne, constantOne, constantOne, constantOne, in matchAndRewrite()
587 if (failed(processParallelLoop(parallelOp, launchOp, cloningMap, worklist, in matchAndRewrite()
640 rewriter.eraseOp(parallelOp); in matchAndRewrite()
650 target.addDynamicallyLegalOp<scf::ParallelOp>([](scf::ParallelOp parallelOp) { in configureParallelLoopToGPULegality() argument
651 return !parallelOp.getAttr(gpu::getMappingAttrName()); in configureParallelLoopToGPULegality()