/netbsd-current/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordSerialization.cpp | 105 ArrayRef<uint8_t> Bytes(Data.bytes_begin(), Data.bytes_end()); 106 BinaryByteStream S(Bytes, llvm::support::little); 131 ArrayRef<uint8_t> Bytes(Data.bytes_begin(), Data.bytes_end()); 132 BinaryByteStream S(Bytes, llvm::support::little);
|
H A D | CodeViewRecordIO.cpp | 100 Error CodeViewRecordIO::mapByteVectorTail(ArrayRef<uint8_t> &Bytes, argument 104 Streamer->emitBinaryData(toStringRef(Bytes)); 105 incrStreamedLen(Bytes.size()); 107 if (auto EC = Writer->writeBytes(Bytes)) 110 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) 116 Error CodeViewRecordIO::mapByteVectorTail(std::vector<uint8_t> &Bytes, argument 118 ArrayRef<uint8_t> BytesRef(Bytes); 122 Bytes.assign(BytesRef.begin(), BytesRef.end());
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm-c/ |
H A D | Disassembler.h | 93 * parameter Bytes, and contains at least BytesSize number of bytes. The 100 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | Format.h | 216 ArrayRef<uint8_t> Bytes; member in class:llvm::FormattedBytes 230 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), 239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None, argument 242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, 247 format_bytes_with_ascii(ArrayRef<uint8_t> Bytes, argument 251 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 177 StringRef Bytes(getBytes(OffsetPtr, Length)); 178 return Bytes.trim(TrimChars); 199 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(Data); local 200 assert(*OffsetPtr <= Bytes.size()); 208 Decoder(Bytes.data() + *OffsetPtr, &bytes_read, Bytes.end(), &error);
|
H A D | BinaryStreamReader.cpp | 123 ArrayRef<uint8_t> Bytes; local 124 if (auto EC = readBytes(Bytes, Length)) 126 Dest = StringRef(reinterpret_cast<const char *>(Bytes.begin()), Bytes.size());
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
H A D | WholeProgramDevirt.h | 40 std::vector<uint8_t> Bytes; member in struct:llvm::wholeprogramdevirt::AccumBitVector 42 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not. 46 if (Bytes.size() < Pos + Size) { 47 Bytes.resize(Pos + Size); 50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); 159 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); 165 return minAfterBytes() + TM->Bits->After.Bytes.size();
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/VE/Disassembler/ |
H A D | VEDisassembler.cpp | 39 ArrayRef<uint8_t> Bytes, uint64_t Address, 259 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, argument 262 // We want to read exactly 8 Bytes of data. 263 if (Bytes.size() < 8) { 269 ? ((uint64_t)Bytes[0] << 0) | ((uint64_t)Bytes[1] << 8) | 270 ((uint64_t)Bytes[2] << 16) | ((uint64_t)Bytes[3] << 24) | 271 ((uint64_t)Bytes[4] << 32) | ((uint64_t)Bytes[ 281 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/ |
H A D | BitstreamWriter.h | 158 // Copy data to update into Bytes from the file FS and the buffer Out. 159 char Bytes[9]; // Use one more byte to silence a warning from Visual C++. local 164 // When unaligned, copy existing data into Bytes from the file FS and the 173 ssize_t BytesRead = FS->read(Bytes, BytesFromDisk); 177 Bytes[BytesFromDisk + i] = Out[i]; 179 Bytes, StartBit)) && 183 // Update Bytes in terms of bit offset and value. 184 endian::writeAtBitAlignment<uint32_t, little, unaligned>(Bytes, NewWord, 189 FS->write(Bytes, BytesFromDisk); 191 Out[i] = Bytes[BytesFromDis [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.h | 39 mutable ArrayRef<uint8_t> Bytes; member in class:llvm::AMDGPUDisassembler 49 ArrayRef<uint8_t> Bytes, uint64_t Address, 64 ArrayRef<uint8_t> Bytes, 68 DecodeStatus decodeKernelDescriptor(StringRef KdName, ArrayRef<uint8_t> Bytes, 73 ArrayRef<uint8_t> Bytes, 77 /// \param FourByteBuffer - Bytes holding contents of COMPUTE_PGM_RSRC1. 84 /// \param FourByteBuffer - Bytes holding contents of COMPUTE_PGM_RSRC2.
|
H A D | AMDGPUDisassembler.cpp | 377 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) { argument 378 assert(Bytes.size() >= sizeof(T)); 379 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); 380 Bytes = Bytes.slice(sizeof(T)); 392 const auto SavedBytes = Bytes; 397 Bytes = SavedBytes; 422 Bytes = Bytes_.slice(0, MaxInstBytesNum); 431 if (Bytes.size() >= 8) { 432 const uint64_t QW = eatBytes<uint64_t>(Bytes); [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ThumbRegisterInfo.cpp | 193 unsigned Bytes = (unsigned)NumBytes; 194 if (isSub) Bytes = -NumBytes; 267 assert(((Bytes & 3) == 0 || ExtraScale == 1) && 272 if (CopyOpc && Bytes < CopyScale) { 280 unsigned RangeAfterCopy = (CopyRange > Bytes) ? 0 : (Bytes - CopyRange); 308 unsigned CopyImm = std::min(Bytes, CopyRange) / CopyScale; 309 Bytes -= CopyImm * CopyScale; 324 while (Bytes) { 325 unsigned ExtraImm = std::min(Bytes, ExtraRang [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/fuzzer/dataflow/ |
H A D | DataFlow.cpp | 94 void SetBytesForLabel(dfsan_label L, char *Bytes) { argument 100 Bytes[L - 1] = '1'; 103 SetBytesForLabel(DLI->l1, Bytes); 104 SetBytesForLabel(DLI->l2, Bytes);
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackReader.h | 69 StringRef Bytes; member in struct:llvm::msgpack::ExtensionType
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.h | 109 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument 111 assert((curpos + Bytes) <= size); 116 for (int i = Num; i < Bytes; ++i) { 264 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/Disassembler/ |
H A D | PPCDisassembler.cpp | 36 ArrayRef<uint8_t> Bytes, uint64_t Address, 402 ArrayRef<uint8_t> Bytes, 416 if (STI.getFeatureBits()[PPC::FeaturePrefixInstrs] && Bytes.size() >= 8) { 417 uint32_t Prefix = ReadFunc(Bytes.data()); 418 uint32_t BaseInst = ReadFunc(Bytes.data() + 4); 430 if (Bytes.size() < 4) { 436 uint64_t Inst = ReadFunc(Bytes.data());
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFThumb.h | 261 auto EncodeImmediate = [](uint8_t *Bytes, uint16_t Immediate) { 262 Bytes[0] |= ((Immediate & 0xf000) >> 12); 263 Bytes[1] |= ((Immediate & 0x0800) >> 11); 264 Bytes[2] |= ((Immediate & 0x00ff) >> 0); 265 Bytes[3] |= (((Immediate & 0x0700) >> 8) << 4);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/XCore/Disassembler/ |
H A D | XCoreDisassembler.cpp | 39 ArrayRef<uint8_t> Bytes, uint64_t Address, 44 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, argument 46 // We want to read exactly 2 Bytes of data. 47 if (Bytes.size() < 2) { 52 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); 56 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument 58 // We want to read exactly 4 Bytes of data. 59 if (Bytes.size() < 4) { 65 (Bytes[ 738 getInstruction(MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &cStream) const argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Sparc/Disassembler/ |
H A D | SparcDisassembler.cpp | 38 ArrayRef<uint8_t> Bytes, uint64_t Address, 313 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument 316 // We want to read exactly 4 Bytes of data. 317 if (Bytes.size() < 4) { 323 ? (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[2] << 16) | 324 (Bytes[3] << 24) 325 : (Bytes[3] << 0) | (Bytes[ 331 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 594 unsigned Bytes = local 597 return Bytes; 602 unsigned Bytes = 1 + EmitSignedVBRValue( local 605 return Bytes; 643 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); local 645 return Bytes; 650 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); local 652 return Bytes; 671 unsigned Bytes = 2 + EmitSignedVBRValue(Val, OS); local 673 return Bytes; 730 int Bytes = 3; local [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/ |
H A D | Target.cpp | 456 static MCInst allocateStackSpace(unsigned Bytes) { argument 460 .addImm(Bytes); 490 static MCInst releaseStackSpace(unsigned Bytes) { argument 494 .addImm(Bytes); 521 void initStack(unsigned Bytes); 590 void ConstantInliner::initStack(unsigned Bytes) { argument 591 assert(Constant_.getBitWidth() <= Bytes * 8 && 593 const APInt WideConstant = Constant_.getBitWidth() < Bytes * 8 594 ? Constant_.sext(Bytes * 8) 596 add(allocateStackSpace(Bytes)); [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 464 printInst(MCInstPrinter &IP, const MCInst *MI, ArrayRef<uint8_t> Bytes, 478 dumpBytes(Bytes, OS); 493 Address.Address + (STI.getTargetTriple().isX86() ? Bytes.size() : 0); 503 void printLead(ArrayRef<uint8_t> Bytes, uint64_t Address, 506 (Bytes[3] << 24) | (Bytes[2] << 16) | (Bytes[1] << 8) | Bytes[0]; 511 dumpBytes(Bytes.slice(0, 4), OS); 515 void printInst(MCInstPrinter &IP, const MCInst *MI, ArrayRef<uint8_t> Bytes, [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/MC/MCDisassembler/ |
H A D | MCDisassembler.h | 120 /// \param Bytes - A reference to the actual bytes of the instruction. 127 ArrayRef<uint8_t> Bytes, uint64_t Address, 142 /// \param Bytes - A reference to the actual bytes at the symbol location. 154 onSymbolStart(SymbolInfoTy &Symbol, uint64_t &Size, ArrayRef<uint8_t> Bytes,
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/M68k/Disassembler/ |
H A D | M68kDisassembler.cpp | 63 static M68kInstructionBuffer fill(ArrayRef<uint8_t> Bytes); 127 ArrayRef<uint8_t> Bytes, uint64_t Address, 166 M68kInstructionBuffer M68kInstructionBuffer::fill(ArrayRef<uint8_t> Bytes) { argument 168 Buffer.resize(std::min(Bytes.size() / 2, Buffer.max_size())); 172 uint64_t Hi = Bytes[Offset]; 173 uint64_t Lo = Bytes[Offset + 1]; 458 ArrayRef<uint8_t> Bytes, 462 auto Buffer = M68kInstructionBuffer::fill(Bytes); 457 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/Disassembler/ |
H A D | SystemZDisassembler.cpp | 36 ArrayRef<uint8_t> Bytes, uint64_t Address, 449 ArrayRef<uint8_t> Bytes, 454 if (Bytes.size() < 2) 459 if (Bytes[0] < 0x40) { 462 } else if (Bytes[0] < 0xc0) { 471 if (Bytes.size() < Size) { 472 Size = Bytes.size(); 479 Inst = (Inst << 8) | Bytes[I];
|