Home
last modified time | relevance | path

Searched refs:bset (Results 1 – 17 of 17) sorted by relevance

/external/bison/lib/
Dbitset_stats.c315 bitset bset = dst->s.bset; in bitset_stats_set() local
317 bitset_windex offset = wordno - bset->b.cindex; in bitset_stats_set()
319 BITSET_STATS_SETS_INC (bset); in bitset_stats_set()
321 if (offset < bset->b.csize) in bitset_stats_set()
323 bset->b.cdata[offset] |= (bitset_word) 1 << (bitno % BITSET_WORD_BITS); in bitset_stats_set()
324 BITSET_STATS_CACHE_SETS_INC (bset); in bitset_stats_set()
327 BITSET_SET_ (bset, bitno); in bitset_stats_set()
334 bitset bset = dst->s.bset; in bitset_stats_reset() local
336 bitset_windex offset = wordno - bset->b.cindex; in bitset_stats_reset()
338 BITSET_STATS_RESETS_INC (bset); in bitset_stats_reset()
[all …]
Dbitset.c74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) in bitset_init() argument
77 return bitset_stats_init (bset, n_bits, type); in bitset_init()
85 return abitset_init (bset, n_bits); in bitset_init()
88 return lbitset_init (bset, n_bits); in bitset_init()
91 return ebitset_init (bset, n_bits); in bitset_init()
94 return vbitset_init (bset, n_bits); in bitset_init()
137 bitset bset; in bitset_alloc() local
141 bset = xcalloc (1, bytes); in bitset_alloc()
147 return bitset_init (bset, n_bits, type); in bitset_alloc()
157 bitset bset; in bitset_obstack_alloc() local
[all …]
Dlbitset.c166 lbitset_elt_unlink (bitset bset, lbitset_elt *elt) in lbitset_elt_unlink() argument
177 if (LBITSET_HEAD (bset) == elt) in lbitset_elt_unlink()
178 LBITSET_HEAD (bset) = next; in lbitset_elt_unlink()
179 if (LBITSET_TAIL (bset) == elt) in lbitset_elt_unlink()
180 LBITSET_TAIL (bset) = prev; in lbitset_elt_unlink()
185 if (LBITSET_CURRENT (bset) == elt) in lbitset_elt_unlink()
189 bset->b.cdata = next->words; in lbitset_elt_unlink()
190 bset->b.cindex = next->index; in lbitset_elt_unlink()
194 bset->b.cdata = prev->words; in lbitset_elt_unlink()
195 bset->b.cindex = prev->index; in lbitset_elt_unlink()
[all …]
Debitset.c254 ebitset_elt_remove (bitset bset, bitset_windex eindex) in ebitset_elt_remove() argument
259 elts = EBITSET_ELTS (bset); in ebitset_elt_remove()
270 ebitset_elt_add (bitset bset, ebitset_elt *elt, bitset_windex eindex) in ebitset_elt_add() argument
274 elts = EBITSET_ELTS (bset); in ebitset_elt_add()
295 ebitset_elt_find (bitset bset, bitset_bindex bindex, in ebitset_elt_find() argument
305 elts = EBITSET_ELTS (bset); in ebitset_elt_find()
306 size = EBITSET_SIZE (bset); in ebitset_elt_find()
312 if (EBITSET_WORDS (elt) == bset->b.cdata) in ebitset_elt_find()
315 EBITSET_CACHE_SET (bset, eindex); in ebitset_elt_find()
332 ebitset_resize (bset, bindex); in ebitset_elt_find()
[all …]
Dbitset.h77 bitset bset; member
136 bitset_set (bitset bset, bitset_bindex bitno) in bitset_set() argument
139 bitset_windex offset = windex - bset->b.cindex; in bitset_set()
141 if (offset < bset->b.csize) in bitset_set()
142 bset->b.cdata[offset] |= ((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_set()
144 BITSET_SET_ (bset, bitno); in bitset_set()
150 bitset_reset (bitset bset, bitset_bindex bitno) in bitset_reset() argument
153 bitset_windex offset = windex - bset->b.cindex; in bitset_reset()
155 if (offset < bset->b.csize) in bitset_reset()
156 bset->b.cdata[offset] &= ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_reset()
[all …]
Dbitsetv-print.c30 bitsetv_matrix_dump (FILE * out, const char *title, bitsetv bset) in bitsetv_matrix_dump() argument
33 bitset_bindex hsize = bitset_size (bset[0]); in bitsetv_matrix_dump()
55 for (i = 0; bset[i]; ++i) in bitsetv_matrix_dump()
59 fputs (bitset_test (bset[i], j) ? "1" : " ", out); in bitsetv_matrix_dump()
Dabitset.c809 abitset_init (bitset bset, bitset_bindex n_bits) in abitset_init() argument
814 BITSET_NBITS_ (bset) = n_bits; in abitset_init()
820 bset->b.vtable = &abitset_small_vtable; in abitset_init()
822 bset->b.vtable = &abitset_vtable; in abitset_init()
824 bset->b.cindex = 0; in abitset_init()
825 bset->b.csize = size; in abitset_init()
826 bset->b.cdata = ABITSET_WORDS (bset); in abitset_init()
827 return bset; in abitset_init()
Dvbitset.c1129 vbitset_init (bset, n_bits) in vbitset_init() argument
1130 bitset bset; in vbitset_init()
1133 bset->b.vtable = &vbitset_vtable;
1135 bset->b.cindex = 0;
1137 VBITSET_SIZE (bset) = 0;
1138 vbitset_resize (bset, n_bits);
1139 return bset;
/external/llvm/test/CodeGen/Mips/msa/
D3r-b.ll415 %2 = tail call <16 x i8> @llvm.mips.bset.b(<16 x i8> %0, <16 x i8> %1)
420 declare <16 x i8> @llvm.mips.bset.b(<16 x i8>, <16 x i8>) nounwind
425 ; CHECK: bset.b
437 %2 = tail call <8 x i16> @llvm.mips.bset.h(<8 x i16> %0, <8 x i16> %1)
442 declare <8 x i16> @llvm.mips.bset.h(<8 x i16>, <8 x i16>) nounwind
447 ; CHECK: bset.h
459 %2 = tail call <4 x i32> @llvm.mips.bset.w(<4 x i32> %0, <4 x i32> %1)
464 declare <4 x i32> @llvm.mips.bset.w(<4 x i32>, <4 x i32>) nounwind
469 ; CHECK: bset.w
481 %2 = tail call <2 x i64> @llvm.mips.bset.d(<2 x i64> %0, <2 x i64> %1)
[all …]
Dbitwise.ll1329 ; CHECK-DAG: bset.b [[R3:\$w[0-9]+]], [[R1]], [[R2]]
1346 ; CHECK-DAG: bset.h [[R3:\$w[0-9]+]], [[R1]], [[R2]]
1363 ; CHECK-DAG: bset.w [[R3:\$w[0-9]+]], [[R1]], [[R2]]
1380 ; CHECK-DAG: bset.d [[R3:\$w[0-9]+]], [[R1]], [[R2]]
/external/llvm/test/MC/Mips/msa/
Dtest_3r.s63 # CHECK: bset.b $w31, $w5, $w31 # encoding: [0x7a,0x1f,0x2f,0xcd]
64 # CHECK: bset.h $w14, $w12, $w6 # encoding: [0x7a,0x26,0x63,0x8d]
65 # CHECK: bset.w $w31, $w9, $w12 # encoding: [0x7a,0x4c,0x4f,0xcd]
66 # CHECK: bset.d $w5, $w22, $w5 # encoding: [0x7a,0x65,0xb1,0x4d]
306 bset.b $w31, $w5, $w31
307 bset.h $w14, $w12, $w6
308 bset.w $w31, $w9, $w12
309 bset.d $w5, $w22, $w5
/external/llvm/test/MC/Disassembler/Mips/msa/
Dtest_3r.txt63 0x7a 0x1f 0x2f 0xcd # CHECK: bset.b $w31, $w5, $w31
64 0x7a 0x26 0x63 0x8d # CHECK: bset.h $w14, $w12, $w6
65 0x7a 0x4c 0x4f 0xcd # CHECK: bset.w $w31, $w9, $w12
66 0x7a 0x65 0xb1 0x4d # CHECK: bset.d $w5, $w22, $w5
/external/kernel-headers/original/uapi/linux/
Dbcache.h348 struct bset { struct
/external/icu/icu4c/source/i18n/
DdecNumber.c5647 decContext aset, bset; /* working contexts */ local
5768 bset=aset;
5769 bset.emax=DEC_MAX_MATH*2; /* use double bounds for the */
5770 bset.emin=-DEC_MAX_MATH*2; /* adjustment calculation */
5778 bset.digits=pp+rhs->digits; /* wider context */
5790 decExpOp(b, a, &bset, &ignore); /* b=exp(-a) */
5793 decMultiplyOp(b, b, rhs, &bset, &ignore); /* b=b*rhs */
5794 decAddOp(b, b, &numone, &bset, DECNEG, &ignore); /* b=b-1 */
5824 bset.digits=pp+rhs->digits; /* wider context */
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp1204 Instruction *bset = cloneShallow(func, insn); in handleCVT() local
1205 bset->dType = TYPE_U32; in handleCVT()
1206 bset->setDef(0, cvt->getDef(0)); in handleCVT()
1207 cvt->bb->insertAfter(cvt, bset); in handleCVT()
/external/llvm/lib/Target/Mips/
DMipsMSAInstrInfo.td1807 class BSET_B_DESC : MSA_3R_DESC_BASE<"bset.b", vbset_b, MSA128BOpnd>;
1808 class BSET_H_DESC : MSA_3R_DESC_BASE<"bset.h", vbset_h, MSA128HOpnd>;
1809 class BSET_W_DESC : MSA_3R_DESC_BASE<"bset.w", vbset_w, MSA128WOpnd>;
1810 class BSET_D_DESC : MSA_3R_DESC_BASE<"bset.d", vbset_d, MSA128DOpnd>;
/external/bison/
DChangeLog-201213647 when compiling Bison 1.875's `bitset bset = obstack_alloc