Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 94) sorted by relevance

1234

/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/Utils/
H A DIterationGraphSorter.cpp34 if (pickedDim == nullptr || pickIterType == iterTypes[expr.getPosition()]) in visitDimExpr()
224 const unsigned f = fd.getPosition(); in addConstraints()
225 const unsigned t = td.getPosition(); in addConstraints()
236 const unsigned fldx = fexp.getPosition(); in addConstraints()
240 const unsigned tldx = texp.getPosition(); in addConstraints()
252 const unsigned f = fd.getPosition(); in addConstraints()
256 const unsigned t = td.getPosition(); in addConstraints()
263 const unsigned f = fd.getPosition(); in addConstraints()
267 const unsigned t = td.getPosition(); in addConstraints()
H A DCodegenUtils.cpp666 d = cast<AffineDimExpr>(exp).getPosition(); in genMapBuffers()
671 d = cast<AffineDimExpr>(floor.getLHS()).getPosition(); in genMapBuffers()
677 d = cast<AffineDimExpr>(mod.getLHS()).getPosition(); in genMapBuffers()
711 l = cast<AffineDimExpr>(exp).getPosition(); in genMapBuffers()
719 ll = cast<AffineDimExpr>(mul.getLHS()).getPosition(); in genMapBuffers()
721 l = cast<AffineDimExpr>(add.getRHS()).getPosition(); in genMapBuffers()
/llvm-project/mlir/lib/Dialect/Tensor/IR/
H A DTensorInferTypeOpInterfaceImpl.cpp32 cast<AffineDimExpr>(map.getResults().front()).getPosition(); in getExpandedDimToCollapsedDimMap()
33 unsigned endPos = cast<AffineDimExpr>(map.getResults().back()).getPosition(); in getExpandedDimToCollapsedDimMap()
/llvm-project/mlir/lib/Dialect/Arith/Transforms/
H A DReifyValueBounds.cpp29 return operands[cast<AffineDimExpr>(e).getPosition()]; in buildArithValue()
31 return operands[cast<AffineSymbolExpr>(e).getPosition() + in buildArithValue()
109 return static_cast<OpFoldResult>(operands[expr.getPosition()]); in reifyValueBound()
112 operands[expr.getPosition() + boundMap.getNumDims()]); in reifyValueBound()
/llvm-project/clang/lib/Format/
H A DFormatTokenSource.h56 virtual unsigned getPosition() = 0;
130 unsigned getPosition() override { in getPosition() function
237 unsigned getPosition() override { return PreviousTokenSource->getPosition(); } in getPosition() function
/llvm-project/mlir/lib/IR/
H A DAffineMap.cpp94 operandConsts[cast<AffineDimExpr>(expr).getPosition()])) in constantFoldImpl()
100 cast<AffineSymbolExpr>(expr).getPosition()])) in constantFoldImpl()
194 if (dimExpr.getPosition() != suffixStart + resIdx)
240 if (dimExpr.getPosition() < projectionStart) in isPermutationOfMinorIdentityWithBroadcasting()
243 dimExpr.getPosition() - projectionStart + leadingBroadcast; in isPermutationOfMinorIdentityWithBroadcasting()
351 if (!expr || expr.getPosition() != i) in isSymbolIdentity()
363 if (!expr || expr.getPosition() != i)
416 return cast<AffineDimExpr>(getResult(idx)).getPosition(); in getResultPosition()
634 if (seen[dim.getPosition()]) in getMajorSubMap()
636 seen[dim.getPosition()] in getMajorSubMap()
[all...]
H A DAffineExpr.cpp95 unsigned dimId = llvm::cast<AffineDimExpr>(*this).getPosition(); in replaceDimsAndSymbols()
101 unsigned symId = llvm::cast<AffineSymbolExpr>(*this).getPosition(); in replaceDimsAndSymbols()
348 unsigned AffineDimExpr::getPosition() const { in getPosition()
372 return (cast<AffineSymbolExpr>(expr).getPosition() == symbolPos); in isDivisibleBySymbol()
594 unsigned symbolPos = symbolExpr.getPosition(); in getAffineDimOrSymbol()
623 unsigned AffineSymbolExpr::getPosition() const { in getValue()
1189 lhsPos = cast<AffineDimExpr>(lhs).getPosition(); in getSemiAffineExprFromFlatForm()
1194 lhsPos = cast<AffineSymbolExpr>(lhs).getPosition(); in getSemiAffineExprFromFlatForm()
1206 lhsPos = cast<AffineDimExpr>(lhs).getPosition(); in getSemiAffineExprFromFlatForm()
1207 rhsPos = cast<AffineSymbolExpr>(rhs).getPosition(); in getSemiAffineExprFromFlatForm()
346 unsigned AffineDimExpr::getPosition() const { getPosition() function in AffineDimExpr
611 unsigned AffineSymbolExpr::getPosition() const { getPosition() function in AffineSymbolExpr
[all...]
/llvm-project/mlir/lib/Dialect/Linalg/IR/
H A DLinalgInterfaces.cpp133 int64_t pos = expr.getPosition(); in isaElemwiseSingleUnaryOrBinaryOpInterface()
136 position.push_back(expr.getPosition()); in isaElemwiseSingleUnaryOrBinaryOpInterface()
176 permutation[expr.getPosition()] = i; in getSourceSkipUnary()
364 if (iterators[d.getPosition()] == iter && in inferContractionDimsImpl()
366 return e.isFunctionOfDim(d.getPosition()); in inferContractionDimsImpl()
368 res.insert(d.getPosition()); in inferContractionDimsImpl()
390 iterators[dim.getPosition()] = par;
615 unsigned position = dimExpr.getPosition(); in getConstantsFromExprList()
642 int64_t dim = dimExpr.getPosition(); in inferConvolutionDimsImpl()
666 int64_t dim = dimExpr.getPosition(); in inferConvolutionDimsImpl()
[all...]
H A DValueBoundsOpInterfaceImpl.cpp35 .getPosition(); in populateBoundsForIndexValue()
/llvm-project/llvm/tools/llvm-xray/
H A Dxray-extract.cpp94 if (Demangle.getPosition() < NoDemangle.getPosition()) in __anond7ec54c40202()
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DSpecialize.cpp123 auto posRowDim = cast<AffineDimExpr>(exprOfRowDim).getPosition(); in matchOperandMap()
124 auto posColDim = cast<AffineDimExpr>(exprOfColDim).getPosition(); in matchOperandMap()
215 cast<AffineDimExpr>(expr).getPosition() != i) in specializeLinalgContractions()
H A DFusion.cpp93 if (loopDepth == cast<AffineDimExpr>(en.value()).getPosition()) { in getShapeDefiningLoopRange()
189 unsigned posInProducerLoop = cast<AffineDimExpr>(en.value()).getPosition(); in fuse()
H A DElementwiseOpFusion.cpp189 coveredDims[dimExpr.getPosition()] = true; in generateFusedElementwiseOpRegion()
583 iteratorTypes[cast<AffineDimExpr>(expr).getPosition()]); in compute()
644 unsigned pos = cast<AffineDimExpr>(resultExpr.value()).getPosition(); in isLinalgOpExpandable()
702 unsigned pos = cast<AffineDimExpr>(expr).getPosition(); in getReassociationForExpansion()
721 unsigned dim = cast<AffineDimExpr>(expr).getPosition(); in updateExpandedGenericOpRegion()
740 unsigned dim = cast<AffineDimExpr>(expr).getPosition(); in updateExpandedGenericOpRegion()
1154 return cast<AffineDimExpr>(indexingMap.getResults()[pos]).getPosition(); in isDimSequencePreserved()
1176 unsigned dimInMapStart = cast<AffineDimExpr>(expr.value()).getPosition();
1186 .getPosition();
1480 unsigned dim = cast<AffineDimExpr>(expr).getPosition(); in getCollapsedOpOperand()
[all...]
H A DDataLayoutPropagation.cpp85 cast<AffineDimExpr>(exprs[innerDimPos]).getPosition(); in getPackingInfoFromOperand()
133 permutedOuterDims.push_back(dimExpr.getPosition()); in getPackingInfoFromOperand()
184 currentPositionTileLoops[dimExpr.getPosition()] = pos; in computeOuterDims()
245 int64_t dimPos = dimExpr.getPosition(); in getOrCreatePackedViewOfOperand()
271 int64_t dimPos = dimExpr.getPosition(); in getOrCreatePackedViewOfOperand()
H A DBubbleUpExtractSlice.cpp110 unsigned position = cast<AffineDimExpr>(result.value()).getPosition(); in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Affine/Transforms/
H A DReifyValueBounds.cpp73 return static_cast<OpFoldResult>(operands[expr.getPosition()]); in materializeComputedBound()
76 operands[expr.getPosition() + boundMap.getNumDims()]); in materializeComputedBound()
/llvm-project/mlir/lib/CAPI/IR/
H A DAffineExpr.cpp77 return cast<AffineDimExpr>(unwrap(affineExpr)).getPosition(); in mlirAffineDimExprGetPosition()
93 return cast<AffineSymbolExpr>(unwrap(affineExpr)).getPosition(); in mlirAffineSymbolExprGetPosition()
/llvm-project/mlir/lib/Dialect/Mesh/Interfaces/
H A DShardingInterface.cpp62 unsigned position = cast<AffineDimExpr>(dimExpr).getPosition(); in checkOperandAffineExprRecursively()
69 unsigned position = cast<AffineDimExpr>(expr).getPosition(); in checkOperandAffineExprRecursively()
296 unsigned index = dim.getPosition(); in defaultGetShardingOption()
418 unsigned loopIdx = dim.getPosition(); in getShardingAttribute()
624 unsigned loopIteratorIdx = affineDimExpr.getPosition(); in getMeshAxisAssignmentForLoopIterators()
/llvm-project/mlir/include/mlir/IR/
H A DAffineMap.h682 result.push_back(source[dimExpr.getPosition()]); in getMaxDimAndSymbol()
703 maxDim = std::max(maxDim, static_cast<int64_t>(d.getPosition()));
705 maxSym = std::max(maxSym, static_cast<int64_t>(s.getPosition()));
/llvm-project/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp103 int64_t index = cast<AffineDimExpr>(dimExpr).getPosition(); in buildStore()
148 int64_t index = cast<AffineDimExpr>(dimExpr).getPosition(); in buildLoad()
452 unsigned indexPos = indexExpr.getPosition(); in getDistributedType()
453 unsigned vectorPos = cast<AffineDimExpr>(std::get<1>(it)).getPosition(); in getDistributedType()
788 unsigned indexPos = indexExpr.getPosition(); in delinearizeLaneId()
789 unsigned vectorPos = cast<AffineDimExpr>(std::get<1>(it)).getPosition(); in delinearizeLaneId()
1269 if (auto pos = extractOp.getPosition()) { in matchAndRewrite()
1496 if (auto pos = insertOp.getPosition()) { in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Utils/
H A DReshapeOpsUtils.cpp153 pos = std::max(pos, d.getPosition()); in getMaxPosOfType()
177 indices.push_back(cast<AffineDimExpr>(expr).getPosition()); in convertReassociationMapsToIndices()
212 if (!d || d.getPosition() != nextExpectedDim++) { in isReassociationValid()
/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp310 if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition()) in processOptionImpl()
329 EnableAllViews.getPosition() < EnableAllStats.getPosition() in processViewOptions()
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseReinterpretMap.cpp63 void visitDimExpr(AffineDimExpr expr) { dims.set(expr.getPosition()); } in visitDimExpr()
475 unsigned loopID = llvm::cast<AffineDimExpr>(expr).getPosition(); in matchAndRewrite()
503 unsigned loopId = llvm::cast<AffineDimExpr>(l).getPosition(); in isAdmissibleOrder()
557 unsigned lvl = llvm::cast<AffineDimExpr>(expr).getPosition(); in resolveCycle()
/llvm-project/mlir/lib/Dialect/Affine/Analysis/
H A DLoopAnalysis.cpp216 exprOperands.push_back(mapOperands[dimExpr.getPosition()]); in isContiguousAccess()
218 exprOperands.push_back(mapOperands[numDims + symExpr.getPosition()]); in isContiguousAccess()
/llvm-project/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp1805 unsigned JDIdx = JITDylibs.getPosition(JDItr - JITDylibs.begin());
1836 AbsoluteDefs.getPosition(AbsDefItr - AbsoluteDefs.begin()); in addLibraries()
1885 unsigned AliasArgIdx = Aliases.getPosition(AliasItr - Aliases.begin()); in addLibraries()
1943 unsigned SCArgIdx = SectCreate.getPosition(SCItr - SectCreate.begin()); in addLibraries()
2012 InputFiles.getPosition(InputFileItr - InputFiles.begin()); in addLibraries()
2081 LibrarySearchPaths.getPosition(LSPItr - LibrarySearchPaths.begin());
2126 LL.Position = InputFiles.getPosition(InputFileItr - InputFiles.begin()); in getTargetInfo()
2138 LL.Position = LoadHidden.getPosition(LibItr - LoadHidden.begin()); in getTargetInfo()
2152 LL.Position = Libraries.getPosition(LibItr - Libraries.begin()); in getTargetInfo()
2165 LibrariesHidden.getPosition(LibHiddenIt in getTargetInfo()
[all...]

1234