Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp737 static void canonicalizePromotedSymbols(MapOrSet *mapOrSet, in canonicalizePromotedSymbols() argument
739 if (!mapOrSet || operands->empty()) in canonicalizePromotedSymbols()
742 assert(mapOrSet->getNumInputs() == operands->size() && in canonicalizePromotedSymbols()
745 auto *context = mapOrSet->getContext(); in canonicalizePromotedSymbols()
752 unsigned oldNumSyms = mapOrSet->getNumSymbols(); in canonicalizePromotedSymbols()
753 SmallVector<AffineExpr, 8> dimRemapping(mapOrSet->getNumDims()); in canonicalizePromotedSymbols()
754 for (unsigned i = 0, e = mapOrSet->getNumInputs(); i != e; ++i) { in canonicalizePromotedSymbols()
755 if (i < mapOrSet->getNumDims()) { in canonicalizePromotedSymbols()
771 *mapOrSet = mapOrSet->replaceDimsAndSymbols(dimRemapping, {}, nextDim, in canonicalizePromotedSymbols()
774 assert(mapOrSet->getNumInputs() == operands->size() && in canonicalizePromotedSymbols()
[all …]