forked from OSchip/llvm-project
Linalg Utils: use Doxygen comments where appropriate
PiperOrigin-RevId: 258160982
This commit is contained in:
parent
d2246182f0
commit
d52b6c94e1
|
@ -74,9 +74,9 @@ private:
|
|||
|
||||
namespace linalg {
|
||||
|
||||
// Returns the linearized list of all view dimensions in a linalgOp. Applying
|
||||
// the inverse, concatenated loopToOperandRangeMaps to this list allows the
|
||||
// derivation of loop ranges for any linalgOp.
|
||||
/// Returns the linearized list of all view dimensions in a linalgOp. Applying
|
||||
/// the inverse, concatenated loopToOperandRangeMaps to this list allows the
|
||||
/// derivation of loop ranges for any linalgOp.
|
||||
SmallVector<Value *, 8> getViewSizes(LinalgOp &linalgOp);
|
||||
|
||||
/// Returns the values obtained by applying `map` to the list of values.
|
||||
|
@ -133,9 +133,9 @@ llvm::SmallVector<PromotionInfo, 8> promoteLinalgViews(OpBuilder &b,
|
|||
ArrayRef<Value *> views,
|
||||
OperationFolder &folder);
|
||||
|
||||
// Returns all the operands of `linalgOp` that are not views.
|
||||
// Asserts that these operands are value types to allow transformations like
|
||||
// tiling to just use the values when cloning `linalgOp`.
|
||||
/// Returns all the operands of `linalgOp` that are not views.
|
||||
/// Asserts that these operands are value types to allow transformations like
|
||||
/// tiling to just use the values when cloning `linalgOp`.
|
||||
llvm::SmallVector<Value *, 4> getAssumedNonViewOperands(LinalgOp linalgOp);
|
||||
|
||||
} // namespace linalg
|
||||
|
|
|
@ -141,9 +141,9 @@ SmallVector<Value *, 4> mlir::linalg::applyMapToValues(OpBuilder &b,
|
|||
return res;
|
||||
}
|
||||
|
||||
// Returns all the operands of `linalgOp` that are not views.
|
||||
// Asserts that these operands are value types to allow transformations like
|
||||
// tiling to just use the values when cloning `linalgOp`.
|
||||
/// Returns all the operands of `linalgOp` that are not views.
|
||||
/// Asserts that these operands are value types to allow transformations like
|
||||
/// tiling to just use the values when cloning `linalgOp`.
|
||||
SmallVector<Value *, 4>
|
||||
mlir::linalg::getAssumedNonViewOperands(LinalgOp linalgOp) {
|
||||
auto *op = linalgOp.getOperation();
|
||||
|
|
Loading…
Reference in New Issue