Home
last modified time | relevance | path

Searched refs:to_vector (Results 1 – 25 of 120) sorted by relevance

12345

/llvm-project-15.0.7/mlir/lib/IR/
H A DBuilders.cpp210 auto attrs = llvm::to_vector<8>(llvm::map_range( in getBoolArrayAttr()
216 auto attrs = llvm::to_vector<8>(llvm::map_range( in getI32ArrayAttr()
221 auto attrs = llvm::to_vector<8>(llvm::map_range( in getI64ArrayAttr()
227 auto attrs = llvm::to_vector<8>( in getIndexArrayAttr()
235 auto attrs = llvm::to_vector<8>(llvm::map_range( in getF32ArrayAttr()
241 auto attrs = llvm::to_vector<8>(llvm::map_range( in getF64ArrayAttr()
247 auto attrs = llvm::to_vector<8>(llvm::map_range( in getStrArrayAttr()
253 auto attrs = llvm::to_vector<8>(llvm::map_range( in getTypeArrayAttr()
259 auto attrs = llvm::to_vector<8>(llvm::map_range( in getAffineMapArrayAttr()
H A DTypeUtilities.cpp120 auto shapedTypes = llvm::to_vector<8>(llvm::map_range( in verifyCompatibleShapes()
143 auto shapes = llvm::to_vector<8>(llvm::make_filter_range( in verifyCompatibleShapes()
156 auto dims = llvm::to_vector<8>(llvm::map_range( in verifyCompatibleShapes()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DSplit.cpp51 getAsOpFoldResult(llvm::to_vector(splitIterationSpace)))); in getOperandSlices()
85 SmallVector<Value> operands = llvm::to_vector( in createSplitPart()
121 llvm::to_vector(iterationSpaceShapes); in splitOp()
122 SmallVector<Value> originalResults = llvm::to_vector( in splitOp()
H A DTilingInterfaceImpl.cpp41 return llvm::to_vector( in getLoopIteratorTypes()
57 return llvm::to_vector(llvm::map_range( in getIterationDomain()
80 SmallVector<Type> resultTensorTypes = llvm::to_vector(llvm::map_range( in getTiledImplementation()
119 llvm::to_vector(llvm::map_range(sizeVals, [&](Value v) { in getResultTilePosition()
H A DDecomposeLinalgOps.cpp198 SmallVector<Type> resultTypes = llvm::to_vector(genericOp.getResultTypes()); in createPeeledGenericOp()
214 SmallVector<Value> residualGenericOpOperands = llvm::to_vector( in createResidualGenericOp()
227 auto indexingMaps = llvm::to_vector( in createResidualGenericOp()
328 yieldedVals.append(llvm::to_vector( in matchAndRewrite()
H A DElementwiseToLinalg.cpp67 auto staticShape = llvm::to_vector<4>(rankedTensorType.getShape()); in getOrCreateOperandsMatchingResultTypes()
101 auto resultTypes = llvm::to_vector<6>( in matchAndRewrite()
H A DDropUnitDims.cpp141 llvm::to_vector<4>(llvm::map_range( in replaceUnitDims()
309 llvm::to_vector<4>(attr.cast<AffineMapAttr>().getValue().getResults())); in convertAffineMapArrayToExprs()
388 auto maps = llvm::to_vector<8>(llvm::map_range( in matchAndRewrite()
434 llvm::to_vector<4>( in matchAndRewrite()
H A DGeneralization.cpp50 SmallVector<StringRef> iterators = llvm::to_vector<4>( in generalizeNamedOp()
H A DElementwiseOpFusion.cpp590 SmallVector<AffineExpr, 4> expandedExprs = llvm::to_vector<4>( in getIndexingMapInExpandedOp()
629 SmallVector<int64_t, 2> indices = llvm::to_vector<2>( in getReassociationForExpansion()
711 SmallVector<AffineMap, 4> expandedOpIndexingMaps = llvm::to_vector<4>( in fuseWithReshapeByExpansion()
903 ReassociationIndices domainReassociation = llvm::to_vector<4>( in getDomainReassociation()
1301 auto indexOps = llvm::to_vector(block->getOps<linalg::IndexOp>()); in generateCollapsedIndexingRegion()
1354 auto indexingMaps = llvm::to_vector( in collapseGenericOpIterationDims()
1362 auto inputOperands = llvm::to_vector( in collapseGenericOpIterationDims()
1402 SmallVector<Value> loopBound = llvm::to_vector( in collapseGenericOpIterationDims()
H A DTransforms.cpp129 return llvm::to_vector<4>(map_range(tileSizes, [&](int64_t s) { in setTileSizes()
500 ? llvm::to_vector<6>(llvm::seq<int64_t>(0, rootOp.getNumLoops())) in returningMatchAndRewrite()
897 auto strides = llvm::to_vector<4>(convOp.strides().getValues<int64_t>()); in returningMatchAndRewrite()
901 auto dilations = llvm::to_vector<4>(convOp.dilations().getValues<int64_t>()); in returningMatchAndRewrite()
967 auto strides = llvm::to_vector<4>(convOp.strides().getValues<int64_t>()); in returningMatchAndRewrite()
971 auto dilations = llvm::to_vector<4>(convOp.dilations().getValues<int64_t>()); in returningMatchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferResultsToOutParams.cpp64 auto newArgTypes = llvm::to_vector<6>( in updateFuncOp()
151 auto newOperands = llvm::to_vector<6>(op.getOperands()); in updateCalls()
153 auto newResultTypes = llvm::to_vector<6>(llvm::map_range( in updateCalls()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DAffineMap.h223 llvm::to_vector<4>(llvm::map_range(
235 llvm::to_vector<4>(llvm::map_range(
247 auto exprs = llvm::to_vector<4>(getResults()); in dropResult()
255 auto exprs = llvm::to_vector<4>(getResults()); in insertResult()
/llvm-project-15.0.7/mlir/lib/Dialect/Utils/
H A DStaticValueUtils.cpp46 return llvm::to_vector<4>( in extractFromI64ArrayAttr()
64 return llvm::to_vector<4>( in getAsOpFoldResult()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorInferTypeOpInterfaceImpl.cpp65 return llvm::to_vector<4>(llvm::map_range( in getCollapsedOutputShapeFromInputShape()
117 return llvm::to_vector<4>(llvm::map_range( in getExpandedOutputShapeFromInputShape()
141 return llvm::to_vector<4>( in getAsValues()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestRegions.cpp30 llvm::to_vector(module.getOps<func::FuncOp>()); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorMultiDimReductionTransforms.cpp49 auto reductionDims = llvm::to_vector<4>(llvm::map_range( in matchAndRewrite()
65 llvm::to_vector<4>(llvm::seq<int64_t>(0, parallelDims.size())))) in matchAndRewrite()
70 llvm::to_vector<4>(llvm::seq<int64_t>(0, parallelDims.size())))) in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/lib/Dialect/SPIRV/
H A DTestModuleCombiner.cpp36 auto modules = llvm::to_vector<4>(getOperation().getOps<spirv::ModuleOp>()); in runOnOperation()
/llvm-project-15.0.7/mlir/test/lib/Transforms/
H A DTestControlFlowSink.cpp54 llvm::to_vector(RegionRange(op->getRegions())); in runOnOperation()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringSetTest.cpp26 auto Keys = to_vector<4>(Set.keys()); in TEST_F()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp655 auto lhsShape = llvm::to_vector<6>( in fold()
657 auto rhsShape = llvm::to_vector<6>( in fold()
692 auto newOperands = llvm::to_vector<8>( in matchAndRewrite()
748 llvm::to_vector<8>(constShape.getShape().getValues<int64_t>()), in matchAndRewrite()
794 auto newOperands = llvm::to_vector<8>( in matchAndRewrite()
854 auto lhsShape = llvm::to_vector<6>( in fold()
856 auto rhsShape = llvm::to_vector<6>( in fold()
980 extents.push_back(llvm::to_vector<6>( in fold()
1713 auto shapeVec = llvm::to_vector<6>( in fold()
1738 auto shape = llvm::to_vector<6>( in fold()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DTileUsingInterface.cpp37 return llvm::to_vector<4>(map_range(tileSizes, [&](int64_t s) { in setTileSizes()
50 SmallVector<unsigned> filledVector = llvm::to_vector(interchangeVector); in fillInterchangeVector()
65 return llvm::to_vector( in applyPermutationToVector()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp1496 SmallVector<OpFoldResult> strideValues = llvm::to_vector<4>( in build()
1508 SmallVector<OpFoldResult> sizeValues = llvm::to_vector<4>( in build()
1510 SmallVector<OpFoldResult> strideValues = llvm::to_vector<4>( in build()
1740 auto resultStrides = llvm::to_vector<8>(llvm::reverse(reverseResultStrides)); in computeExpandedLayoutMap()
2241 SmallVector<OpFoldResult> offsetValues = llvm::to_vector<4>( in build()
2249 SmallVector<OpFoldResult> strideValues = llvm::to_vector<4>( in build()
2263 SmallVector<OpFoldResult> offsetValues = llvm::to_vector<4>( in build()
2271 SmallVector<OpFoldResult> strideValues = llvm::to_vector<4>( in build()
2285 SmallVector<OpFoldResult> offsetValues = llvm::to_vector<4>( in build()
2287 SmallVector<OpFoldResult> sizeValues = llvm::to_vector<4>( in build()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/
H A DLinalgTransformOps.cpp208 auto sequence = llvm::to_vector(llvm::seq<int64_t>(0, permutation.size())); in verify()
420 auto sequence = llvm::to_vector(llvm::seq<unsigned>(0, permutation.size())); in verify()
614 auto sequence = llvm::to_vector(llvm::seq<int64_t>(0, transpose.size())); in verify()
644 llvm::to_vector(getUseFullTileBuffers().getAsValueRange<BoolAttr>())); in applyToOne()
698 splitPoints = llvm::to_vector(llvm::map_range( in apply()
1007 llvm::to_vector(maybeThreadDimMappingAttr in applyToOne()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/Transforms/
H A DTileUsingInterface.h58 interchangeVector = llvm::to_vector(interchange); in setInterchange()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaFoldConstantTranspose.cpp43 auto permValues = llvm::to_vector<6>(llvm::map_range( in matchAndRewrite()

12345