Home
last modified time | relevance | path

Searched refs:EncodedBytes (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamWriter.cpp36 uint8_t EncodedBytes[10] = {0}; in writeULEB128() local
37 unsigned Size = encodeULEB128(Value, &EncodedBytes[0]); in writeULEB128()
38 return writeBytes({EncodedBytes, Size}); in writeULEB128()
42 uint8_t EncodedBytes[10] = {0}; in writeSLEB128() local
43 unsigned Size = encodeSLEB128(Value, &EncodedBytes[0]); in writeSLEB128()
44 return writeBytes({EncodedBytes, Size}); in writeSLEB128()
H A DBinaryStreamReader.cpp44 SmallVector<uint8_t, 10> EncodedBytes; in readULEB128() local
51 EncodedBytes.push_back(NextByte[0]); in readULEB128()
54 Dest = decodeULEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readULEB128()
59 SmallVector<uint8_t, 10> EncodedBytes; in readSLEB128() local
66 EncodedBytes.push_back(NextByte[0]); in readSLEB128()
69 Dest = decodeSLEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readSLEB128()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp795 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
812 EncodedBytes += 6; in LowerPATCHPOINT()
817 EncodedBytes += 6; in LowerPATCHPOINT()
823 EncodedBytes += 2; in LowerPATCHPOINT()
830 EncodedBytes += 6; in LowerPATCHPOINT()
835 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
837 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
839 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
840 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp533 EncodedBytes = 0; in LowerPATCHPOINT()
538 ++EncodedBytes; in LowerPATCHPOINT()
543 ++EncodedBytes; in LowerPATCHPOINT()
548 ++EncodedBytes; in LowerPATCHPOINT()
560 ++EncodedBytes; in LowerPATCHPOINT()
572 ++EncodedBytes; in LowerPATCHPOINT()
582 ++EncodedBytes; in LowerPATCHPOINT()
584 ++EncodedBytes; in LowerPATCHPOINT()
591 ++EncodedBytes; in LowerPATCHPOINT()
600 EncodedBytes += 2; in LowerPATCHPOINT()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp155 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
159 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
161 assert((NumBytes - EncodedBytes) % NOPBytes == 0 && in LowerPATCHPOINT()
163 emitNops((NumBytes - EncodedBytes) / NOPBytes); in LowerPATCHPOINT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1023 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1049 EncodedBytes = 13; in LowerPATCHPOINT()
1051 EncodedBytes = 12; in LowerPATCHPOINT()
1064 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1067 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1314 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1319 EncodedBytes = 16; in LowerPATCHPOINT()
1339 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1341 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1343 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()