/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Endian.h | 86 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/ |
D | Endian.h | 87 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Endian.h | 120 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) { in readAtBitAlignment() argument 121 assert(startBit < 8); in readAtBitAlignment() 122 if (startBit == 0) in readAtBitAlignment() 135 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment() 138 (sizeof(value_type) * 8) - startBit; in readAtBitAlignment() 143 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment() 155 uint64_t startBit) { in writeAtBitAlignment() argument 156 assert(startBit < 8); in writeAtBitAlignment() 157 if (startBit == 0) in writeAtBitAlignment() 171 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment() [all …]
|
/external/ppp/pppd/ |
D | pppcrypt.c | 57 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/bcc/src/cc/frontends/p4/compiler/ |
D | ebpfParser.py | 96 def generatePacketLoad(self, startBit, width, alignment, program): argument 104 assert isinstance(startBit, int) 108 firstBitIndex = startBit + alignment 109 lastBitIndex = startBit + width + alignment - 1 131 load, program.packetName, program.offsetVariableName, startBit)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonShuffler.cpp | 172 static unsigned makeAllBits(unsigned startBit, unsigned Lanes) in makeAllBits() argument 175 startBit = (startBit << 1) | startBit; in makeAllBits() 176 return startBit; in makeAllBits()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | ARMDecoderEmitter.cpp | 307 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()
|
D | FixedLenDecoderEmitter.cpp | 167 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/ |
D | FixedLenDecoderEmitter.cpp | 256 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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 256 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 473 void runSingleFilter(unsigned startBit, unsigned numBit, bool mixed); 512 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() argument 514 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { in Filter() 1406 void FilterChooser::runSingleFilter(unsigned startBit, unsigned numBit, in runSingleFilter() argument 1409 Filters.emplace_back(*this, startBit, numBit, true); in runSingleFilter()
|
/external/capstone/arch/XCore/ |
D | XCoreGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/v8/src/s390/ |
D | macro-assembler-s390.h | 221 const Operand& startBit, const Operand& endBit, 907 int startBit = 63 - rangeStart + rangeEnd; in ExtractBitRange() local 908 RotateInsertSelectBits(dst, src, Operand(startBit), Operand(endBit), in ExtractBitRange()
|
D | assembler-s390.h | 1230 void name(Register dst, Register src, const Operand& startBit, \ 1232 DCHECK(is_uint8(startBit.immediate())); \ 1235 rie_f_format(op_name, dst.code(), src.code(), startBit.immediate(), \
|
D | macro-assembler-s390.cc | 361 const Operand& startBit, const Operand& endBit, in RotateInsertSelectBits() argument 365 risbg(dst, src, startBit, in RotateInsertSelectBits() 368 risbg(dst, src, startBit, endBit, shiftAmt); in RotateInsertSelectBits() 3027 int startBit = in AndP() local 3031 RotateInsertSelectBits(dst, src, Operand(startBit), Operand(endBit), in AndP()
|
/external/v8/src/compiler/s390/ |
D | code-generator-s390.cc | 1812 int startBit = 63 - i.InputInt32(2); in AssembleArchInstruction() local 1814 Operand(startBit), Operand(endBit), Operand(shiftAmount), true); in AssembleArchInstruction() 1829 int startBit = 63 - i.InputInt32(2); in AssembleArchInstruction() local 1831 Operand(startBit), Operand(endBit), Operand(shiftAmount), true); in AssembleArchInstruction() 1844 int startBit = 0; in AssembleArchInstruction() local 1846 Operand(startBit), Operand(endBit), Operand(shiftAmount), true); in AssembleArchInstruction()
|
/external/capstone/arch/Sparc/ |
D | SparcGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/capstone/arch/SystemZ/ |
D | SystemZGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/capstone/arch/PowerPC/ |
D | PPCGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, \ 24 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 25 return (insn & fieldMask) >> startBit; \
|
/external/capstone/arch/Mips/ |
D | MipsGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/ |
D | MipsGenDisassemblerTables.inc | 23 static InsnType fieldFromInstruction(InsnType insn, unsigned startBit, 25 assert(startBit + numBits <= (sizeof(InsnType)*8) && 31 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; 32 return (insn & fieldMask) >> startBit;
|
/external/capstone/arch/AArch64/ |
D | AArch64GenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/capstone/arch/ARM/ |
D | ARMGenDisassemblerTables.inc | 17 static InsnType fname(InsnType insn, unsigned startBit, unsigned numBits) \ 23 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; \ 24 return (insn & fieldMask) >> startBit; \
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenDisassemblerTables.inc | 23 static InsnType fieldFromInstruction(InsnType insn, unsigned startBit, 25 assert(startBit + numBits <= (sizeof(InsnType)*8) && 31 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; 32 return (insn & fieldMask) >> startBit;
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenDisassemblerTables.inc | 23 static InsnType fieldFromInstruction(InsnType insn, unsigned startBit, 25 assert(startBit + numBits <= (sizeof(InsnType)*8) && 31 fieldMask = (((InsnType)1 << numBits) - 1) << startBit; 32 return (insn & fieldMask) >> startBit;
|