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.cpp178 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
190 EncodedBytes += Compressed ? 2 : 4; in LowerPATCHPOINT()
196 EncodedBytes += Compressed ? 2 : 4; in LowerPATCHPOINT()
203 EncodedBytes += 8; in LowerPATCHPOINT()
208 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
210 assert((NumBytes - EncodedBytes) % NOPBytes == 0 && in LowerPATCHPOINT()
212 emitNops((NumBytes - EncodedBytes) / NOPBytes); in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp850 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
867 EncodedBytes += 6; in LowerPATCHPOINT()
872 EncodedBytes += 6; in LowerPATCHPOINT()
878 EncodedBytes += 2; in LowerPATCHPOINT()
885 EncodedBytes += 6; in LowerPATCHPOINT()
890 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
892 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
894 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
895 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp566 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
575 EncodedBytes = 0; in LowerPATCHPOINT()
580 ++EncodedBytes; in LowerPATCHPOINT()
585 ++EncodedBytes; in LowerPATCHPOINT()
590 ++EncodedBytes; in LowerPATCHPOINT()
602 ++EncodedBytes; in LowerPATCHPOINT()
614 ++EncodedBytes; in LowerPATCHPOINT()
619 ++EncodedBytes; in LowerPATCHPOINT()
624 ++EncodedBytes; in LowerPATCHPOINT()
626 ++EncodedBytes; in LowerPATCHPOINT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1049 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1075 EncodedBytes = 13; in LowerPATCHPOINT()
1077 EncodedBytes = 12; in LowerPATCHPOINT()
1090 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1093 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1702 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1707 EncodedBytes = 16; in LowerPATCHPOINT()
1716 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1718 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1720 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()