| /minix3/external/bsd/llvm/dist/llvm/test/TableGen/ |
| H A D | BitsInit.td | 6 bits<2> opc = { 0, 1 }; 7 bits<2> opc2 = { 1, 0 }; 8 bits<1> opc3 = { 1 }; 9 bits<2> a = { opc, opc2 }; // error! 10 bits<2> b = { opc{0}, opc2{0} }; 11 bits<2> c = { opc{1}, opc2{1} }; 12 bits<2> c = { opc3{0}, opc3 }; 16 // CHECK: bits<2> opc = { 0, 1 }; 17 // CHECK: bits<2> opc2 = { 1, 0 }; 18 // CHECK: bits<1> opc3 = { 1 }; [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MicroMipsInstrFormats.td | 35 field bits<16> Inst; 36 field bits<16> SoftFail = 0; 37 bits<6> Opcode = 0x0; 45 bits<3> rd; 46 bits<3> rt; 47 bits<3> rs; 49 bits<16> Inst; 58 class ANDI_FM_MM16<bits<6> funct> { 59 bits<3> rd; 60 bits<3> rs; [all …]
|
| H A D | MipsMSAInstrFormats.td | 40 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 41 bits<5> ws; 42 bits<5> wd; 43 bits<3> m; 53 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 54 bits<5> ws; 55 bits<5> wd; 56 bits<4> m; 66 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 67 bits<5> ws; [all …]
|
| H A D | MipsInstrFormats.td | 27 class Format<bits<4> val> { 28 bits<4> Value = val; 61 field bits<32> Inst; 68 bits<6> Opcode = 0; 70 // Top 6 bits are the 'opcode' field 83 bits<4> FormBits = Form.Value; 90 field bits<32> SoftFail = 0; 129 class FR<bits<6> op, bits<6> _funct, dag outs, dag ins, string asmstr, 133 bits<5> rd; 134 bits<5> rs; [all …]
|
| H A D | MipsDSPInstrFormats.td | 16 class Field6<bits<6> val> { 17 bits<6> V = val; 34 class ADDU_QB_FMT<bits<5> op> : DSPInst { 35 bits<5> rd; 36 bits<5> rs; 37 bits<5> rt; 48 class RADDU_W_QB_FMT<bits<5> op> : DSPInst { 49 bits<5> rd; 50 bits<5> rs; 62 class CMP_EQ_QB_R2_FMT<bits<5> op> : DSPInst { [all …]
|
| H A D | Mips32r6InstrFormats.td | 26 class OPGROUP<bits<6> Val> { 27 bits<6> Value = Val; 47 class OPCODE2<bits<2> Val> { 48 bits<2> Value = Val; 54 class OPCODE3<bits<3> Val> { 55 bits<3> Value = Val; 59 class OPCODE5<bits<5> Val> { 60 bits<5> Value = Val; 78 class OPCODE6<bits<6> Val> { 79 bits<6> Value = Val; [all …]
|
| H A D | Mips16InstrFormats.td | 59 field bits<16> Inst; 60 bits<5> Opcode = 0; 62 // Top 5 bits are the 'opcode' field 66 field bits<16> SoftFail = 0; 76 field bits<32> Inst; 79 field bits<32> SoftFail = 0; 103 class FI16<bits<5> op, dag outs, dag ins, string asmstr, list<dag> pattern, 107 bits<11> imm11; 118 class FRI16<bits<5> op, dag outs, dag ins, string asmstr, 122 bits<3> rx; [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
| H A D | R600InstrFormats.td | 18 field bits<64> Inst; 22 bits<2> FlagOperandIdx = 0; 68 field bits<32> Word0; 70 bits<11> src0; 71 bits<1> src0_rel; 72 bits<11> src1; 73 bits<1> src1_rel; 74 bits<3> index_mode = 0; 75 bits<2> pred_sel; 76 bits<1> last; [all …]
|
| H A D | VIInstrFormats.td | 14 class DSe_vi <bits<8> op> : Enc64 { 16 bits<8> vdst; 17 bits<1> gds; 18 bits<8> addr; 19 bits<8> data0; 20 bits<8> data1; 21 bits<8> offset0; 22 bits<8> offset1; 35 class MUBUFe_vi <bits<7> op> : Enc64 { 37 bits<12> offset; [all …]
|
| H A D | SIInstrFormats.td | 17 field bits<1> VM_CNT = 0; 18 field bits<1> EXP_CNT = 0; 19 field bits<1> LGKM_CNT = 0; 21 field bits<1> SALU = 0; 22 field bits<1> VALU = 0; 24 field bits<1> SOP1 = 0; 25 field bits<1> SOP2 = 0; 26 field bits<1> SOPC = 0; 27 field bits<1> SOPK = 0; 28 field bits<1> SOPP = 0; [all …]
|
| /minix3/lib/libc/gdtoa/ |
| H A D | strtordd.c | 38 ULtodd(L, bits, expt, k) ULong *L; ULong *bits; Long expt; int k; in ULtodd() argument 40 ULtodd(ULong *L, ULong *bits, Long expt, int k) 52 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL; 53 L[_0] = (bits[2] >> 21) | (bits[3] << 11 & 0xfffff) 56 if (bits[1] &= 0x1fffff) { 57 i = hi0bits(bits[1]) - 11; 65 bits[1] = bits[1] << i | bits[0] >> (32-i); 66 bits[0] = bits[0] << i & (ULong)0xffffffffL; 69 else if (bits[0]) { 70 i = hi0bits(bits[0]) + 21; [all …]
|
| H A D | strtopdd.c | 48 ULong bits[4]; local 62 rv = strtodg(s, sp, fpi, &expt, bits); 73 u->L[_1] = (bits[1] >> 21 | bits[2] << 11) & 0xffffffffL; 74 u->L[_0] = (bits[2] >> 21) | ((bits[3] << 11) & 0xfffff) 77 if (bits[1] &= 0x1fffff) { 78 i = hi0bits(bits[1]) - 11; 86 bits[1] = bits[1] << i | bits[0] >> (32-i); 87 bits[0] = bits[0] << i & 0xffffffffL; 90 else if (bits[0]) { 91 i = hi0bits(bits[0]) + 21; [all …]
|
| H A D | g_Qfmt.c | 63 ULong bits[4], *L, sign; local 78 bits[3] = L[_0] & 0xffff; 79 bits[2] = L[_1]; 80 bits[1] = L[_2]; 81 bits[0] = L[_3]; 86 if (bits[0] | bits[1] | bits[2] | bits[3]) 97 bits[3] |= 0x10000; 99 else if (bits[0] | bits[1] | bits[2] | bits[3]) { 119 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
| H A D | strtorQ.c | 56 ULtoQ(L, bits, expt, k) ULong *L; ULong *bits; Long expt; int k; in ULtoQ() argument 58 ULtoQ(ULong *L, ULong *bits, Long expt, int k) 69 L[_3] = bits[0]; 70 L[_2] = bits[1]; 71 L[_1] = bits[2]; 72 L[_0] = (bits[3] & ~0x10000) | ((expt + 0x3fff + 112) << 16); 76 L[_3] = bits[0]; 77 L[_2] = bits[1]; 78 L[_1] = bits[2]; 79 L[_0] = bits[3]; [all …]
|
| /minix3/lib/libc/gdtoa/test/ |
| H A D | xtest.c | 86 union { long double d; UShort bits[5]; } u, v[2]; in main() member 105 sscanf(s+1, "%hx %hx %hx %hx %hx", &u.bits[_0], in main() 106 &u.bits[_1], &u.bits[_2], &u.bits[_3], in main() 107 &u.bits[_4]); in main() 109 printf(" --> f = #%x %x %x %x %x\n", u.bits[_0], in main() 110 u.bits[_1], u.bits[_2], u.bits[_3], u.bits[_4]); in main() 115 i = strtorx(ibuf, &se, r, u.bits); in main() 116 if (r == 1 && (i != strtopx(ibuf, &se1, v[0].bits) || se1 != se in main() 117 || memcmp(u.bits, v[0].bits, 10))) in main() 122 u.bits[_0], u.bits[_1], u.bits[_2], in main() [all …]
|
| H A D | Qtest.c | 85 union { long double d; ULong bits[4]; } u, v[2], w; in main() member 87 w.bits[0] = w.bits[3] = 0; in main() 91 Ltest = sizeof(long double) == 16 && w.bits[0] && w.bits[3]; in main() 111 u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16); in main() 113 u.bits[_1] = (ULong)strtoul(s1 = se, &se, 16); in main() 115 u.bits[_2] = (ULong)strtoul(s1 = se, &se, 16); in main() 117 u.bits[_3] = (ULong)strtoul(s1 = se, &se, 16); in main() 121 printf(" --> f = #%lx %lx %lx %lx\n", U u.bits[_0], in main() 122 U u.bits[_1], U u.bits[_2], U u.bits[_3]); in main() 127 i = strtorQ(ibuf, &se, r, u.bits); in main() [all …]
|
| H A D | xLtest.c | 84 union { long double d; ULong bits[3]; } u, v[2]; in main() member 105 u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16); in main() 107 u.bits[_1] = (ULong)strtoul(s1=se, &se, 16); in main() 109 u.bits[_2] = (ULong)strtoul(s1=se, &se, 16); in main() 112 printf(" --> f = #%lx %lx %lx\n", U u.bits[_0], in main() 113 U u.bits[_1], U u.bits[_2]); in main() 118 i = strtorxL(ibuf, &se, r, u.bits); in main() 119 if (r == 1 && (i != strtopxL(ibuf, &se1, v[0].bits) || se1 != se in main() 120 || memcmp(u.bits, v[0].bits, 12))) in main() 125 U u.bits[_0], U u.bits[_1], U u.bits[_2]); in main() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/Analysis/ |
| H A D | fields.c | 62 struct Bits bits; in testBitfields() local 64 if (foo() && bits.b) // expected-warning {{garbage}} in testBitfields() 66 if (foo() && bits.inner.e) // expected-warning {{garbage}} in testBitfields() 69 bits.c = 1; in testBitfields() 70 clang_analyzer_eval(bits.c == 1); // expected-warning {{TRUE}} in testBitfields() 72 if (foo() && bits.b) // expected-warning {{garbage}} in testBitfields() 74 if (foo() && bits.x) // expected-warning {{garbage}} in testBitfields() 77 bits.x = true; in testBitfields() 78 clang_analyzer_eval(bits.x == true); // expected-warning{{TRUE}} in testBitfields() 79 bits.b = 2; in testBitfields() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrFormats.td | 14 class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin> 16 field bits<32> Inst; 17 field bits<32> SoftFail = 0; 29 bits<1> PPC970_First = 0; 30 bits<1> PPC970_Single = 0; 31 bits<1> PPC970_Cracked = 0; 32 bits<3> PPC970_Unit = 0; 51 class PPC970_DGroup_First { bits<1> PPC970_First = 1; } 52 class PPC970_DGroup_Single { bits<1> PPC970_Single = 1; } 53 class PPC970_DGroup_Cracked { bits<1> PPC970_Cracked = 1; } [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | SparcInstrFormats.td | 12 field bits<32> Inst; 17 bits<2> op; 18 let Inst{31-30} = op; // Top two bits are the 'op' field 26 field bits<32> SoftFail = 0; 36 bits<3> op2; 37 bits<22> imm22; 45 class F2_1<bits<3> op2Val, dag outs, dag ins, string asmstr, list<dag> pattern> 47 bits<5> rd; 54 class F2_2<bits<3> op2Val, bit annul, dag outs, dag ins, string asmstr, 56 bits<4> cond; [all …]
|
| /minix3/lib/libc/inet/ |
| H A D | inet_cidr_pton.c | 59 int *bits, int ipv6); 60 static int inet_cidr_pton_ipv6(const char *src, u_char *dst, int *bits); 82 inet_cidr_pton(int af, const char *src, void *dst, int *bits) { in inet_cidr_pton() argument 85 return (inet_cidr_pton_ipv4(src, dst, bits, 0)); in inet_cidr_pton() 87 return (inet_cidr_pton_ipv6(src, dst, bits)); in inet_cidr_pton() 99 int ch, bits; in inet_cidr_pton_ipv4() local 124 bits = -1; in inet_cidr_pton_ipv4() 126 bits = getbits(src, ipv6); in inet_cidr_pton_ipv4() 127 if (bits == -2) in inet_cidr_pton_ipv4() 133 if (bits == -1) { in inet_cidr_pton_ipv4() [all …]
|
| H A D | inet_net_ntop.c | 52 static char * inet_net_ntop_ipv4(const u_char *src, int bits, 54 static char * inet_net_ntop_ipv6(const u_char *src, int bits, 68 inet_net_ntop(int af, const void *src, int bits, char *dst, size_t size) in inet_net_ntop() argument 72 return (inet_net_ntop_ipv4(src, bits, dst, size)); in inet_net_ntop() 74 return (inet_net_ntop_ipv6(src, bits, dst, size)); in inet_net_ntop() 95 inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) in inet_net_ntop_ipv4() argument 102 if (bits < 0 || bits > 32) { in inet_net_ntop_ipv4() 107 if (bits == 0) { in inet_net_ntop_ipv4() 116 for (b = bits / 8; b > 0; b--) { in inet_net_ntop_ipv4() 129 b = bits % 8; in inet_net_ntop_ipv4() [all …]
|
| H A D | inet_cidr_ntop.c | 57 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size); 59 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size); 76 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { in inet_cidr_ntop() argument 79 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); in inet_cidr_ntop() 81 return (inet_cidr_ntop_ipv6(src, bits, dst, size)); in inet_cidr_ntop() 123 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) { in inet_cidr_ntop_ipv4() argument 129 if ((bits < -1) || (bits > 32)) { in inet_cidr_ntop_ipv4() 135 if (bits == -1) in inet_cidr_ntop_ipv4() 143 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8; in inet_cidr_ntop_ipv4() 152 if (bits != -1) { in inet_cidr_ntop_ipv4() [all …]
|
| /minix3/common/dist/zlib/ |
| H A D | inffast.c | 87 unsigned bits; /* local strm->bits */ local 114 bits = state->bits; 123 if (bits < 15) { 124 hold += (unsigned long)(PUP(in)) << bits; 125 bits += 8; 126 hold += (unsigned long)(PUP(in)) << bits; 127 bits += 8; 131 op = (unsigned)(this.bits); 133 bits -= op; 145 if (bits < op) { [all …]
|
| /minix3/common/dist/zlib/contrib/infback9/ |
| H A D | infback9.c | 58 unsigned sym, bits, low, size; in makefixed9() local 71 bits = 9; in makefixed9() 72 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 78 bits = 5; in makefixed9() 79 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 96 printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits, in makefixed9() 107 printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits, in makefixed9() 122 bits = 0; \ 145 hold += (unsigned long)(*next++) << bits; \ 146 bits += 8; \ [all …]
|