Lines Matching refs:forOp

383     auto forOp = cast<scf::ForOp>(op);  in bufferizesToMemoryRead()  local
384 return state.isValueRead(forOp.getRegionIterArgForOpOperand(opOperand)); in bufferizesToMemoryRead()
395 auto forOp = cast<scf::ForOp>(op); in getAliasingOpResult() local
396 return {forOp.getResultForOpOperand(opOperand)}; in getAliasingOpResult()
403 auto forOp = cast<scf::ForOp>(op); in bufferRelation() local
404 OpOperand &forOperand = forOp.getOpOperandForResult(opResult); in bufferRelation()
405 auto bbArg = forOp.getRegionIterArgForOpOperand(forOperand); in bufferRelation()
407 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in bufferRelation()
440 auto forOp = cast<scf::ForOp>(op); in resolveConflicts() local
442 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in resolveConflicts()
448 DenseSet<int64_t> indices = getTensorIndices(forOp.getInitArgs()); in resolveConflicts()
452 forOp.getRegionIterArgs(), yieldOp.getResults(), state); in resolveConflicts()
477 auto forOp = cast<scf::ForOp>(op); in getBufferType() local
479 forOp.getOpOperandForRegionIterArg(bbArg).get(), options); in getBufferType()
484 auto forOp = cast<scf::ForOp>(op); in bufferize() local
485 Block *oldLoopBody = &forOp.getLoopBody().front(); in bufferize()
489 DenseSet<int64_t> indices = getTensorIndices(forOp.getInitArgs()); in bufferize()
493 getBuffers(rewriter, forOp.getIterOpOperands(), options); in bufferize()
500 forOp.getLoc(), forOp.getLowerBound(), forOp.getUpperBound(), in bufferize()
501 forOp.getStep(), initArgs); in bufferize()
502 newForOp->setAttrs(forOp->getAttrs()); in bufferize()
537 auto forOp = cast<scf::ForOp>(op); in verifyAnalysis() local
539 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in verifyAnalysis()
902 if (auto forOp = dyn_cast<scf::ForOp>(yieldOp->getParentOp())) { in bufferize() local
904 cast<BufferizableOpInterface>(forOp.getOperation()) in bufferize()
905 .getBufferType(forOp.getRegionIterArgs()[it.index()], in bufferize()