Home
last modified time | relevance | path

Searched refs:hasNonIdentityLayout (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Utils/
H A DReshapeOpsUtils.h166 bool hasNonIdentityLayout(Type type);
182 if (hasNonIdentityLayout(srcReshapeOp.getSrc().getType()) || in matchAndRewrite()
183 hasNonIdentityLayout(reshapeOp.getSrc().getType()) || in matchAndRewrite()
184 hasNonIdentityLayout(reshapeOp.getResult().getType())) in matchAndRewrite()
239 if (hasNonIdentityLayout(collapseOp.getSrc().getType()) || in matchAndRewrite()
240 hasNonIdentityLayout(expandOp.getSrc().getType()) || in matchAndRewrite()
241 hasNonIdentityLayout(expandOp.getResult().getType())) in matchAndRewrite()
298 if (hasNonIdentityLayout(expandOp.getSrc().getType()) || in matchAndRewrite()
299 hasNonIdentityLayout(collapseOp.getSrc().getType()) || in matchAndRewrite()
300 hasNonIdentityLayout(collapseOp.getResult().getType())) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Utils/
H A DReshapeOpsUtils.cpp268 bool mlir::hasNonIdentityLayout(Type type) { in hasNonIdentityLayout() function in mlir