Home
last modified time | relevance | path

Searched refs:startBit (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h86 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) { in readAtBitAlignment() argument
87 assert(startBit < 8); in readAtBitAlignment()
88 if (startBit == 0) in readAtBitAlignment()
101 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
104 (sizeof(value_type) * 8) - startBit; in readAtBitAlignment()
109 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
121 uint64_t startBit) { in writeAtBitAlignment() argument
122 assert(startBit < 8); in writeAtBitAlignment()
123 if (startBit == 0) in writeAtBitAlignment()
137 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
[all …]
/external/llvm/include/llvm/Support/
DEndian.h87 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) { in readAtBitAlignment() argument
88 assert(startBit < 8); in readAtBitAlignment()
89 if (startBit == 0) in readAtBitAlignment()
102 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
105 (sizeof(value_type) * 8) - startBit; in readAtBitAlignment()
110 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
122 uint64_t startBit) { in writeAtBitAlignment() argument
123 assert(startBit < 8); in writeAtBitAlignment()
124 if (startBit == 0) in writeAtBitAlignment()
138 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
[all …]
/external/ppp/pppd/
Dpppcrypt.c57 Get7Bits(input, startBit) in Get7Bits() argument
59 int startBit;
63 word = (unsigned)input[startBit / 8] << 8;
64 word |= (unsigned)input[startBit / 8 + 1];
66 word >>= 15 - (startBit % 8 + 7);
/external/syslinux/core/lwip/src/netif/ppp/
Dchpms.c139 int startBit
227 Get7Bits( u_char *input, int startBit) in Get7Bits() argument
231 word = (unsigned)input[startBit / 8] << 8; in Get7Bits()
232 word |= (unsigned)input[startBit / 8 + 1]; in Get7Bits()
234 word >>= 15 - (startBit % 8 + 7); in Get7Bits()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DARMDecoderEmitter.cpp307 ARMFilter(ARMFilterChooser &owner, unsigned startBit, unsigned numBits,
510 void runSingleFilter(ARMFilterChooser &owner, unsigned startBit,
548 ARMFilter::ARMFilter(ARMFilterChooser &owner, unsigned startBit, unsigned numBits, in ARMFilter() argument
549 bool mixed) : Owner(&owner), StartBit(startBit), NumBits(numBits), in ARMFilter()
1075 unsigned startBit, in runSingleFilter() argument
1078 ARMFilter F(*this, startBit, numBit, true); in runSingleFilter()
DFixedLenDecoderEmitter.cpp167 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
348 void runSingleFilter(FilterChooser &owner, unsigned startBit, unsigned numBit,
386 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() argument
387 bool mixed) : Owner(&owner), StartBit(startBit), NumBits(numBits), in Filter()
911 void FilterChooser::runSingleFilter(FilterChooser &owner, unsigned startBit, in runSingleFilter() argument
914 Filter F(*this, startBit, numBit, true); in runSingleFilter()
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp256 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
457 void runSingleFilter(unsigned startBit, unsigned numBit, bool mixed);
495 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() argument
497 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { in Filter()
1380 void FilterChooser::runSingleFilter(unsigned startBit, unsigned numBit, in runSingleFilter() argument
1383 Filters.emplace_back(*this, startBit, numBit, true); in runSingleFilter()
/external/v8/src/s390/
Dassembler-s390.cc1382 void Assembler::risbg(Register dst, Register src, const Operand& startBit, in risbg() argument
1387 rie_f_form(RISBG, dst, src, startBit, Operand(endBit.imm_ | 0x80), in risbg()
1390 rie_f_form(RISBG, dst, src, startBit, endBit, shiftAmt); in risbg()
1394 void Assembler::risbgn(Register dst, Register src, const Operand& startBit, in risbgn() argument
1399 rie_f_form(RISBGN, dst, src, startBit, Operand(endBit.imm_ | 0x80), in risbgn()
1402 rie_f_form(RISBGN, dst, src, startBit, endBit, shiftAmt); in risbgn()
Dassembler-s390.h1114 void risbg(Register dst, Register src, const Operand& startBit,
1117 void risbgn(Register dst, Register src, const Operand& startBit,
Dmacro-assembler-s390.h1368 int startBit = 63 - rangeStart + rangeEnd; in ExtractBitRange() local
1369 risbg(dst, src, Operand(startBit), Operand(endBit), Operand(shiftAmount), in ExtractBitRange()
Dmacro-assembler-s390.cc4093 int startBit = in AndP() local
4097 risbg(dst, src, Operand(startBit), Operand(endBit), Operand::Zero(), in AndP()
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc1526 int startBit = 63 - i.InputInt32(2); in AssembleArchInstruction() local
1527 __ risbg(i.OutputRegister(), i.InputRegister(0), Operand(startBit), in AssembleArchInstruction()
1543 int startBit = 63 - i.InputInt32(2); in AssembleArchInstruction() local
1544 __ risbg(i.OutputRegister(), i.InputRegister(0), Operand(startBit), in AssembleArchInstruction()
1558 int startBit = 0; in AssembleArchInstruction() local
1559 __ risbg(i.OutputRegister(), i.InputRegister(0), Operand(startBit), in AssembleArchInstruction()