Home
last modified time | relevance | path

Searched refs:FirstByte (Results 1 – 12 of 12) sorted by relevance

/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackWriter.cpp25 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
27 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write()
41 EW.write(FirstByte::Int8); in write()
47 EW.write(FirstByte::Int16); in write()
53 EW.write(FirstByte::Int32); in write()
58 EW.write(FirstByte::Int64); in write()
69 EW.write(FirstByte::UInt8); in write()
75 EW.write(FirstByte::UInt16); in write()
81 EW.write(FirstByte::UInt32); in write()
86 EW.write(FirstByte::UInt64); in write()
[all …]
H A DMsgPackReader.cpp36 case FirstByte::Nil: in read()
39 case FirstByte::True: in read()
43 case FirstByte::False: in read()
47 case FirstByte::Int8: in read()
50 case FirstByte::Int16: in read()
53 case FirstByte::Int32: in read()
56 case FirstByte::Int64: in read()
59 case FirstByte::UInt8: in read()
62 case FirstByte::UInt16: in read()
65 case FirstByte::UInt32: in read()
[all …]
/llvm-project/llvm/lib/XRay/
H A DFDRRecordProducer.cpp75 constexpr bool isMetadataIntroducer(uint8_t FirstByte) { in isMetadataIntroducer() argument
76 return FirstByte & 0x01u; in isMetadataIntroducer()
88 uint8_t FirstByte = E.getU8(&OffsetPtr); in findNextBufferExtent() local
94 if (isMetadataIntroducer(FirstByte)) { in findNextBufferExtent()
95 auto LoadedType = FirstByte >> 1; in findNextBufferExtent()
150 uint8_t FirstByte = E.getU8(&OffsetPtr); in produce() local
157 if (isMetadataIntroducer(FirstByte)) { in produce()
158 auto LoadedType = FirstByte >> 1; in produce()
H A DFDRTraceWriter.cpp45 uint8_t FirstByte = (static_cast<uint8_t>(Kind) << 1) | uint8_t{0x01u}; in writeMetadata()
48 OS.write(FirstByte); in writeMetadata()
/llvm-project/llvm/utils/UnicodeData/
H A DUnicodeNameMappingGenerator.cpp223 uint8_t FirstByte = (!!N->Value) ? 0x80 : 0; in dumpIndex() local
226 FirstByte |= letter(N->Name[0]); in dumpIndex()
227 Bytes.push_back(FirstByte); in dumpIndex()
230 FirstByte = FirstByte | uint8_t(N->Name.size()) | 0x40; in dumpIndex()
231 Bytes.push_back(FirstByte); in dumpIndex()
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h227 uint8_t FirstByte = Annotations.front(); in GetCompressedAnnotation() local
230 if ((FirstByte & 0x80) == 0x00) in GetCompressedAnnotation()
231 return FirstByte; in GetCompressedAnnotation()
239 if ((FirstByte & 0xC0) == 0x80) in GetCompressedAnnotation()
240 return ((FirstByte & 0x3F) << 8) | SecondByte; in GetCompressedAnnotation()
254 if ((FirstByte & 0xE0) == 0xC0) in GetCompressedAnnotation()
255 return ((FirstByte & 0x1F) << 24) | (SecondByte << 16) | in GetCompressedAnnotation()
/llvm-project/llvm/lib/Support/
H A DJSON.cpp584 uint8_t FirstByte = 0xC0 | ((Rune & 0x7C0) >> 6); in encodeUtf8() local
586 Out.push_back(FirstByte); in encodeUtf8()
589 uint8_t FirstByte = 0xE0 | ((Rune & 0xF000) >> 12); in encodeUtf8() local
592 Out.push_back(FirstByte); in encodeUtf8()
596 uint8_t FirstByte = 0xF0 | ((Rune & 0x1F0000) >> 18); in encodeUtf8() local
600 Out.push_back(FirstByte); in encodeUtf8()
H A DYAMLParser.cpp584 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6); in encodeUTF8()
586 Result.push_back(FirstByte); in encodeUTF8()
589 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12); in encodeUTF8()
592 Result.push_back(FirstByte); in encodeUTF8()
596 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18); in encodeUTF8()
600 Result.push_back(FirstByte); in encodeUTF8()
585 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6); encodeUTF8() local
590 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12); encodeUTF8() local
597 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18); encodeUTF8() local
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPack.h27 namespace FirstByte {
/llvm-project/clang/lib/AST/
H A DFormatString.cpp304 const char FirstByte = *SB; in ParseUTF8InvalidSpecifier() local
309 unsigned NumBytes = llvm::getNumBytesForUTF8(FirstByte); in ParseUTF8InvalidSpecifier()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1342 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in lowerUnhandledCall()
1343 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in lowerUnhandledCall()
1359 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in LowerCall()
1360 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in LowerCall()
1302 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); addTokenForArgument() local
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8709 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); in LowerCall()
8710 int64_t LastByte = FirstByte + MFI.getObjectSize(ClobberedFI) - 1; in LowerCall()
8726 if ((InFirstByte <= FirstByte && FirstByte <= InLastByte) || in LowerCall()
8727 (FirstByte <= InFirstByte && InFirstByte <= LastByte)) in LowerCall()
8003 int64_t FirstByte = MFI.getObjectOffset(ClobberedFI); addTokenForArgument() local
[all...]