Searched refs:Bytes (Results 1 - 25 of 138) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackOffset.h38 int64_t Bytes; member in class:llvm::StackOffset
46 StackOffset() : Bytes(0), ScalableBytes(0) {}
54 : Bytes(Other.Bytes), ScalableBytes(Other.ScalableBytes) {}
63 Bytes += Other.first * ((int64_t)Size.getFixedSize() / 8);
68 Bytes += Other.Bytes;
80 Bytes -= Other.Bytes;
102 int64_t getBytes() const { return Bytes; }
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Dcircular_raw_ostream.cpp25 unsigned Bytes = local
27 memcpy(Cur, Ptr, Bytes);
28 Size -= Bytes;
29 Cur += Bytes;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp42 ArrayRef<uint8_t> Bytes, uint64_t Address,
77 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
79 if (Bytes.size() < 2) {
85 Insn = (Bytes[0] << 0) | (Bytes[1] << 8);
90 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
93 if (Bytes.size() < 4) {
99 Insn = (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[
113 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/Disassembler/
H A DBPFDisassembler.cpp69 ArrayRef<uint8_t> Bytes, uint64_t Address,
137 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
142 if (Bytes.size() < 8) {
149 Hi = (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 0) | (Bytes[3] << 8);
150 Lo = (Bytes[4] << 0) | (Bytes[5] << 8) | (Bytes[
161 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp47 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 ArrayRef<uint8_t> Bytes, uint64_t Address,
76 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { argument
77 if (Size >= Bytes.size())
79 auto V = Bytes[Size];
84 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, argument
88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N,
89 Bytes.data() + Bytes.size(), &Error)
90 : static_cast<int64_t>(decodeULEB128(Bytes
99 parseLEBImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, bool Signed) argument
109 parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) argument
123 onSymbolStart( StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const argument
158 getInstruction( MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t , raw_ostream &CS) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContextAllocate.h26 void *operator new(size_t Bytes, const clang::ASTContext &C,
28 void *operator new[](size_t Bytes, const clang::ASTContext &C,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DMD5.h56 std::array<uint8_t, 16> Bytes; member in struct:llvm::MD5::MD5Result
58 operator std::array<uint8_t, 16>() const { return Bytes; }
60 const uint8_t &operator[](size_t I) const { return Bytes[I]; }
61 uint8_t &operator[](size_t I) { return Bytes[I]; }
69 return endian::read<uint64_t, little, unaligned>(Bytes.data());
74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8);
105 return LHS.Bytes == RHS.Bytes;
H A DDataExtractor.h20 uint8_t Bytes[3]; member in struct:llvm::Uint24
22 Bytes[0] = Bytes[1] = Bytes[2] = U;
25 Bytes[0] = U0; Bytes[1] = U1; Bytes[2] = U2;
29 return Bytes[LoIx] + (Bytes[1] << 8) + (Bytes[
[all...]
H A DBinaryStreamReader.h79 ArrayRef<uint8_t> Bytes; local
80 if (auto EC = readBytes(Bytes, sizeof(T)))
84 Bytes.data(), Stream.getEndian());
188 ArrayRef<uint8_t> Bytes; local
198 if (auto EC = readBytes(Bytes, NumElements * sizeof(T)))
201 assert(isAddrAligned(Align::Of<T>(), Bytes.data()) &&
204 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp21 uint8_t Bytes[32]; local
22 auto Length = encodeSLEB128(S, Bytes);
23 assert(Length < sizeof(Bytes));
24 OS.write(reinterpret_cast<const char *>(Bytes), Length);
28 uint8_t Bytes[32];
29 auto Length = encodeULEB128(U, Bytes);
30 assert(Length < sizeof(Bytes));
31 OS.write(reinterpret_cast<const char *>(Bytes), Length);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/Disassembler/
H A DARCDisassembler.cpp44 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
55 (Bytes[0] << 16) | (Bytes[1] << 24) | (Bytes[2] << 0) | (Bytes[3] << 8);
59 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, argument
62 Insn = ((uint64_t)Bytes[0] << 16) | ((uint64_t)Bytes[1] << 24) |
63 ((uint64_t)Bytes[
69 readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint64_t &Insn) argument
78 readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) argument
[all...]
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_syntax.c22 #define Bytes CTM_F_Bytes macro
36 MD5|After|Chunk, Count, Bytes,0 };
40 MD5|Before|Force, MD5|After|Chunk, Count, Bytes,0 };
44 MD5|Before, MD5|After, Count, Bytes,0 };
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.h30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
H A DLanaiDisassembler.cpp75 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t &Size, argument
78 if (Bytes.size() < 4) {
85 (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 8) | (Bytes[3] << 0);
133 ArrayRef<uint8_t> Bytes, uint64_t Address,
137 DecodeStatus Result = readInstruction32(Bytes, Size, Insn);
132 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream & ) const argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp69 ArrayRef<uint8_t> Bytes) {
71 if (!Bytes.empty()) {
72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size());
73 ::memcpy(Copy, Bytes.data(), Bytes.size());
74 Entry.Checksum = makeArrayRef(Copy, Bytes.size());
86 uint32_t Len = alignTo(sizeof(FileChecksumEntryHeader) + Bytes.size(), 4);
67 addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef<uint8_t> Bytes) argument
H A DRecordSerialization.cpp105 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);
/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutmisc.c249 UINT8 Bytes[4]; member in union:__anon5558
254 UINT8 Bytes[4]; member in union:__anon5559
263 Out.Bytes[0] = In.Bytes[3];
264 Out.Bytes[1] = In.Bytes[2];
265 Out.Bytes[2] = In.Bytes[1];
266 Out.Bytes[3] = In.Bytes[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRMachineFunctionInfo.h60 void setCalleeSavedFrameSize(unsigned Bytes) { CalleeSavedFrameSize = Bytes; } argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/Disassembler/
H A DMSP430Disassembler.cpp34 ArrayRef<uint8_t> Bytes, uint64_t Address,
38 ArrayRef<uint8_t> Bytes, uint64_t Address,
42 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 ArrayRef<uint8_t> Bytes, uint64_t Address,
230 ArrayRef<uint8_t> Bytes,
233 uint64_t Insn = support::endian::read16le(Bytes.data());
247 if (Bytes.size() < (Words + 1) * 2) {
251 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16;
261 if (Bytes.size() < (Words + 1) * 2) {
265 Insn |= (uint64_t)support::endian::read16le(Bytes
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.h27 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceWriter.cpp51 auto Bytes = IndexedWriter<0>::write(OS, T); local
52 assert(Bytes <= 15 && "Must only ever write at most 16 byte metadata!");
54 for (; Bytes < 15; ++Bytes)
101 ArrayRef<char> Bytes(D.data(), D.size());
102 OS.write(Bytes);
110 ArrayRef<char> Bytes(D.data(), D.size());
111 OS.write(Bytes);
119 ArrayRef<char> Bytes(D.data(), D.size());
120 OS.write(Bytes);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 const ByteArrayTy &Bytes,
39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size());
45 for (Index = 0; Index < Bytes.first.size(); Index += Size) {
52 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
65 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]),
34 PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer, bool InAtomicBlock, const MCSubtargetInfo &STI) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp85 uint64_t Bytes = CSize->getZExtValue(); local
86 if (Bytes == 0)
95 Bytes <= 16 && countPopulation(Bytes) <= 2 :
96 Bytes <= 4) {
97 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes);
98 unsigned Size2 = Bytes - Size1;
112 if (Bytes <= 2) {
114 if (Bytes
184 uint64_t Bytes = CSize->getZExtValue(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCDisassembler/
H A DMCDisassembler.h71 /// \param Bytes - A reference to the actual bytes of the instruction.
78 ArrayRef<uint8_t> Bytes, uint64_t Address,
88 /// \param Bytes - A reference to the actual bytes at the symbol location.
93 ArrayRef<uint8_t> Bytes, uint64_t Address,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc71 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
76 !EnumProcessModulesEx(H, Data, Bytes, &Bytes, LIST_MODULES_64BIT)
78 !EnumProcessModules(H, Data, Bytes, &Bytes)
113 DWORD Bytes = 0;
115 if (!GetProcessModules(Self, Bytes))
124 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
126 Handles.resize(Bytes / sizeo
[all...]

Completed in 242 milliseconds

123456