Home
last modified time | relevance | path

Searched refs:SmallVector (Results 1 – 25 of 4544) sorted by relevance

12345678910>>...182

/external/angle/third_party/vulkan-deps/spirv-tools/src/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST()
60 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
61 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
74 SmallVector<uint32_t, 2> vec1 = {0, 1, 2, 3}; in TEST()
75 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
89 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
103 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
116 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST()
60 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
61 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
74 SmallVector<uint32_t, 2> vec1 = {0, 1, 2, 3}; in TEST()
75 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
89 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
103 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
116 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/util/
Dsmall_vector_test.cpp28 SmallVector<uint32_t, 2> vec; in TEST()
36 SmallVector<uint32_t, 2> vec = {0, 1, 2, 3}; in TEST()
48 SmallVector<uint32_t, 6> vec = {0, 1, 2, 3}; in TEST()
60 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
61 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
74 SmallVector<uint32_t, 2> vec1 = {0, 1, 2, 3}; in TEST()
75 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
89 SmallVector<uint32_t, 6> vec2(vec1); in TEST()
103 SmallVector<uint32_t, 2> vec2(vec1); in TEST()
116 SmallVector<uint32_t, 6> vec1 = {0, 1, 2, 3}; in TEST()
[all …]
/external/llvm-project/clang/unittests/Lex/
DDependencyDirectivesSourceMinimizerTest.cpp21 SmallVector<minimize_source_to_dependency_directives::Token, 32> Tokens; in minimizeSourceToDependencyDirectives()
30 SmallVector<char, 128> Out; in TEST()
31 SmallVector<Token, 4> Tokens; in TEST()
46 SmallVector<char, 128> Out; in TEST()
47 SmallVector<Token, 4> Tokens; in TEST()
88 SmallVector<char, 128> Out; in TEST()
89 SmallVector<Token, 4> Tokens; in TEST()
99 SmallVector<char, 128> Out; in TEST()
119 SmallVector<char, 128> Out; in TEST()
142 SmallVector<char, 128> Out; in TEST()
[all …]
/external/llvm-project/llvm/unittests/CodeGen/
DAllocationOrderTest.cpp28 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST()
29 SmallVector<MCPhysReg, 16> Order = {4, 5, 6, 7}; in TEST()
35 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST()
36 SmallVector<MCPhysReg, 16> Order = {4, 1, 5, 6}; in TEST()
42 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST()
43 SmallVector<MCPhysReg, 16> Order = {4, 5, 6, 7}; in TEST()
49 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST()
50 SmallVector<MCPhysReg, 16> Order = {4, 5, 6, 7}; in TEST()
58 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST()
59 SmallVector<MCPhysReg, 16> Order = {4, 1, 5, 6}; in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp42 SmallVector<SmallVector<BasicBlock *, 16>, 4> GroupsOfBlocks;
45 SmallVector<std::pair<std::string, SmallVector<std::string, 4>>, 4>
48 void init(const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in init()
52 SmallVector<BasicBlock *, 16> NewGroup; in init()
66 SmallVector<SmallVector<BasicBlock *, 16>, 4> MassagedGroupsOfBlocks; in BlockExtractor()
68 SmallVector<BasicBlock *, 16> NewGroup; in BlockExtractor()
75 BlockExtractor(const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in BlockExtractor()
82 BlockExtractor() : BlockExtractor(SmallVector<BasicBlock *, 0>(), false) {} in BlockExtractor()
101 const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in createBlockExtractorPass()
114 SmallVector<StringRef, 16> Lines; in loadFile()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp47 void init(const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in init()
51 SmallVector<BasicBlock *, 16> NewGroup; in init()
60 SmallVector<SmallVector<BasicBlock *, 16>, 4> GroupsOfBlocks;
63 SmallVector<std::pair<std::string, SmallVector<std::string, 4>>, 4>
80 SmallVector<SmallVector<BasicBlock *, 16>, 4> MassagedGroupsOfBlocks; in BlockExtractorLegacyPass()
82 SmallVector<BasicBlock *, 16> NewGroup; in BlockExtractorLegacyPass()
89 BlockExtractorLegacyPass(const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in BlockExtractorLegacyPass()
97 : BlockExtractorLegacyPass(SmallVector<BasicBlock *, 0>(), false) {} in BlockExtractorLegacyPass()
114 const SmallVectorImpl<SmallVector<BasicBlock *, 16>> in createBlockExtractorPass()
127 SmallVector<StringRef, 16> Lines; in loadFile()
[all …]
/external/llvm-project/mlir/unittests/Dialect/
DBroadcastShapeTest.cpp15 using llvm::SmallVector;
19 SmallVector<int64_t, 4> result; in TEST()
25 SmallVector<int64_t, 4> result; in TEST()
31 SmallVector<int64_t, 4> result; in TEST()
37 SmallVector<int64_t, 4> result; in TEST()
43 SmallVector<int64_t, 4> result; in TEST()
49 SmallVector<int64_t, 4> result; in TEST()
56 SmallVector<int64_t, 4> result; in TEST()
62 SmallVector<int64_t, 4> result; in TEST()
68 SmallVector<int64_t, 4> result; in TEST()
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dsmall_vector.h42 class SmallVector {
47 SmallVector() in SmallVector() function
52 SmallVector(const SmallVector& that) : SmallVector() { *this = that; } in SmallVector() function
54 SmallVector(SmallVector&& that) : SmallVector() { *this = std::move(that); } in SmallVector() function
56 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() function
67 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() function
79 SmallVector(std::initializer_list<T> init_list) : SmallVector() { in SmallVector() function
89 SmallVector(size_t s, const T& v) : SmallVector() { resize(s, v); } in SmallVector() function
91 virtual ~SmallVector() { in ~SmallVector()
97 SmallVector& operator=(const SmallVector& that) {
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dsmall_vector.h42 class SmallVector {
47 SmallVector() in SmallVector() function
52 SmallVector(const SmallVector& that) : SmallVector() { *this = that; } in SmallVector() function
54 SmallVector(SmallVector&& that) : SmallVector() { *this = std::move(that); } in SmallVector() function
56 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() function
67 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() function
79 SmallVector(std::initializer_list<T> init_list) : SmallVector() { in SmallVector() function
89 SmallVector(size_t s, const T& v) : SmallVector() { resize(s, v); } in SmallVector() function
91 virtual ~SmallVector() { in ~SmallVector()
97 SmallVector& operator=(const SmallVector& that) {
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dsmall_vector.h42 class SmallVector {
47 SmallVector() in SmallVector() function
52 SmallVector(const SmallVector& that) : SmallVector() { *this = that; } in SmallVector() function
54 SmallVector(SmallVector&& that) : SmallVector() { *this = std::move(that); } in SmallVector() function
56 SmallVector(const std::vector<T>& vec) : SmallVector() { in SmallVector() function
67 SmallVector(std::vector<T>&& vec) : SmallVector() { in SmallVector() function
79 SmallVector(std::initializer_list<T> init_list) : SmallVector() { in SmallVector() function
89 SmallVector(size_t s, const T& v) : SmallVector() { resize(s, v); } in SmallVector() function
91 virtual ~SmallVector() { in ~SmallVector()
97 SmallVector& operator=(const SmallVector& that) {
[all …]
/external/llvm-project/llvm/unittests/ADT/
DIteratorTest.cpp68 SmallVector<int *, 4> V; in TEST()
109 SmallVector<std::unique_ptr<int>, 4> V; in TEST()
152 SmallVector<int *, 4> V{&A[0], &A[1], &A[2], &A[3]}; in TEST()
165 SmallVector<S *, 2> V{&A[0], &A[1]}; in TEST()
177 SmallVector<int, 3> Actual(Range.begin(), Range.end()); in TEST()
178 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST()
197 SmallVector<int, 3> Actual(Range.begin(), Range.end()); in TEST()
199 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST()
206 SmallVector<int, 3> Actual(Range.begin(), Range.end()); in TEST()
207 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DConstraintSystem.h25 SmallVector<SmallVector<int64_t, 8>, 4> Constraints;
43 bool addVariableRow(const SmallVector<int64_t, 8> &R) { in addVariableRow()
59 bool addVariableRowFill(const SmallVector<int64_t, 8> &R) { in addVariableRowFill()
70 static SmallVector<int64_t, 8> negate(SmallVector<int64_t, 8> R) { in negate()
79 bool isConditionImplied(SmallVector<int64_t, 8> R);
/external/llvm-project/mlir/unittests/Analysis/
DPresburgerSetTest.cpp26 ArrayRef<SmallVector<int64_t, 4>> points) { in testUnionAtPoints()
28 for (const SmallVector<int64_t, 4> &point : points) { in testUnionAtPoints()
39 ArrayRef<SmallVector<int64_t, 4>> points) { in testIntersectAtPoints()
41 for (const SmallVector<int64_t, 4> &point : points) { in testIntersectAtPoints()
52 ArrayRef<SmallVector<int64_t, 4>> points) { in testSubtractAtPoints()
54 for (const SmallVector<int64_t, 4> &point : points) { in testSubtractAtPoints()
68 ArrayRef<SmallVector<int64_t, 4>> points) { in testComplementAtPoints()
71 for (const SmallVector<int64_t, 4> &point : points) { in testComplementAtPoints()
84 makeFACFromConstraints(unsigned dims, ArrayRef<SmallVector<int64_t, 4>> ineqs, in makeFACFromConstraints()
85 ArrayRef<SmallVector<int64_t, 4>> eqs) { in makeFACFromConstraints()
[all …]
DAffineStructuresTest.cpp23 Optional<SmallVector<int64_t, 8>> maybeSample = fac.findIntegerSample(); in checkSample()
40 makeFACFromConstraints(unsigned dims, ArrayRef<SmallVector<int64_t, 4>> ineqs, in makeFACFromConstraints()
41 ArrayRef<SmallVector<int64_t, 4>> eqs) { in makeFACFromConstraints()
56 ArrayRef<SmallVector<int64_t, 4>> ineqs, in checkPermutationsSample()
57 ArrayRef<SmallVector<int64_t, 4>> eqs) { in checkPermutationsSample()
58 SmallVector<unsigned, 4> perm(nDim); in checkPermutationsSample()
61 SmallVector<int64_t, 4> permuted; in checkPermutationsSample()
68 SmallVector<SmallVector<int64_t, 4>, 4> permutedIneqs, permutedEqs; in checkPermutationsSample()
369 SmallVector<int64_t, 8> redundantConstraint = {0, 1, 0}; in TEST()
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
DLinalgOps.h44 std::function<SmallVector<Range, 4>(OpBuilder &, Location)>;
47 SmallVector<Value, 4> applyMapToValues(OpBuilder &b, Location loc,
59 using ReassociationIndices = SmallVector<int64_t, 2>;
60 using ReassociationExprs = SmallVector<AffineExpr, 2>;
89 SmallVector<AffineExpr, 4> makeAffineDimExprs(unsigned num, unsigned &startIdx,
96 extern SmallVector<AffineExpr, 4>
106 SmallVector<AffineExpr, 4> concat(ArrayRef<AffineExpr> a,
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DDropUnitDims.cpp108 SmallVector<AffineExpr, 4> dimReplacements; in replaceUnitDims()
119 SmallVector<AffineExpr, 4> symReplacements; in replaceUnitDims()
124 SmallVector<AffineMap, 4> newIndexingMaps; in replaceUnitDims()
167 SmallVector<unsigned, 8> unitDimsToErase(unitDims.begin(), unitDims.end()); in replaceBlockArgForUnitDimLoops()
181 SmallVector<AffineMap, 4> indexingMaps = op.getIndexingMaps(); in matchAndRewrite()
191 SmallVector<int64_t, 4> dims; in matchAndRewrite()
215 SmallVector<Attribute, 4> newIteratorTypes; in matchAndRewrite()
252 SmallVector<AffineExpr, 2> reassociations; in replaceUnitExtents()
253 SmallVector<Attribute, 4> reassociationMaps; in replaceUnitExtents()
254 SmallVector<AffineExpr, 4> newIndexExprs; in replaceUnitExtents()
[all …]
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorUtils.cpp44 SmallVector<int64_t, 8> mlir::computeStrides(ArrayRef<int64_t> shape) { in computeStrides()
47 SmallVector<int64_t, 8> tmp; in computeStrides()
55 return SmallVector<int64_t, 8>(tmp.rbegin(), tmp.rend()); in computeStrides()
58 SmallVector<int64_t, 4> mlir::computeStrides(ArrayRef<int64_t> shape, in computeStrides()
62 SmallVector<int64_t, 4> sliceDimCounts(rank); in computeStrides()
66 SmallVector<int64_t, 4> sliceStrides(rank); in computeStrides()
81 SmallVector<int64_t, 4> mlir::delinearize(ArrayRef<int64_t> sliceStrides, in delinearize()
84 SmallVector<int64_t, 4> vectorOffsets(rank); in delinearize()
93 SmallVector<int64_t, 4> mlir::computeElementOffsetsFromVectorSliceOffsets( in computeElementOffsetsFromVectorSliceOffsets()
95 SmallVector<int64_t, 4> result; in computeElementOffsetsFromVectorSliceOffsets()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dperception_ops_utils_test.cc37 mlir::Builder* builder, const SmallVector<mlir::Type, NInput>& input_types, in createMaxUnpoolingFunc()
38 const SmallVector<mlir::Type, NOutput>& output_types) { in createMaxUnpoolingFunc()
52 const SmallVector<int64_t, 4>& input_shape, in createMaxUnpoolingFunc()
53 const SmallVector<int64_t, 4>& output_shape) { in createMaxUnpoolingFunc()
57 SmallVector<mlir::Type, 2> input_types{input_type, indices_type}; in createMaxUnpoolingFunc()
58 SmallVector<mlir::Type, 1> output_types{output_type}; in createMaxUnpoolingFunc()
64 const SmallVector<int32_t, N>& values) { in createInt32Array()
65 SmallVector<Attribute, N> ret; in createInt32Array()
74 const SmallVector<int64_t, N>& values) { in createInt64Array()
75 SmallVector<Attribute, N> ret; in createInt64Array()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLoc.h29 SmallVector<unsigned char, 4> Loc;
38 SmallVector<Entry, 2> Entries;
41 typedef SmallVector<LocationList, 4> LocationLists;
63 SmallVector<unsigned char, 4> Loc;
68 SmallVector<Entry, 2> Entries;
71 typedef SmallVector<LocationList, 4> LocationLists;
/external/llvm-project/mlir/include/mlir/Dialect/Vector/
DVectorUtils.h37 SmallVector<int64_t, 8> computeStrides(ArrayRef<int64_t> shape);
42 SmallVector<int64_t, 4> computeStrides(ArrayRef<int64_t> shape,
51 SmallVector<int64_t, 4> delinearize(ArrayRef<int64_t> strides,
56 SmallVector<int64_t, 4>
62 SmallVector<int64_t, 4> computeSliceSizes(ArrayRef<int64_t> shape,
78 Optional<SmallVector<int64_t, 4>> shapeRatio(ArrayRef<int64_t> superShape,
85 Optional<SmallVector<int64_t, 4>> shapeRatio(VectorType superVectorType,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallVector.cpp25 static_assert(sizeof(SmallVector<void *, 0>) ==
28 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
30 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
32 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
34 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
36 static_assert(sizeof(SmallVector<void *, 1>) ==
/external/llvm-project/llvm/lib/Support/
DSmallVector.cpp29 static_assert(sizeof(SmallVector<void *, 0>) ==
32 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
34 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
36 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B),
38 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B),
40 static_assert(sizeof(SmallVector<void *, 1>) ==
44 static_assert(sizeof(SmallVector<char, 0>) ==
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h90 SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 1> Ranges;
98 SmallVector<LocalVarDefRange, 1> DefRanges;
108 SmallVector<LocalVariable, 1> InlinedLocals;
109 SmallVector<const DILocation *, 1> ChildSites;
119 SmallVector<LocalVariable, 1> Locals;
120 SmallVector<CVGlobalVariable, 1> Globals;
121 SmallVector<LexicalBlock *, 1> Children;
140 SmallVector<const DILocation *, 1> ChildSites;
142 SmallVector<LocalVariable, 1> Locals;
143 SmallVector<CVGlobalVariable, 1> Globals;
[all …]
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h90 SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 1> Ranges;
98 SmallVector<LocalVarDefRange, 1> DefRanges;
108 SmallVector<LocalVariable, 1> InlinedLocals;
109 SmallVector<const DILocation *, 1> ChildSites;
119 SmallVector<LocalVariable, 1> Locals;
120 SmallVector<CVGlobalVariable, 1> Globals;
121 SmallVector<LexicalBlock *, 1> Children;
140 SmallVector<const DILocation *, 1> ChildSites;
142 SmallVector<LocalVariable, 1> Locals;
143 SmallVector<CVGlobalVariable, 1> Globals;
[all …]

12345678910>>...182