Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DBinaryStreamWriter.cpp35 uint8_t EncodedBytes[10] = {0}; in writeULEB128() local
36 unsigned Size = encodeULEB128(Value, &EncodedBytes[0]); in writeULEB128()
37 return writeBytes({EncodedBytes, Size}); in writeULEB128()
41 uint8_t EncodedBytes[10] = {0}; in writeSLEB128() local
42 unsigned Size = encodeSLEB128(Value, &EncodedBytes[0]); in writeSLEB128()
43 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp708 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
725 EncodedBytes += 6; in LowerPATCHPOINT()
730 EncodedBytes += 6; in LowerPATCHPOINT()
736 EncodedBytes += 2; in LowerPATCHPOINT()
743 EncodedBytes += 6; in LowerPATCHPOINT()
748 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
750 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
752 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
753 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp466 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
475 EncodedBytes = 0; in LowerPATCHPOINT()
480 ++EncodedBytes; in LowerPATCHPOINT()
485 ++EncodedBytes; in LowerPATCHPOINT()
490 ++EncodedBytes; in LowerPATCHPOINT()
502 ++EncodedBytes; in LowerPATCHPOINT()
514 ++EncodedBytes; in LowerPATCHPOINT()
519 ++EncodedBytes; in LowerPATCHPOINT()
524 ++EncodedBytes; in LowerPATCHPOINT()
526 ++EncodedBytes; in LowerPATCHPOINT()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1126 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1131 EncodedBytes = 16; in LowerPATCHPOINT()
1151 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1153 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1155 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1512 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1538 EncodedBytes = 13; in LowerPATCHPOINT()
1540 EncodedBytes = 12; in LowerPATCHPOINT()
1553 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1556 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()