Home
last modified time | relevance | path

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

/freebsd/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()
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()
66 EncodedBytes.push_back(NextByte[0]); in readSLEB128()
69 Dest = decodeSLEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readSLEB128()
45 SmallVector<uint8_t, 10> EncodedBytes; readULEB128() local
60 SmallVector<uint8_t, 10> EncodedBytes; readSLEB128() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp159 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
171 EncodedBytes += Compressed ? 2 : 4; in LowerPATCHPOINT()
177 EncodedBytes += Compressed ? 2 : 4; in LowerPATCHPOINT()
184 EncodedBytes += 8; in LowerPATCHPOINT()
189 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
191 assert((NumBytes - EncodedBytes) % NOPBytes == 0 && in LowerPATCHPOINT()
193 emitNops((NumBytes - EncodedBytes) / NOPBytes); in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp796 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
813 EncodedBytes += 6; in LowerPATCHPOINT()
818 EncodedBytes += 6; in LowerPATCHPOINT()
824 EncodedBytes += 2; in LowerPATCHPOINT()
831 EncodedBytes += 6; in LowerPATCHPOINT()
836 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
838 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
840 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
841 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp561 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
570 EncodedBytes = 0; in LowerPATCHPOINT()
575 ++EncodedBytes; in LowerPATCHPOINT()
580 ++EncodedBytes; in LowerPATCHPOINT()
585 ++EncodedBytes; in LowerPATCHPOINT()
597 ++EncodedBytes; in LowerPATCHPOINT()
609 ++EncodedBytes; in LowerPATCHPOINT()
614 ++EncodedBytes; in LowerPATCHPOINT()
619 ++EncodedBytes; in LowerPATCHPOINT()
621 ++EncodedBytes; in LowerPATCHPOINT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1054 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1080 EncodedBytes = 13; in LowerPATCHPOINT()
1082 EncodedBytes = 12; in LowerPATCHPOINT()
1095 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1098 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1593 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1598 EncodedBytes = 16; in LowerPATCHPOINT()
1618 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1620 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1622 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()