Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DTypeParser.cpp200 SmallVector<int64_t, 4> dimensions; in parseMemRefType() local
210 if (parseDimensionListRanked(dimensions)) in parseMemRefType()
382 SmallVector<int64_t, 4> dimensions; in parseTensorType() local
393 if (parseDimensionListRanked(dimensions)) in parseTensorType()
406 if (failed(v.verifyEncoding(dimensions, elementType, in parseTensorType()
461 SmallVector<int64_t, 4> dimensions; in parseVectorType() local
498 dimensions.push_back(value); in parseVectorDimensionList()
509 dimensions.push_back(value); in parseVectorDimensionList()
549 dimensions.push_back(-1); in parseDimensionListRanked()
554 dimensions.push_back(value); in parseDimensionListRanked()
[all …]
H A DParser.h211 ParseResult parseVectorDimensionList(SmallVectorImpl<int64_t> &dimensions,
213 ParseResult parseDimensionListRanked(SmallVectorImpl<int64_t> &dimensions,
225 ParseResult parseStrideList(SmallVectorImpl<int64_t> &dimensions);
/llvm-project-15.0.7/mlir/test/IR/
H A Dmemory-ops.mlir15 // Test alloc with dynamic dimensions.
19 // Test alloc with no dynamic dimensions and one symbol.
23 // Test alloc with dynamic dimensions and one symbol.
46 // Test alloca with dynamic dimensions.
50 // Test alloca with no dynamic dimensions and one symbol.
54 // Test alloca with dynamic dimensions and one symbol.
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbpexpect.py27 dimensions=None, run_under=None, post_spawn=None, argument
54 timeout=timeout, dimensions=dimensions, env=env)
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypeInterfaces.td54 A shape is a list of sizes corresponding to the dimensions of the container.
55 If the number of dimensions in the shape is unknown, the shape is "unranked".
56 If the number of dimensions is known, the shape "ranked". The sizes of the
57 dimensions of the shape must be positive, or kDynamicSize (in which case the
76 Returns if this type is ranked, i.e. it has a known number of dimensions.
155 /// all dimensions have known size (>= 0).
167 /// If this is a ranked type, return the number of dimensions with dynamic
181 /// dimensions, given its `index` within the shape.
H A DBuiltinTypes.td461 The number of domain dimensions and range dimensions of an index map can be
462 different, but must match the number of dimensions of the input and output
465 of each of its range dimensions onto which it maps. Index map symbols must
640 let summary = "Multi-dimensional array with a fixed number of dimensions";
682 // Known rank but unknown dimensions.
685 // Partially known dimensions.
694 // Zero-element dimensions are allowed.
886 let summary = "Multi-dimensional array with unknown dimensions";
949 on targets that support them (like TPUs). The dimensions of a vector type
951 dimensions in a vector are indicated between square brackets ([ ]), and
[all …]
/llvm-project-15.0.7/mlir/benchmark/python/
H A Dcommon.py23 def create_sparse_np_tensor(dimensions, number_of_elements): argument
28 tensor = np.zeros(dimensions, np.float64)
30 [np.random.randint(0, dimension) for dimension in dimensions]
H A Dbenchmark_sparse.py87 dimensions = [int(dim) for dim in dimensions_str.split("x")[:-1]]
89 argument = np.zeros(dimensions, np.float64)
91 argument = create_sparse_np_tensor(dimensions, 1000)
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Transforms/
H A DPasses.td46 number of dimensions. Insert RESHAPE operations to prepend dimensions
47 of size one until the number of dimensions is equal. Implements
/llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/
H A Ddsl.py152 def domain(*dimensions: DimDef):
153 if any(not isinstance(d, DimDef) for d in dimensions):
155 current_op_def().domain.extend(dimensions)
/llvm-project-15.0.7/mlir/test/Dialect/Builtin/
H A Dops.mlir32 // A 2D scalable vector with fixed-length dimensions
35 // A multi-dimensional vector with mixed scalable and fixed-length dimensions
H A Dinvalid.mlir16 // expected-error@+1 {{missing ']' closing set of scalable dimensions}}
/llvm-project-15.0.7/mlir/include/mlir/Dialect/GPU/Transforms/
H A DPasses.td34 let summary = "Greedily maps loops to GPU hardware dimensions.";
36 let description = "Greedily maps loops to GPU hardware dimensions.";
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dpty_spawn.py39 encoding=None, codec_errors='strict', dimensions=None, argument
204 self._spawn(command, args, preexec_fn, dimensions)
239 def _spawn(self, command, args=[], preexec_fn=None, dimensions=None): argument
294 if dimensions is not None:
295 kwargs['dimensions'] = dimensions
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold-designator.cpp369 ConstantObjectPointer::Dimensions dimensions(rank); in From() local
371 dimensions[j].extent = (*extents)[j]; in From()
398 dimensions[twoDim].byteStride = folded->offset() - baseOffset; in From()
402 checkOffset += (at[k] - 1) * dimensions[twoDim].byteStride; in From()
409 DEREF(symbol), elementSize, std::move(dimensions)}; in From()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SparseTensor/IR/
H A DSparseTensorAttrDefs.td63 // dimensions that should be support by the sparse storage scheme
71 // number of stored entries over all indirection dimensions). The choices
77 // value of each tensor index over all dimensions). The choices are `8`,
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DVectorInterfaces.td130 /*desc=*/[{ Returns true if at least one of the dimensions in the
185 /*desc=*/[{ Return the number of dimensions that participate in the
195 /*desc=*/[{ Return the number of leading shaped dimensions that do not
205 /*desc=*/[{ Returns true if at least one of the dimensions may be
/llvm-project-15.0.7/polly/test/JSONExporter/ImportAccesses/
H A DImportAccesses-Wrong-number-dimensions.ll3 ; CHECK: JScop file changes the number of parameter dimensions.
5 ; Verify that the JSONImporter checks if there is the right parameter dimensions.
/llvm-project-15.0.7/polly/test/GPGPU/
H A Dbounds-construction-with-ignore-param-bounds.ll11 ; to have the same parameter dimensions. To achieve this, we used to realign
17 ; dimensions correctly.
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tensor/IR/
H A DTensorOps.td55 same and static dimensions should match. The operation is invalid if
64 // Convert to a type with more known dimensions.
209 tensor by removing dimensions that are statically known to be of size 1.
211 flexibility allows to progressively drop unit dimensions while lowering
220 only drop the first unit dimensions, in order:
231 (remaining common 1 dimensions are matched eagerly)
351 /// Return the dimensions of the source that are dropped in the
548 flexibility allows to progressively drop unit dimensions while lowering
892 The result tensor dimensions are `low` + `dim` + `high` along that
1032 /// Return the dimensions with a non-zero low or high padding.
[all …]
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2001-02-06-TypeNotationDebateResp2.txt9 > The arrays with size lists the dimensions and the type in a single list.
14 > It is too confusing to have a list of 3 things, some of which are dimensions
/llvm-project-15.0.7/llvm/docs/AMDGPU/
H A Dgfx1030_srsrc_5dafbc.rst13 Image resource constant which defines the location of the image buffer in memory, its dimensions, t…
H A Dgfx1013_srsrc_5dafbc.rst13 Image resource constant which defines the location of the image buffer in memory, its dimensions, t…
H A Dgfx90a_srsrc_79ffcd.rst13 Image resource constant which defines the location of the image buffer in memory, its dimensions, t…
H A Dgfx9_srsrc_79ffcd.rst13 Image resource constant which defines the location of the image buffer in memory, its dimensions, t…

12345