Home
last modified time | relevance | path

Searched defs:tensor (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseTensorConversion.cpp52 static Value genLvlSizeCall(OpBuilder &builder, Location loc, Value tensor, in genLvlSizeCall() argument
64 static Value genDimSizeCall(OpBuilder &builder, Location loc, Value tensor, in genDimSizeCall() argument
76 SparseTensorType stt, Value tensor, in createOrFoldLvlCall() argument
103 createOrFoldDimCall(OpBuilder & builder,Location loc,SparseTensorType stt,Value tensor,Dimension dim) createOrFoldDimCall() argument
115 fillDimSizes(OpBuilder & builder,Location loc,SparseTensorType stt,Value tensor,SmallVectorImpl<Value> & out) fillDimSizes() argument
128 getDimSizes(OpBuilder & builder,Location loc,SparseTensorType stt,Value tensor=Value ()) getDimSizes() argument
155 extractBarePtrFromTensor(OpBuilder & builder,Location loc,Value tensor) extractBarePtrFromTensor() argument
392 Value tensor = NewCallParams(rewriter, loc) matchAndRewrite() local
722 Value tensor = adaptor.getTensor(); matchAndRewrite() local
870 auto tensor = rewriter.create<bufferization::ToTensorOp>(loc, retVal[i]); matchAndRewrite() local
[all...]
H A DSparsification.cpp119 static bool findDepIdxSet(Merger &merger, TensorId tensor, Level lvl, in findDepIdxSet() argument
198 getNumNonTrivialIdxExpOnSparseLvls(AffineMap map,Value tensor) getNumNonTrivialIdxExpOnSparseLvls() argument
306 __anon93cfebb60102(OpBuilder &builder, Location loc, Value memref, Value tensor) genBuffers() argument
759 Value tensor = lhs->get(); genExpand() local
1299 Value tensor = lhs->get(); genResult() local
[all...]
H A DSparseTensorRewriting.cpp126 Location loc, ShapedType stp, Value tensor) { in sizesForTensor() argument
723 auto tensor = op.getTensor(); matchAndRewrite() local
[all...]
H A DSparseReinterpretMap.cpp249 Value tensor = op->getOpOperand(i).get(); in translateMap() local
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/Utils/
H A DSparseTensorDescriptor.h232 getTuple(Value tensor) getTuple() argument
248 getDescriptorFromTensorTuple(Value tensor) getDescriptorFromTensorTuple() argument
255 getMutDescriptorFromTensorTuple(Value tensor,SmallVectorImpl<Value> & fields) getMutDescriptorFromTensorTuple() argument
H A DLoopEmitter.cpp66 static Value genSliceOffset(OpBuilder &builder, Location loc, Value tensor, in genSliceOffset() argument
72 static Value genSliceStride(OpBuilder &builder, Location loc, Value tensor, in genSliceStride() argument
204 Value tensor = tensors[t]; makeLevelIterator() local
240 const Value tensor = tryFoldTensors(tensors[t]); initializeLoopEmit() local
305 const Value tensor = tryFoldTensors(tensors[t]); initializeLoopEmit() local
[all...]
H A DCodegenUtils.cpp550 sparse_tensor::genToMemref(OpBuilder &builder, Location loc, Value tensor) { in genToMemref() argument
558 Value tensor, Dimension dim) { in genValMemSize() argument
563 createOrFoldSliceOffsetOp(OpBuilder & builder,Location loc,Value tensor,Dimension dim) createOrFoldSliceOffsetOp() argument
573 createOrFoldSliceStrideOp(OpBuilder & builder,Location loc,Value tensor,Dimension dim) createOrFoldSliceStrideOp() argument
583 genReader(OpBuilder & builder,Location loc,SparseTensorType stt,Value tensor,SmallVectorImpl<Value> & dimSizesValues,Value & dimSizesBuffer) genReader() argument
[all...]
H A DCodegenEnv.cpp150 const TensorId tensor = makeTensorId(lhs->getOperandNumber()); in isAdmissibleTensorExp() local
/llvm-project/mlir/test/python/dialects/
H A Dpython_test.py6 import mlir.dialects.tensor as tensor global() namespace
[all...]
H A Dtensor.py6 import mlir.dialects.tensor as tensor namespace
/llvm-project/mlir/lib/ExecutionEngine/
H A DSparseTensorRuntime.cpp460 index_type sparseDimSize(void *tensor, index_type d) { in sparseDimSize()
464 void endLexInsert(void *tensor) { in endLexInsert()
468 void delSparseTensor(void *tensor) { in delSparseTensor()
/llvm-project/mlir/lib/Dialect/Tensor/IR/
H A DValueBoundsOpInterfaceImpl.cpp17 namespace tensor { namespace
[all...]
H A DTensorOps.cpp1135 if (Attribute tensor = adaptor.getTensor()) fold() local
1168 if (Attribute tensor = adaptor.getTensor()) { fold() local
2476 createCanonicalRankReducingExtractSliceOp(OpBuilder & b,Location loc,Value tensor,RankedTensorType targetType) createCanonicalRankReducingExtractSliceOp() argument
2857 createCanonicalRankReducingInsertSliceOp(OpBuilder & b,Location loc,Value tensor,Value dest) createCanonicalRankReducingInsertSliceOp() argument
[all...]
/llvm-project/mlir/lib/Dialect/Tensor/Transforms/
H A DFoldTensorSubsetOps.cpp29 namespace tensor { global() namespace
[all...]
H A DPackAndUnpackPatterns.cpp16 namespace tensor { namespace
[all...]
H A DBufferizableOpInterfaceImpl.cpp30 namespace tensor { global() namespace
[all...]
/llvm-project/mlir/python/mlir/extras/
H A Dtypes.py121 def tensor(*shape, element_type: Type = None, encoding: Optional[str] = None): global() function
/llvm-project/mlir/lib/Conversion/TosaToSCF/
H A DTosaToSCF.cpp86 static Value createTensorDim(OpBuilder &builder, Location loc, Value tensor, in createTensorDim()
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DFusion.cpp202 static void getProducerOfTensor(Value tensor, OpResult &opResult) { in getProducerOfTensor()
/llvm-project/mlir/include/mlir/Dialect/SparseTensor/Utils/
H A DMerger.h93 TensorId tensor; member
346 constexpr TensorId tensor(TensorLoopId b) const { return b % numTensors; } in tensor() function
/llvm-project/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp201 Value tensor = in matchAndRewrite() local
574 Value tensor = adaptor.getArg(); in matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizableOpInterface.cpp149 Value tensor; in allocateTensorForShapedValue() local
630 ensureToMemrefOpIsValid(Value tensor,Type memrefType) ensureToMemrefOpIsValid() argument
[all...]
/llvm-project/mlir/unittests/Dialect/SparseTensor/
H A DMergerTest.cpp139 ExprId tensor(unsigned t) const { in tensor() function in __anon93a878f70111::MergerTestBase
/llvm-project/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp592 expandRank(PatternRewriter & rewriter,Location loc,Value tensor,int64_t rank) expandRank() argument
648 getTensorDim(PatternRewriter & rewriter,Location loc,IndexPool & indexPool,Value tensor,int64_t index) getTensorDim() argument
654 getOrFoldTensorDim(PatternRewriter & rewriter,Location loc,IndexPool & indexPool,Value tensor,int64_t index) getOrFoldTensorDim() argument
[all...]
/llvm-project/mlir/lib/Dialect/SparseTensor/IR/
H A DSparseTensorDialect.cpp1234 lvlIsInBounds(Level lvl,Value tensor) lvlIsInBounds() argument
1925 build(OpBuilder & builder,OperationState & result,Value tensor,ValueRange initArgs,AffineMapAttr order,function_ref<void (OpBuilder &,Location,ValueRange,Value,ValueRange)> bodyBuilder) build() argument
[all...]

12