Home
last modified time | relevance | path

Searched refs:nLoops (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DTiling.cpp320 auto nLoops = op.getNumLoops(); in tileLinalgOpImpl() local
322 tileSizes = tileSizes.take_front(nLoops); in tileLinalgOpImpl()
487 auto nLoops = op.getNumLoops(); in tileLinalgOpImpl() local
490 if (tileSizeVector.size() < nLoops) { in tileLinalgOpImpl()
492 tileSizeVector.append(nLoops - tileSizeVector.size(), zero); in tileLinalgOpImpl()
DLoops.cpp469 unsigned nLoops = allIvs.size(); in emitScalarImplementation() local
471 indexedValues.reserve(nLoops + nInputs + nOutputs); in emitScalarImplementation()
472 for (unsigned i = 0; i < nLoops; ++i) in emitScalarImplementation()
DFusion.cpp223 for (unsigned i = 0, nLoops = loopRanges.size(); i < nLoops; ++i) { in fuse() local
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp224 unsigned nLoops = iteratorTypes.size(); in build() local
225 SmallVector<Type, 4> blockArgTypes(nLoops, builder.getIndexType()); in build()
234 bodyBlock->getArguments().take_front(nLoops), in build()
235 bodyBlock->getArguments().drop_front(nLoops)); in build()
426 auto nLoops = op.getNumLoops(); in verify() local
428 if (block.getNumArguments() != nOperands + nLoops) in verify()
434 for (unsigned i = 0; i < nLoops; ++i) in verify()
440 unsigned memrefArgIndex = i + nLoops; in verify()
500 auto nLoops = op.getNumLoops(); in verifyGenericOp() local
530 if (m.getNumDims() != nLoops) in verifyGenericOp()
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Utils/
DUtils.cpp218 unsigned nLoops = iteratorTypes.size(); local
220 nLoops - iteratorTypes.drop_while(isParallelIteratorType).size();
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_to_linalg.cc56 unsigned nLoops, unsigned nReduction) { in GetParallelAndReductionIterators() argument
57 SmallVector<StringRef, 3> res(nLoops - nReduction, in GetParallelAndReductionIterators()