Home
last modified time | relevance | path

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

/freebsd-13.1/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.cpp45 SmallVector<uint8_t, 10> EncodedBytes; in readULEB128() local
52 EncodedBytes.push_back(NextByte[0]); in readULEB128()
55 Dest = decodeULEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readULEB128()
60 SmallVector<uint8_t, 10> EncodedBytes; in readSLEB128() local
67 EncodedBytes.push_back(NextByte[0]); in readSLEB128()
70 Dest = decodeSLEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readSLEB128()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp676 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
693 EncodedBytes += 6; in LowerPATCHPOINT()
698 EncodedBytes += 6; in LowerPATCHPOINT()
704 EncodedBytes += 2; in LowerPATCHPOINT()
711 EncodedBytes += 6; in LowerPATCHPOINT()
716 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
718 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
720 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
721 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp458 EncodedBytes = 0; in LowerPATCHPOINT()
463 ++EncodedBytes; in LowerPATCHPOINT()
468 ++EncodedBytes; in LowerPATCHPOINT()
473 ++EncodedBytes; in LowerPATCHPOINT()
485 ++EncodedBytes; in LowerPATCHPOINT()
497 ++EncodedBytes; in LowerPATCHPOINT()
507 ++EncodedBytes; in LowerPATCHPOINT()
509 ++EncodedBytes; in LowerPATCHPOINT()
516 ++EncodedBytes; in LowerPATCHPOINT()
525 EncodedBytes += 2; in LowerPATCHPOINT()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp985 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
990 EncodedBytes = 16; in LowerPATCHPOINT()
1010 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1012 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1014 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1405 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1431 EncodedBytes = 13; in LowerPATCHPOINT()
1433 EncodedBytes = 12; in LowerPATCHPOINT()
1446 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1449 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()