Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
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()
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp652 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
669 EncodedBytes += 6; in LowerPATCHPOINT()
674 EncodedBytes += 6; in LowerPATCHPOINT()
680 EncodedBytes += 2; in LowerPATCHPOINT()
687 EncodedBytes += 6; in LowerPATCHPOINT()
692 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
694 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
696 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
697 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp437 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
446 EncodedBytes = 0; in LowerPATCHPOINT()
451 ++EncodedBytes; in LowerPATCHPOINT()
456 ++EncodedBytes; in LowerPATCHPOINT()
461 ++EncodedBytes; in LowerPATCHPOINT()
473 ++EncodedBytes; in LowerPATCHPOINT()
485 ++EncodedBytes; in LowerPATCHPOINT()
490 ++EncodedBytes; in LowerPATCHPOINT()
495 ++EncodedBytes; in LowerPATCHPOINT()
497 ++EncodedBytes; in LowerPATCHPOINT()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp981 unsigned EncodedBytes = 0; in LowerPATCHPOINT() local
986 EncodedBytes = 16; in LowerPATCHPOINT()
1006 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
1008 assert((NumBytes - EncodedBytes) % 4 == 0 && in LowerPATCHPOINT()
1010 for (unsigned i = EncodedBytes; i < NumBytes; i += 4) in LowerPATCHPOINT()
/netbsd-src/external/apache2/llvm/dist/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()