Home
last modified time | relevance | path

Searched refs:subView (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DPromotion.cpp108 SubViewOp subView, ArrayRef<Value> boundingSubViewSize, bool dynamicBuffers, in defaultAllocBufferCallBack() argument
110 ShapedType viewType = subView.getType(); in defaultAllocBufferCallBack()
232 OpBuilder &b, Location loc, SubViewOp subView, in promoteSubviewAsNewBuffer() argument
235 auto viewType = subView.getType(); in promoteSubviewAsNewBuffer()
240 for (auto en : llvm::enumerate(subView.getOrCreateRanges(b, loc))) { in promoteSubviewAsNewBuffer()
247 partialSizes.push_back(folded_std_dim(folder, subView, en.index())); in promoteSubviewAsNewBuffer()
252 Optional<Value> fullLocalView = allocationFn(b, subView, fullSizes, folder); in promoteSubviewAsNewBuffer()
275 SubViewOp subView = cast<SubViewOp>(v.second.getDefiningOp()); in promoteSubViews() local
277 b, loc, subView, options.allocationFn, folder); in promoteSubViews()
286 if (auto t = subView.getType().getElementType().dyn_cast<FloatType>()) in promoteSubViews()
[all …]
DVectorization.cpp426 Value subView = subViewOp.getResult(); in matchAndRewrite() local
427 LLVM_DEBUG(llvm::dbgs() << dbgPref << "with subView " << subView); in matchAndRewrite()
431 for (auto &u : subView.getUses()) { in matchAndRewrite()
433 if (newCopyOp.getOutputBuffer(0) != subView) in matchAndRewrite()
436 if (mayExistInterleavedUses(newCopyOp, xferOp, {viewOrAlloc, subView})) in matchAndRewrite()
453 if (mayExistInterleavedUses(newFillOp, copyOp, {viewOrAlloc, subView})) in matchAndRewrite()
498 Value subView = subViewOp.getResult(); in matchAndRewrite() local
504 if (newCopyOp.getInput(0) != subView) in matchAndRewrite()
506 if (mayExistInterleavedUses(xferOp, newCopyOp, {viewOrAlloc, subView})) in matchAndRewrite()
DBufferize.cpp264 Value subView = rewriter.create<SubViewOp>( in matchAndRewrite() local
269 rewriter.create<linalg::CopyOp>(op.getLoc(), subView, alloc); in matchAndRewrite()
DFusion.cpp446 auto subView = consumerView.getDefiningOp<SubViewOp>(); in fuseProducerOfBuffer() local
448 if (!subView && !slice) { in fuseProducerOfBuffer()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java138 View subView = view.findViewById(getInternalResourceId(resourceName)); in findView() local
139 if (subView == null) { in findView()
145 return subView; in findView()
/external/llvm-project/mlir/test/lib/Transforms/
DTestLinalgTransforms.cpp248 static Optional<Value> allocCallBackFn(OpBuilder &b, SubViewOp subView, in allocCallBackFn() argument
253 .create<AllocOp>(subView.getLoc(), in allocCallBackFn()
255 subView.getType().getElementType(), in allocCallBackFn()
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/Transforms/
DTransforms.h150 OpBuilder &b, SubViewOp subView, ArrayRef<Value> boundingSubViewSize,
247 promoteSubviewAsNewBuffer(OpBuilder &b, Location loc, SubViewOp subView,