Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 25 of 139) sorted by relevance

123456

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dhard-reg-set.h62 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
63 res.elts[i] = ~elts[i];
71 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
72 res.elts[i] = elts[i] & other.elts[i];
79 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
80 elts[i] &= other.elts[i];
88 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
89 res.elts[i] = elts[i] | other.elts[i];
96 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
97 elts[i] |= other.elts[i];
[all …]
H A Dtree-affine.cc62 comb->elts[i].coef = 0; in aff_combination_zero()
83 comb->elts[0].val = elt; in aff_combination_elt()
84 comb->elts[0].coef = 1; in aff_combination_elt()
108 = wide_int_ext_for_comb (scale * comb->elts[i].coef, comb->type); in aff_combination_scale()
113 comb->elts[j].coef = new_coef; in aff_combination_scale()
114 comb->elts[j].val = comb->elts[i].val; in aff_combination_scale()
126 comb->elts[comb->n].coef = scale; in aff_combination_scale()
127 comb->elts[comb->n].val = comb->rest; in aff_combination_scale()
150 if (operand_equal_p (comb->elts[i].val, elt, 0)) in aff_combination_add_elt()
153 = wide_int_ext_for_comb (comb->elts[i].coef + scale, comb->type); in aff_combination_add_elt()
[all …]
H A Dtree-ssa-address.cc431 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
434 val = addr->elts[i].val; in move_fixed_address_to_symbol()
460 if (addr->elts[i].coef != 1) in move_hint_to_base()
463 val = addr->elts[i].val; in move_hint_to_base()
493 if (addr->elts[i].coef != 1) in move_pointer_to_base()
496 val = addr->elts[i].val; in move_pointer_to_base()
520 val = addr->elts[i].val; in move_variant_to_index()
529 parts->step = wide_int_to_tree (sizetype, addr->elts[i].coef); in move_variant_to_index()
635 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
638 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
[all …]
H A Dtree-affine.h59 class aff_comb_elt elts[MAX_AFF_ELTS]; variable
127 && (aff->elts[0].coef == 1 || aff->elts[0].coef == -1)); in aff_combination_singleton_var_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dhard-reg-set.h62 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
63 res.elts[i] = ~elts[i];
71 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
72 res.elts[i] = elts[i] & other.elts[i];
79 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
80 elts[i] &= other.elts[i];
88 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
89 res.elts[i] = elts[i] | other.elts[i];
96 for (unsigned int i = 0; i < ARRAY_SIZE (elts); ++i)
97 elts[i] |= other.elts[i];
[all …]
H A Dtree-affine.c61 comb->elts[i].coef = 0; in aff_combination_zero()
82 comb->elts[0].val = elt; in aff_combination_elt()
83 comb->elts[0].coef = 1; in aff_combination_elt()
107 = wide_int_ext_for_comb (scale * comb->elts[i].coef, comb->type); in aff_combination_scale()
112 comb->elts[j].coef = new_coef; in aff_combination_scale()
113 comb->elts[j].val = comb->elts[i].val; in aff_combination_scale()
125 comb->elts[comb->n].coef = scale; in aff_combination_scale()
126 comb->elts[comb->n].val = comb->rest; in aff_combination_scale()
149 if (operand_equal_p (comb->elts[i].val, elt, 0)) in aff_combination_add_elt()
152 = wide_int_ext_for_comb (comb->elts[i].coef + scale, comb->type); in aff_combination_add_elt()
[all …]
H A Dtree-ssa-address.c431 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
434 val = addr->elts[i].val; in move_fixed_address_to_symbol()
460 if (addr->elts[i].coef != 1) in move_hint_to_base()
463 val = addr->elts[i].val; in move_hint_to_base()
493 if (addr->elts[i].coef != 1) in move_pointer_to_base()
496 val = addr->elts[i].val; in move_pointer_to_base()
520 val = addr->elts[i].val; in move_variant_to_index()
529 parts->step = wide_int_to_tree (sizetype, addr->elts[i].coef); in move_variant_to_index()
635 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
638 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
[all …]
H A Dtree-affine.h59 class aff_comb_elt elts[MAX_AFF_ELTS]; variable
127 && (aff->elts[0].coef == 1 || aff->elts[0].coef == -1)); in aff_combination_singleton_var_p()
/netbsd-src/external/bsd/flex/dist/src/
H A Dbuf.c66 const char * s = ((char**)buf->elts)[i]; in buf_print_strings()
130 buf_append(dest, src->elts, src->nelts); in buf_concat()
211 buf->elts = NULL; in buf_init()
221 free(buf->elts); in buf_destroy()
222 buf->elts = NULL; in buf_destroy()
254 if (!buf->elts) in buf_append()
255 buf->elts = in buf_append()
258 buf->elts = in buf_append()
259 reallocate_array (buf->elts, (int) n_alloc, in buf_append()
265 memcpy ((char *) buf->elts + (size_t) buf->nelts * buf->elt_size, ptr, in buf_append()
H A Dmain.c482 buf_m4_define(&m4defs_buf, "M4_YY_SC_DEFS", tmpbuf.elts); in check_options()
489 if( top_buf.elts) in check_options()
490 outn((char*) top_buf.elts); in check_options()
501 if (userdef_buf.elts) in check_options()
502 outn ((char *) (userdef_buf.elts)); in check_options()
699 if (sclookup (((char **) defs_buf.elts)[i]) > 0) in flexend()
702 ((char **) defs_buf.elts)[i]); in flexend()
/netbsd-src/external/mpl/bind/dist/tests/ns/
H A Dlistenlist_test.c53 assert_false(ISC_LIST_EMPTY(list->elts)); in _teardown()
56 elt = ISC_LIST_HEAD(list->elts); in _teardown()
62 ISC_LIST_UNLINK(list->elts, elt, link); in ISC_RUN_TEST_IMPL()
71 assert_true(ISC_LIST_EMPTY(list->elts)); in ISC_RUN_TEST_IMPL()
79 assert_false(ISC_LIST_EMPTY(list->elts)); in ISC_RUN_TEST_IMPL()
83 elt = ISC_LIST_HEAD(list->elts); in ISC_RUN_TEST_IMPL()
/netbsd-src/sys/external/bsd/drm2/dist/drm/r128/
H A Dr128_state.c1377 drm_r128_indices_t *elts = data; in r128_cce_indices() local
1385 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1387 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices()
1389 elts->idx, dma->buf_count - 1); in r128_cce_indices()
1392 if (elts->prim < 0 || in r128_cce_indices()
1393 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices()
1394 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices()
1401 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1410 DRM_ERROR("sending pending buffer %d\n", elts->idx); in r128_cce_indices()
1414 count = (elts->end - elts->start) / sizeof(u16); in r128_cce_indices()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp271 auto elts = llvm::makeArrayRef(buffer).slice(Begin); in finishArray() local
272 if (!eltTy) eltTy = elts[0]->getType(); in finishArray()
273 auto type = llvm::ArrayType::get(eltTy, elts.size()); in finishArray()
274 auto constant = llvm::ConstantArray::get(type, elts); in finishArray()
284 auto elts = llvm::makeArrayRef(buffer).slice(Begin); in finishStruct() local
286 if (ty == nullptr && elts.empty()) in finishStruct()
292 constant = llvm::ConstantStruct::get(ty, elts); in finishStruct()
294 constant = llvm::ConstantStruct::getAnon(elts, Packed); in finishStruct()
H A DSwiftCallingConv.cpp577 SmallVector<llvm::Type*, 8> elts; in getCoerceAndExpandTypes() local
588 elts.push_back(padding); in getCoerceAndExpandTypes()
597 elts.push_back(entry.Type); in getCoerceAndExpandTypes()
605 auto coercionType = llvm::StructType::get(ctx, elts, packed); in getCoerceAndExpandTypes()
609 elts.clear(); in getCoerceAndExpandTypes()
611 elts.push_back(entry.Type); in getCoerceAndExpandTypes()
613 if (elts.size() == 1) { in getCoerceAndExpandTypes()
614 unpaddedType = elts[0]; in getCoerceAndExpandTypes()
616 unpaddedType = llvm::StructType::get(ctx, elts, /*packed*/ false); in getCoerceAndExpandTypes()
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dr128_state.c1408 drm_r128_indices_t *elts = data; in r128_cce_indices() local
1419 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1421 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices()
1423 elts->idx, dma->buf_count - 1); in r128_cce_indices()
1426 if (elts->prim < 0 || in r128_cce_indices()
1427 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices()
1428 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices()
1435 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1444 DRM_ERROR("sending pending buffer %d\n", elts->idx); in r128_cce_indices()
1448 count = (elts->end - elts->start) / sizeof(u16); in r128_cce_indices()
[all …]
H A Dradeon_state.c2316 drm_radeon_indices_t *elts = data; in radeon_cp_indices() local
2328 DRM_CURRENTPID, elts->idx, elts->start, elts->end, in radeon_cp_indices()
2329 elts->discard); in radeon_cp_indices()
2331 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in radeon_cp_indices()
2333 elts->idx, dma->buf_count - 1); in radeon_cp_indices()
2336 if (elts->prim < 0 || elts->prim > RADEON_PRIM_TYPE_3VRT_LINE_LIST) { in radeon_cp_indices()
2337 DRM_ERROR("buffer prim %d\n", elts->prim); in radeon_cp_indices()
2344 buf = dma->buflist[elts->idx]; in radeon_cp_indices()
2352 DRM_ERROR("sending pending buffer %d\n", elts->idx); in radeon_cp_indices()
2356 elts->start -= RADEON_INDEX_PRIM_OFFSET; in radeon_cp_indices()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/
H A Dhashtab.h294 size_t osize, elts; in htab_expand() local
298 elts = htab_elements (htab); in htab_expand()
302 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
303 nhtab = htab_create (elts * 2); in htab_expand()
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dhashtab.h300 size_t osize, elts; in htab_expand() local
304 elts = htab_elements (htab); in htab_expand()
308 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
309 nhtab = htab_create (elts * 2); in htab_expand()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h245 create(StringRef Name, Type *elt1, Tys *... elts) { in create() argument
247 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in create()
263 get(Type *elt1, Tys *... elts) { in get() argument
266 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in get()
307 setBody(Type *elt1, Tys *... elts) { in setBody() argument
309 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in setBody()
/netbsd-src/external/mpl/bind/dist/lib/ns/
H A Dlistenlist.c296 ISC_LIST_INIT(list->elts); in ns_listenlist_attach()
304 for (elt = ISC_LIST_HEAD(list->elts); elt != NULL; elt = next) { in ns_listenlist_detach()
358 ISC_LIST_APPEND(list->elts, elt, link);
/netbsd-src/external/apache2/llvm/dist/clang/utils/ABITest/
H A DEnumeration.py140 elts = [None]*W
142 elts[i],N = getNthPairBounded(N, H)
143 return tuple(elts)
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-runtime-shared-support.c350 vec<constructor_elt, va_gc> *elts = NULL; in build_descriptor_table_initializer() local
352 CONSTRUCTOR_APPEND_ELT (elts, NULL_TREE, in build_descriptor_table_initializer()
354 CONSTRUCTOR_APPEND_ELT (elts, NULL_TREE, in build_descriptor_table_initializer()
359 objc_build_constructor (type, elts)); in build_descriptor_table_initializer()
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-runtime-shared-support.cc350 vec<constructor_elt, va_gc> *elts = NULL; in build_descriptor_table_initializer() local
352 CONSTRUCTOR_APPEND_ELT (elts, NULL_TREE, in build_descriptor_table_initializer()
354 CONSTRUCTOR_APPEND_ELT (elts, NULL_TREE, in build_descriptor_table_initializer()
359 objc_build_constructor (type, elts)); in build_descriptor_table_initializer()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dhashtab.c523 size_t nsize, osize, elts; in htab_expand() local
530 elts = htab_elements (htab); in htab_expand()
534 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
536 nindex = higher_prime_index (elts * 2); in htab_expand()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dhashtab.c523 size_t nsize, osize, elts; in htab_expand() local
530 elts = htab_elements (htab); in htab_expand()
534 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
536 nindex = higher_prime_index (elts * 2); in htab_expand()

123456