Home
last modified time | relevance | path

Searched refs:num_elements (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/lldb/examples/synthetic/
H A Dunordered_multi.py10 self.num_elements = None
16 self.num_elements = None
50 self.num_elements = table.GetChildMemberWithName(
54 logger >> "Num elements = %r" % self.num_elements
59 if self.num_elements:
69 num_elements = self.num_elements
70 if num_elements is not None:
71 if num_elements > _map_capping_size:
72 num_elements = _map_capping_size
73 return num_elements
/llvm-project-15.0.7/libc/src/__support/CPP/
H A Dvector.h28 size_t num_elements = 0; variable
52 if (num_elements >= array_size) in push_back()
53 increase_size(num_elements + 1); in push_back()
54 data_array[num_elements] = value; in push_back()
55 ++num_elements; in push_back()
62 constexpr bool empty() const { return num_elements == 0; } in empty()
64 constexpr size_t size() const { return num_elements; } in size()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.cpp36 uint64_t num_elements = 0; in ParseChildArrayInfo() local
59 num_elements = valobj_sp->GetValueAsUnsigned(0); in ParseChildArrayInfo()
65 num_elements = form_value.Unsigned(); in ParseChildArrayInfo()
91 if (num_elements == 0) { in ParseChildArrayInfo()
93 num_elements = upper_bound - lower_bound + 1; in ParseChildArrayInfo()
96 array_info.element_orders.push_back(num_elements); in ParseChildArrayInfo()
H A DDWARFASTParserClang.cpp1308 uint64_t num_elements = 0; in ParseArrayType() local
1311 num_elements = *pos; in ParseArrayType()
1312 clang_type = m_ast.CreateArrayType(array_element_type, num_elements, in ParseArrayType()
1315 array_element_bit_stride = num_elements in ParseArrayType()
1316 ? array_element_bit_stride * num_elements in ParseArrayType()
/llvm-project-15.0.7/mlir/test/Dialect/Shape/
H A Dshape-to-shape.mlir6 %num_elements = shape.num_elements %shape : !shape.shape -> !shape.size
7 return %num_elements : !shape.size
22 %num_elements = shape.num_elements %shape : tensor<?xindex> -> index
23 return %num_elements : index
H A Dinvalid.mlir5 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
16 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
29 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
40 %num_elements = shape.reduce(%shape, %init) : tensor<?xindex> -> index {
51 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> f32 {
62 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
73 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
133 func.func @num_elements(%arg : !shape.shape) -> index {
135 %result = shape.num_elements %arg : !shape.shape -> index
H A Dops.mlir9 %num_elements = shape.reduce(%shape, %init) : !shape.shape -> !shape.size {
15 return %num_elements : !shape.size
21 %num_elements = shape.reduce(%shape, %init) : tensor<?xindex> -> index {
26 return %num_elements : index
236 %result = shape.num_elements %arg : tensor<?xindex> -> index
241 %result = shape.num_elements %arg : !shape.shape -> !shape.size
H A Dcanonicalize.mlir305 // CHECK-LABEL: func @num_elements
306 func.func @num_elements() -> !shape.size {
309 // CHECK-NOT: shape.num_elements
310 %num_elements = shape.num_elements %shape : !shape.shape -> !shape.size
313 return %num_elements : !shape.size
322 %num_elements = shape.num_elements %shape : !shape.shape -> !shape.size
323 return %num_elements : !shape.size
/llvm-project-15.0.7/libcxx/test/support/
H A Dunique_ptr_test_helper.h38 newValue(int num_elements) { in newValue() argument
39 assert(num_elements == 1); in newValue()
46 newValue(int num_elements) { in newValue() argument
48 assert(num_elements >= 1); in newValue()
49 return new VT[num_elements]; in newValue()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBTypeEnumMember.i122 num_elements = self.GetSize()
124 if key < num_elements:
127 for idx in range(num_elements):
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_local_address_space_view.h42 static const T *Load(const T *target_address, uptr num_elements = 1) {
68 static T *LoadWritable(T *target_address, uptr num_elements = 1) {
/llvm-project-15.0.7/mlir/test/IR/
H A Dmemory-ops.mlir104 %num_elements = arith.constant 256 : index
106 …memref.dma_start %A[%c0], %Ah[%c0], %num_elements, %tag[%c0] : memref<256 x f32>, memref<256 x f32…
107 memref.dma_wait %tag[%c0], %num_elements : memref<1 x f32>
112 …memref.dma_start %A[%c0], %Ah[%c0], %num_elements, %tag[%c0], %stride, %elt_per_stride : memref<25…
113 memref.dma_wait %tag[%c0], %num_elements : memref<1 x f32>
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DAffine.md391 stride until %num_elements are transferred. Either both or no stride arguments
392 should be specified. The value of 'num_elements' must be a multiple of
402 %num_elements = arith.constant 256
406 %num_elements :
411 memory space 0 until %num_elements are transferred.
413 affine.dma_start %src[%i, %j], %dst[%k, %l], %tag[%idx], %num_elements,
429 induction variables and symbols. %num_elements is the number of elements
435 affine.dma_start %src[%i, %j], %dst[%k, %l], %tag[%index], %num_elements :
439 affine.dma_wait %tag[%index], %num_elements : memref<1xi32, 2>
/llvm-project-15.0.7/llvm/utils/
H A DlldbDataFormatters.py166 num_elements = valobj.GetNumChildren()
168 for i in range(0, num_elements):
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/LowOverheadLoops/
H A Dpredicated-liveout.mir19 %num_elements.049 = phi i32 [ %sub, %for.body ], [ %block_size, %for.body.preheader ]
23 %pred = tail call <8 x i1> @llvm.arm.mve.vctp16(i32 %num_elements.049)
32 %sub = add i32 %num_elements.049, -8
H A Dvmaxmin_vpred_r.mir26 %num_elements.049 = phi i32 [ %block_size, %for.body.lr.ph ], [ %sub, %for.body ]
31 %pred = tail call <4 x i1> @llvm.arm.mve.vctp32(i32 %num_elements.049)
50 %sub = add i32 %num_elements.049, -4
H A Dvmldava_in_vpt.mir29 %num_elements.049 = phi i32 [ %block_size, %for.body.lr.ph ], [ %sub, %for.body ]
33 %pred = tail call <4 x i1> @llvm.arm.mve.vctp32(i32 %num_elements.049)
51 %sub = add i32 %num_elements.049, -4
H A Dadd_reduce.mir28 %num_elements.049 = phi i32 [ %block_size, %for.body.lr.ph ], [ %sub, %for.body ]
32 %pred = tail call <4 x i1> @llvm.arm.mve.vctp32(i32 %num_elements.049)
51 %sub = add i32 %num_elements.049, -4
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.h174 bool GetStructInfo(uint32_t &num_elements, size_t &size,
H A DIRForTarget.cpp1601 uint32_t num_elements; in ReplaceVariables() local
1607 if (!m_decl_map->GetStructInfo(num_elements, size, alignment)) in ReplaceVariables()
1696 for (element_index = 0; element_index < num_elements; ++element_index) { in ReplaceVariables()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTrampolineHandler.cpp322 size_t num_elements = m_descriptors.size(); in Dump() local
323 for (size_t i = 0; i < num_elements; i++) { in Dump()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MemRef/IR/
H A DMemRefOps.td513 number_of_elements_per_stride every stride until %num_elements are
523 %num_elements = arith.constant 256
526 dma_start %src[%i, %j], %dst[%k, %l], %num_elements, %tag[%idx] :
534 memory space 0 until %num_elements are transferred.
537 dma_start %src[%i, %j], %dst[%k, %l], %num_elements, %tag[%idx], %stride,
664 with the same restrictions as any load/store index. %num_elements is the
670 dma_start %src[%i, %j], %dst[%k, %l], %num_elements, %tag[%index] :
676 dma_wait %tag[%index], %num_elements : memref<1 x i32, affine_map<(d0) -> (d0)>, 2>
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpoint.cpp768 size_t num_elements = old_id_vec.size(); in ModuleReplaced() local
769 for (size_t idx = 0; idx < num_elements; idx++) { in ModuleReplaced()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h2861 MatchMatrix(size_t num_elements, size_t num_matchers)
2862 : num_elements_(num_elements),
3031 size_t num_elements = 0;
3032 for (; elem_first != elem_last; ++num_elements, ++elem_first) {
3041 MatchMatrix matrix(num_elements, matchers_.size());
3043 for (size_t ilhs = 0; ilhs != num_elements; ++ilhs) {
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp666 uint32_t num_elements = array_type->getCount(); in CreateLLDBTypeFromPDBType() local
694 element_ast_type, num_elements, /*is_gnu_vector*/ false); in CreateLLDBTypeFromPDBType()

12