Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 1389) sorted by relevance

12345678910>>...56

/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinAttributes.cpp45 MlirAttribute const *elements) { in mlirArrayAttrGet() argument
49 elements, attrs))); in mlirArrayAttrGet()
73 attributes.emplace_back(unwrap(elements[i].name), in mlirDictionaryAttrGet()
74 unwrap(elements[i].attribute)); in mlirDictionaryAttrGet()
410 SmallVector<bool, 8> values(elements, elements + numElements); in mlirDenseElementsAttrBoolGet()
419 const T *elements) { in getDenseAttribute() argument
428 return getDenseAttribute(shapedType, numElements, elements); in mlirDenseElementsAttrUInt8Get()
433 return getDenseAttribute(shapedType, numElements, elements); in mlirDenseElementsAttrInt8Get()
438 return getDenseAttribute(shapedType, numElements, elements); in mlirDenseElementsAttrUInt16Get()
479 const void *buffer = static_cast<const void *>(elements); in mlirDenseElementsAttrBFloat16Get()
[all …]
/llvm-project-15.0.7/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/
H A Dppc32_elf_rel_addr16.s21 # rtdyld-check: decode_operand(insn_lo, 2) = elements[15:0]
22 la 4, elements@l(4)
30 .type elements,@object # @elements
32 .globl elements
34 elements: label
43 .size elements, 32
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dirtranslator-extract-used-by-dbg.ll31 …_void", scope: !5, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !8)
39 …ion", scope: !12, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !13)
53 …mat", scope: !26, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !28)
59 …ult", scope: !32, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !33)
64 …ent", scope: !37, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !40)
73 …ind", scope: !46, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !49)
111 …ate", scope: !84, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !85)
118 …Fmt", scope: !91, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !93)
303 !275 = !DICompositeType(tag: DW_TAG_array_type, baseType: !198, size: 64, align: 32, elements: !276)
340 !312 = !DICompositeType(tag: DW_TAG_array_type, baseType: !313, size: 192, align: 64, elements: !31…
[all …]
/llvm-project-15.0.7/clang/test/SemaHLSL/BuiltIns/
H A Dvector-constructors-erros.hlsl12 …float2 BrokenVec = float2(1.0, 2.0, 3.0); // expected-error{{excess elements in vector initializer…
13 …float3 NormieVec = float3(LilVec, 3.0, 4.0); // expected-error{{excess elements in vector initiali…
14 …e = float3(3.0, 4.0); // expected-error{{too few elements in vector initialization (expected 3 ele…
15 …float3 OverwhemledNormie = float3(3.0, 4.0, 5.0, 6.0); // expected-error{{excess elements in vecto…
21 …n from 'S2' to 'float'}} expected-error{{too few elements in vector initialization (expected 2 ele…
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DBuiltinAttributes.h52 MlirContext ctx, intptr_t numElements, MlirAttribute const *elements);
361 MlirType shapedType, intptr_t numElements, const int *elements);
363 MlirType shapedType, intptr_t numElements, const uint8_t *elements);
365 MlirType shapedType, intptr_t numElements, const int8_t *elements);
367 MlirType shapedType, intptr_t numElements, const uint16_t *elements);
369 MlirType shapedType, intptr_t numElements, const int16_t *elements);
371 MlirType shapedType, intptr_t numElements, const uint32_t *elements);
373 MlirType shapedType, intptr_t numElements, const int32_t *elements);
377 MlirType shapedType, intptr_t numElements, const int64_t *elements);
379 MlirType shapedType, intptr_t numElements, const float *elements);
[all …]
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DMessageObjects.cpp26 auto &elements = *elements_or_error; in create() local
27 if (elements["pid"].getAsInteger(16, process_info.m_pid)) in create()
39 if (elements["ptrsize"].getAsInteger(10, process_info.m_ptrsize)) in create()
42 process_info.m_triple = fromHex(elements["triple"]); in create()
43 StringRef endian_str = elements["endian"]; in create()
337 SmallVector<StringRef, 20> elements; in SplitUniquePairList() local
338 str.split(elements, ';'); in SplitUniquePairList()
341 for (StringRef s : elements) { in SplitUniquePairList()
353 SmallVector<StringRef, 20> elements; in SplitPairList() local
354 str.split(elements, ';'); in SplitPairList()
[all …]
/llvm-project-15.0.7/mlir/lib/Support/
H A DInterfaceSupport.cpp22 MutableArrayRef<std::pair<TypeID, void *>> elements) in InterfaceMap() argument
23 : interfaces(elements.begin(), elements.end()) { in InterfaceMap()
30 ArrayRef<std::pair<TypeID, void *>> elements) { in insert() argument
32 for (auto &element : elements) { in insert()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dinitial-image.cpp21 auto elements{TotalElementCount(x.shape())}; in Add() local
22 auto elementBytes{bytes > 0 ? bytes / elements : 0}; in Add()
23 if (elements * elementBytes != bytes) { in Add()
27 for (; elements-- > 0; x.IncrementSubscripts(at)) { in Add()
91 std::size_t elements{TotalElementCount(extents_)}; in Test() local
92 std::vector<Scalar> typedValue(elements); in Test()
106 for (std::size_t j{0}; j < elements; ++j, at += stride) { in Test()
112 for (std::size_t j{0}; j < elements; ++j, at += stride) { in Test()
122 for (std::size_t j{0}; j < elements; ++j, at += stride) { in Test()
135 for (std::size_t j{0}; j < elements; ++j) { in Test()
[all …]
H A Dfold-reduction.h54 std::vector<typename Constant<T>::Element> elements; variable
66 elements[j] = folded->At(at);
72 std::move(elements), ConstantSubscripts{folded->shape()}};
75 std::move(elements), ConstantSubscripts{folded->shape()}};
92 std::vector<typename Constant<T>::Element> elements; in DoReduction() local
103 elements.push_back(identity); in DoReduction()
105 accumulator(elements.back(), at); in DoReduction()
109 elements.push_back(identity); in DoReduction()
112 accumulator(elements.back(), at); in DoReduction()
117 std::move(elements), std::move(resultShape)}; in DoReduction()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dderived.cpp20 std::size_t elements{instance.Elements()}; in Initialize() local
31 for (std::size_t j{0}; j < elements; ++j) { in Initialize()
50 for (std::size_t j{0}; j < elements; ++j) { in Initialize()
70 for (std::size_t j{0}; j < elements; ++j) { in Initialize()
87 for (std::size_t j{0}; j < elements; ++j) { in Initialize()
117 std::size_t elements{descriptor.Elements()}; in CallFinalSubroutine() local
125 for (std::size_t j{0}; j < elements; ++j) { in CallFinalSubroutine()
165 std::size_t elements{descriptor.Elements()}; in Finalize() local
199 for (std::size_t j{0}; j < elements; ++j) { in Finalize()
226 std::size_t elements{descriptor.Elements()}; in Destroy() local
[all …]
H A Dcharacter.cpp87 SubscriptValue elements{1}; in Compare() local
102 elements *= ub[j]; in Compare()
153 SubscriptValue elements{1}; in AdjustLRHelper() local
156 elements *= ub[j]; in AdjustLRHelper()
209 SubscriptValue elements{1}; in LenTrim() local
212 elements *= ub[j]; in LenTrim()
389 elements *= ub[j]; in GeneralCharFunc()
511 elements *= ub[j]; in MaxMinHelper()
587 elements *= ub[j]; in RTNAME()
605 for (; elements-- > 0; in RTNAME()
[all …]
H A Dmisc-intrinsic.cpp58 std::optional<std::int64_t> elements; in RTNAME() local
63 elements = static_cast<std::int64_t>( in RTNAME()
70 elements = 0; in RTNAME()
74 result, source, mold, sourceFile, line, std::move(elements)); in RTNAME()
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Ddebuginfo-compositetype-import.ll32 …ame: "enum", scope: !{{[0-9]+}}, file: !{{[0-9]+}}, line: 50, size: 32, elements: !{{[0-9]+}}, ide…
33 …"class<>", scope: !{{[0-9]+}}, file: !{{[0-9]+}}, line: 728, size: 448, elements: !{{[0-9]+}}, ide…
34 …: !{{[0-9]+}}, line: 309, baseType: !{{[0-9]+}}, size: 128, offset: 64, elements: !{{[0-9]+}}, vta…
35 …teType(tag: DW_TAG_union_type, file: !{{[0-9]+}}, line: 115, size: 384, elements: !{{[0-9]+}}, ide…
36 …: !{{[0-9]+}}, line: 309, baseType: !{{[0-9]+}}, size: 128, offset: 64, elements: !{{[0-9]+}}, vta…
63 …numeration_type, name: "enum", scope: !1, file: !1, line: 50, size: 32, elements: !5, identifier: …
64 …class_type, name: "class<>", scope: !1, file: !1, line: 728, size: 448, elements: !5, identifier: …
65 …, scope: !1, file: !1, line: 309, baseType: !10, size: 128, offset: 64, elements: !5, vtableHolder…
66 !12 = distinct !DICompositeType(tag: DW_TAG_union_type, file: !1, line: 115, size: 384, elements: !…
67 …, scope: !1, file: !1, line: 309, baseType: !10, size: 128, offset: 64, elements: !5, vtableHolder…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dregalloc-fast-debug-spill.ll98 …cture_type, name: "String", scope: !10, file: !7, size: 192, align: 64, elements: !3, templatePara…
104 …structure_type, name: "BorrowMutError", scope: !16, file: !7, align: 8, elements: !3, identifier: …
110 …: DW_TAG_structure_type, name: "Error", scope: !22, file: !7, align: 8, elements: !3, identifier: …
115 …ucture_type, name: "TryFromSliceError", scope: !27, file: !7, align: 8, elements: !3, templatePara…
120 …tructure_type, name: "TryFromIntError", scope: !32, file: !7, align: 8, elements: !3, templatePara…
129 …ture_type, name: "AtomicBool", scope: !41, file: !7, size: 8, align: 8, elements: !3, templatePara…
173 …ture_type, name: "PathBuf", scope: !85, file: !7, size: 192, align: 64, elements: !3, templatePara…
186 …ucture_type, name: "AtomicU8", scope: !41, file: !7, size: 8, align: 8, elements: !3, templatePara…
216 …e_type, name: "NonZeroI32", scope: !128, file: !7, size: 32, align: 32, elements: !3, templatePara…
226 …re_type, name: "Iter<u8>", scope: !138, file: !7, size: 128, align: 64, elements: !3, templatePara…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dknownbits-intrinsics-unpack.ll9 ; VUPHB (used operand elements are 0)
22 ; VUPHB (used operand elements are 1)
40 ; VUPLHB (used operand elements are 0)
53 ; VUPLHB (used operand elements are 1)
71 ; VUPHH (used operand elements are 0)
84 ; VUPHH (used operand elements are 1)
99 ; VUPLHH (used operand elements are 0)
130 ; VUPHF (used operand elements are 0)
141 ; VUPHF (used operand elements are 1)
181 ; VUPLB (used operand elements are 0)
[all …]
H A Dknownbits-intrinsics-binop.ll10 ; PACKS_CC (operand elements are 0): i64 -> i32
22 ; PACKS_CC (operand elements are 1): i64 -> i32
37 ; PACKS_CC (operand elements are 0): i32 -> i16
234 ; PACKS (operand elements are 0): i16 -> i8
248 ; PACKS (operand elements are 1): i16 -> i8
346 ; VPDI (operand elements are 0):
358 ; VPDI (operand elements are 1):
373 ; VSLDB (operand elements are 0):
391 ; VSLDB (operand elements are 1):
424 ; Test VPERM (operand elements are 0):
[all …]
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dcsv_reporter.cc33 std::vector<std::string> elements = { variable
74 for (auto B = elements.begin(); B != elements.end();) { in ReportRuns()
76 if (B != elements.end()) Out << ","; in ReportRuns()
110 Out << std::string(elements.size() - 3, ','); in PrintRunData()
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dtype_units_with_addresses.ll121 …G_structure_type, name: "S1<&i>", file: !2, line: 4, size: 8, align: 8, elements: !7, templatePara…
128 …_TAG_structure_type, name: "S2", file: !2, line: 11, size: 8, align: 8, elements: !14, identifier:…
131 …structure_type, name: "S2_1<&i>", file: !2, line: 9, size: 8, align: 8, elements: !7, templatePara…
134 …TAG_structure_type, name: "S3", file: !2, line: 22, size: 16, align: 8, elements: !20, identifier:…
137 …tructure_type, name: "S3_1<&i>", file: !2, line: 18, size: 8, align: 8, elements: !7, templatePara…
139 …AG_structure_type, name: "S3_2", file: !2, line: 20, size: 8, align: 8, elements: !7, identifier: …
142 …TAG_structure_type, name: "S4", file: !2, line: 34, size: 16, align: 8, elements: !28, identifier:…
145 …AG_structure_type, name: "S4_1", file: !2, line: 29, size: 8, align: 8, elements: !7, identifier: …
147 …tructure_type, name: "S4_2<&i>", file: !2, line: 32, size: 8, align: 8, elements: !7, templatePara…
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dinitial-image.h68 auto elements{TotalElementCount(x.shape())}; in Add()
69 auto elementBytes{bytes > 0 ? bytes / elements : 0}; in Add()
70 if (elements * elementBytes != bytes) { in Add()
75 for (auto at{x.lbounds()}; elements-- > 0; x.IncrementSubscripts(at)) { in Add()
81 (scalarBytes > elementBytes && elements != 0)) { in Add()
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-builtin-attributes.mlir4 …"foo"(){bar = dense<[4]> : i32} : () -> () // expected-error {{elements literal must be a ranked t…
10 …"foo"(){bar = dense<[4]> : tensor<?xi32>} : () -> () // expected-error {{elements literal type mus…
34 // expected-error@+1 {{expected integer elements, but parsed floating-point}}
41 // expected-error@+1 {{expected integer elements, but parsed floating-point}}
48 // expected-error@+1 {{expected floating-point elements, but parsed integer}}
60 // expected-error@+1 {{parsed zero elements, but type ('tensor<i64>') expected at least 1}}
152 // expected-error @+1 {{expected integer elements, but parsed floating-point}}
159 // expected-error @+1 {{expected integer elements, but parsed floating-point}}
166 // expected-error @+1 {{expected floating-point elements, but parsed integer}}
173 // expected-error @+1 {{expected floating-point elements, but parsed integer}}
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A DModuleDebugInfo.m38 // CHECK-SAME: elements:
45 // CHECK-SAME: elements
49 // CHECK-SAME: elements
52 // CHECK-SAME: elements:
56 // CHECK-SAME: elements:
66 // CHECK-SAME: elements:
/llvm-project-15.0.7/llvm/test/Bitcode/
H A DdataLocation.ll6 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
7 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
21 !6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, data…
31 !16 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, dat…
H A Dassociated.ll6 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
7 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
21 !6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, data…
32 !17 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, dat…
H A Dallocated.ll6 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
7 …ype(tag: DW_TAG_array_type, baseType: !{{[0-9]+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dat…
21 !6 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, data…
32 !17 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, dat…
/llvm-project-15.0.7/mlir/include/mlir/Dialect/X86Vector/
H A DX86Vector.td63 TypesMatchWith<"`k` has the same number of bits as elements in `dst`",
72 `constant_src` is specified, the remaining elements in the result vector are
77 Contiguously store the active integer/floating-point elements in `a` (those
79 remaining elements from `src`.
98 TypesMatchWith<"`k` has the same number of bits as elements in `res`",
116 TypesMatchWith<"imm has the same number of bits as elements in dst",
129 Round packed floating-point elements in `a` to the number of fraction bits
172 TypesMatchWith<"k has the same number of bits as elements in dst",
229 TypesMatchWith<"k1 has the same number of bits as elements in a",
233 TypesMatchWith<"k2 has the same number of bits as elements in b",
[all …]

12345678910>>...56