Lines Matching refs:create
57 return b.create<arith::CmpIOp>(v.getLoc(), arith::CmpIPredicate::sle, v, ub); in createFoldedSLE()
86 inBoundsCond = b.create<arith::AndIOp>(loc, inBoundsCond, cond); in createInBoundsCond()
205 Value dimAlloc = b.create<memref::DimOp>(loc, alloc, resultIdx); in createSubViewIntersection()
212 Value affineMin = b.create<AffineMinOp>( in createSubViewIntersection()
221 auto copySrc = b.create<memref::SubViewOp>( in createSubViewIntersection()
223 auto copyDest = b.create<memref::SubViewOp>( in createSubViewIntersection()
251 Value zero = b.create<arith::ConstantIndexOp>(loc, 0); in createFullPartialLinalgCopy()
253 return b.create<scf::IfOp>( in createFullPartialLinalgCopy()
258 res = b.create<memref::CastOp>(loc, compatibleMemRefType, memref); in createFullPartialLinalgCopy()
262 b.create<scf::YieldOp>(loc, viewAndIndices); in createFullPartialLinalgCopy()
265 b.create<linalg::FillOp>(loc, ValueRange{xferOp.getPadding()}, in createFullPartialLinalgCopy()
273 b.create<memref::CopyOp>(loc, copyArgs.first, copyArgs.second); in createFullPartialLinalgCopy()
275 b.create<memref::CastOp>(loc, compatibleMemRefType, alloc); in createFullPartialLinalgCopy()
279 b.create<scf::YieldOp>(loc, viewAndIndices); in createFullPartialLinalgCopy()
306 Value zero = b.create<arith::ConstantIndexOp>(loc, 0); in createFullPartialVectorTransferRead()
308 return b.create<scf::IfOp>( in createFullPartialVectorTransferRead()
313 res = b.create<memref::CastOp>(loc, compatibleMemRefType, memref); in createFullPartialVectorTransferRead()
317 b.create<scf::YieldOp>(loc, viewAndIndices); in createFullPartialVectorTransferRead()
322 b.create<memref::StoreOp>( in createFullPartialVectorTransferRead()
324 b.create<vector::TypeCastOp>( in createFullPartialVectorTransferRead()
328 b.create<memref::CastOp>(loc, compatibleMemRefType, alloc); in createFullPartialVectorTransferRead()
332 b.create<scf::YieldOp>(loc, viewAndIndices); in createFullPartialVectorTransferRead()
356 Value zero = b.create<arith::ConstantIndexOp>(loc, 0); in getLocationToWriteFullVec()
359 .create<scf::IfOp>( in getLocationToWriteFullVec()
364 res = b.create<memref::CastOp>(loc, compatibleMemRefType, memref); in getLocationToWriteFullVec()
369 b.create<scf::YieldOp>(loc, viewAndIndices); in getLocationToWriteFullVec()
373 b.create<memref::CastOp>(loc, compatibleMemRefType, alloc); in getLocationToWriteFullVec()
377 b.create<scf::YieldOp>(loc, viewAndIndices); in getLocationToWriteFullVec()
399 auto notInBounds = b.create<arith::XOrIOp>( in createFullPartialLinalgCopy()
400 loc, inBoundsCond, b.create<arith::ConstantIntOp>(loc, true, 1)); in createFullPartialLinalgCopy()
401 b.create<scf::IfOp>(loc, notInBounds, [&](OpBuilder &b, Location loc) { in createFullPartialLinalgCopy()
406 b.create<memref::CopyOp>(loc, copyArgs.first, copyArgs.second); in createFullPartialLinalgCopy()
407 b.create<scf::YieldOp>(loc, ValueRange{}); in createFullPartialLinalgCopy()
428 auto notInBounds = b.create<arith::XOrIOp>( in createFullPartialVectorTransferWrite()
429 loc, inBoundsCond, b.create<arith::ConstantIntOp>(loc, true, 1)); in createFullPartialVectorTransferWrite()
430 b.create<scf::IfOp>(loc, notInBounds, [&](OpBuilder &b, Location loc) { in createFullPartialVectorTransferWrite()
432 Value load = b.create<memref::LoadOp>( in createFullPartialVectorTransferWrite()
434 b.create<vector::TypeCastOp>( in createFullPartialVectorTransferWrite()
438 b.create<scf::YieldOp>(loc, ValueRange{}); in createFullPartialVectorTransferWrite()
566 alloc = b.create<memref::AllocaOp>(scope->getLoc(), in splitFullAndPartialTransfer()