Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp713 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
730 EncodedBytes += 6; in LowerPATCHPOINT()
735 EncodedBytes += 6; in LowerPATCHPOINT()
741 EncodedBytes += 2; in LowerPATCHPOINT()
748 EncodedBytes += 6; in LowerPATCHPOINT()
753 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
755 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
757 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
758 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp482 EncodedBytes = 0; in LowerPATCHPOINT()
487 ++EncodedBytes; in LowerPATCHPOINT()
492 ++EncodedBytes; in LowerPATCHPOINT()
497 ++EncodedBytes; in LowerPATCHPOINT()
509 ++EncodedBytes; in LowerPATCHPOINT()
521 ++EncodedBytes; in LowerPATCHPOINT()
531 ++EncodedBytes; in LowerPATCHPOINT()
533 ++EncodedBytes; in LowerPATCHPOINT()
540 ++EncodedBytes; in LowerPATCHPOINT()
549 EncodedBytes += 2; in LowerPATCHPOINT()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp1020 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1025 EncodedBytes = 16; in LowerPATCHPOINT()
1045 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1047 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1049 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1451 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
1477 EncodedBytes = 13; in LowerPATCHPOINT()
1479 EncodedBytes = 12; in LowerPATCHPOINT()
1492 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1495 emitX86Nops(*OutStreamer, NumBytes - EncodedBytes, Subtarget); in LowerPATCHPOINT()