Searched refs:oldMap (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorDropLeadUnitDim.cpp | 210 AffineMap oldMap = read.getPermutationMap(); in matchAndRewrite() local 212 oldMap.getResults().take_back(newType.getRank()); in matchAndRewrite() 214 AffineMap::get(oldMap.getNumDims(), oldMap.getNumSymbols(), newResults, in matchAndRewrite() 258 AffineMap oldMap = write.getPermutationMap(); in matchAndRewrite() local 260 oldMap.getResults().take_back(newType.getRank()); in matchAndRewrite() 262 AffineMap::get(oldMap.getNumDims(), oldMap.getNumSymbols(), newResults, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/ |
| H A D | Utils.cpp | 1136 AffineMap oldMap = oldMapAttrPair.getValue().cast<AffineMapAttr>().getValue(); in replaceAllMemRefUsesWith() local 1137 unsigned oldMapNumInputs = oldMap.getNumInputs(); in replaceAllMemRefUsesWith() 1146 if (oldMap != builder.getMultiDimIdentityMap(oldMap.getNumDims())) { in replaceAllMemRefUsesWith() 1147 for (auto resultExpr : oldMap.getResults()) { in replaceAllMemRefUsesWith() 1148 auto singleResMap = AffineMap::get(oldMap.getNumDims(), in replaceAllMemRefUsesWith() 1149 oldMap.getNumSymbols(), resultExpr); in replaceAllMemRefUsesWith()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/ |
| H A D | AffineOps.cpp | 1087 AffineMap oldMap = map; in matchAndRewrite() local 2860 AffineMap oldMap = affineOp.getAffineMap(); in matchAndRewrite() local 2863 for (AffineExpr expr : oldMap.getResults()) { in matchAndRewrite() 2870 if (newExprs.size() == oldMap.getNumResults()) in matchAndRewrite() 2873 auto newMap = AffineMap::get(oldMap.getNumDims(), oldMap.getNumSymbols(), in matchAndRewrite() 2903 AffineMap oldMap = affineOp.getAffineMap(); in matchAndRewrite() local 2905 affineOp.getMapOperands().take_front(oldMap.getNumDims()); in matchAndRewrite() 2907 affineOp.getMapOperands().take_back(oldMap.getNumSymbols()); in matchAndRewrite() 2917 for (AffineExpr expr : oldMap.getResults()) { in matchAndRewrite() 2940 unsigned numUsedDims = oldMap.getNumDims(); in matchAndRewrite() [all …]
|