Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 134) sorted by relevance

123456

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DLEB128.h28 uint8_t Byte = Value & 0x7f; variable
36 OS << char(Byte);
57 uint8_t Byte = Value & 0x7f; variable
65 *p++ = Byte;
84 uint8_t Byte = Value & 0x7f; variable
89 OS << char(Byte);
109 uint8_t Byte = Value & 0x7f; variable
114 *p++ = Byte;
167 uint8_t Byte; variable
178 Byte = *p;
[all …]
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DYAML.cpp47 uint8_t Byte = llvm::hexDigitValue(Data[I * 2]); in writeAsBinary() local
48 Byte <<= 4; in writeAsBinary()
49 Byte |= llvm::hexDigitValue(Data[I * 2 + 1]); in writeAsBinary()
50 OS.write(Byte); in writeAsBinary()
61 for (uint8_t Byte : Data) in writeAsHex() local
62 OS << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in writeAsHex()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h32 virtual void emitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
45 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
47 AP.emitInt8(Byte); in emitInt8()
74 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
75 Hash.update(Byte); in emitInt8()
105 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
106 Buffer.push_back(Byte); in emitInt8()
H A DDIEHash.cpp55 uint8_t Byte = Value & 0x7f; in addULEB128() local
58 Byte |= 0x80; // Mark this byte to show that more bytes will follow. in addULEB128()
59 Hash.update(Byte); in addULEB128()
67 uint8_t Byte = Value & 0x7f; in addSLEB128() local
69 More = !((((Value == 0) && ((Byte & 0x40) == 0)) || in addSLEB128()
70 ((Value == -1) && ((Byte & 0x40) != 0)))); in addSLEB128()
72 Byte |= 0x80; // Mark this byte to show that more bytes will follow. in addSLEB128()
73 Hash.update(Byte); in addSLEB128()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp26 SDValue LenAdj, SDValue Byte) { in createMemMemNode() argument
31 Ops = { Chain, Dst, LenAdj, Byte }; in createMemMemNode()
43 uint64_t Size, SDValue Byte = SDValue()) { in emitMemMemImm() argument
47 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemImm()
52 SDValue Size, SDValue Byte = SDValue()) { in emitMemMemReg() argument
57 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemReg()
90 SDValue Byte, SDValue Size, Align Alignment, bool IsVolatile, in EmitTargetCodeForMemset() argument
97 auto *CByte = dyn_cast<ConstantSDNode>(Byte); in EmitTargetCodeForMemset()
129 DAG.getStore(Chain, DL, Byte, Dst, DstPtrInfo, Alignment); in EmitTargetCodeForMemset()
134 SDValue Chain2 = DAG.getStore(Chain, DL, Byte, Dst2, in EmitTargetCodeForMemset()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp38 void PrintASCIIByte(uint8_t Byte) { in PrintASCIIByte() argument
39 if (Byte == '\\') in PrintASCIIByte()
41 else if (Byte == '"') in PrintASCIIByte()
43 else if (Byte >= 32 && Byte < 127) in PrintASCIIByte()
44 Printf("%c", Byte); in PrintASCIIByte()
46 Printf("\\%03o", Byte); in PrintASCIIByte()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDecoderEmitter.cpp817 uint8_t Byte = *I++; in emitTable() local
820 Byte = *I++; in emitTable()
823 Byte = *I++; in emitTable()
840 uint8_t Byte = *I++; in emitTable() local
843 Byte = *I++; in emitTable()
846 Byte = *I++; in emitTable()
860 uint8_t Byte = *I++; in emitTable() local
863 Byte = *I++; in emitTable()
866 Byte = *I++; in emitTable()
905 Byte = *I++; in emitTable()
[all …]
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp220 LT.setCustomPrologue({{0, LineTable::Byte}});
475 {8, LineTable::Byte}, // addr size
476 {0, LineTable::Byte}, // segment selector size
478 {1, LineTable::Byte}, // min instruction length
480 {1, LineTable::Byte}, // default is_stmt
481 {0, LineTable::Byte}, // line base
482 {14, LineTable::Byte}, // line range
684 Padding.setCustomPrologue({{0, LineTable::Byte}});
1472 {{'a', LineTable::Byte},
1473 {'\0', LineTable::Byte},
[all …]
H A DDwarfGenerator.cpp211 Contents.push_back({Value, Byte}); in addByte()
216 Contents.push_back({Opcode, Byte}); in addStandardOpcode()
222 Contents.push_back({0, Byte}); in addExtendedOpcode()
224 Contents.push_back({Opcode, Byte}); in addExtendedOpcode()
249 case Byte: in writeData()
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/Inputs/
H A Dimport-vcp-branch-funnel.yaml11 Byte: 42
21 Byte: 43
H A Dimport-vcp.yaml11 Byte: 42
21 Byte: 43
/llvm-project-15.0.7/llvm/lib/Support/
H A DLEB128.cpp35 unsigned Byte = Value & 0x7f; in getSLEB128Size() local
37 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in getSLEB128Size()
H A DCRC.cpp77 for (uint8_t Byte : Data) { in crc32() local
78 int TableIdx = (CRC ^ Byte) & 0xff; in crc32()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp577 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) { in findX86PltEntries() local
579 if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0xa3) { in findX86PltEntries()
585 Byte += 6; in findX86PltEntries()
586 } else if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86PltEntries()
591 Byte += 6; in findX86PltEntries()
593 Byte++; in findX86PltEntries()
602 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) { in findX86_64PltEntries() local
604 if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86_64PltEntries()
609 std::make_pair(PltSectionVA + Byte, PltSectionVA + Byte + 6 + Imm)); in findX86_64PltEntries()
610 Byte += 6; in findX86_64PltEntries()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp429 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 7 < End; in findPltEntries() local
430 Byte += 4) { in findPltEntries()
431 uint32_t Insn = support::endian::read32le(PltContents.data() + Byte); in findPltEntries()
436 Insn = support::endian::read32le(PltContents.data() + Byte + Off); in findPltEntries()
442 uint64_t Imm = (((PltSectionVA + Byte) >> 12) << 12) + in findPltEntries()
445 support::endian::read32le(PltContents.data() + Byte + Off); in findPltEntries()
449 Result.push_back(std::make_pair(PltSectionVA + Byte, Imm)); in findPltEntries()
450 Byte += 4; in findPltEntries()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Ddxcontainer2yaml.cpp31 for (uint8_t Byte : Container.getHeader().FileHash.Digest) in dumpDXContainer() local
32 Obj->Header.Hash.push_back(Byte); in dumpDXContainer()
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/
H A Dexport-vcp.ll26 ; SUMMARY-X86-NEXT: Byte: 0
28 ; SUMMARY-ARM-NEXT: Byte: 4294967295
46 ; SUMMARY-X86-NEXT: Byte: 0
48 ; SUMMARY-ARM-NEXT: Byte: 4294967292
H A Dimport-indir.ll54 ; SUMMARY-NEXT: Byte: 0
59 ; SUMMARY-NEXT: Byte: 0
64 ; SUMMARY-NEXT: Byte: 0
H A Dexport-unique-ret-val.ll23 ; SUMMARY-NEXT: Byte: 0
41 ; SUMMARY-NEXT: Byte: 0
/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp482 for (uint64_t Byte = 0; Byte < SectionBytes.size();) { in parseSectionContents() local
485 SectionBytes.drop_front(Byte), 0, in parseSectionContents()
488 Byte += InstructionSize; in parseSectionContents()
490 uint64_t VMAddress = Address.Address + Byte - InstructionSize; in parseSectionContents()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp290 char Pad = ' ', Byte = ' '; in PrintMemorySnippet() local
298 Byte = '~'; in PrintMemorySnippet()
302 Buffer.append("%c", P == Loc ? '^' : Byte); in PrintMemorySnippet()
303 Buffer.append("%c", Byte); in PrintMemorySnippet()
/llvm-project-15.0.7/llvm/utils/UnicodeData/
H A DUnicodeNameMappingGenerator.cpp253 uint8_t Byte = in dumpIndex() local
255 Bytes.push_back(Byte); in dumpIndex()
418 for (auto Byte : Tree) { in main() local
419 fprintf(Out, "0x%02x,", Byte); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcasts.c60 typedef unsigned char Byte; typedef
63 Byte buf[len]; in doit()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.types/
H A Dcstddef.compile.pass.cpp37 using Byte = std::byte; typedef
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp506 uint8_t Byte = static_cast<uint8_t>(Slots[SlotIndex]) << 4; in visitKnownRecord() local
508 Byte |= static_cast<uint8_t>(Slots[SlotIndex + 1]); in visitKnownRecord()
510 error(IO.mapInteger(Byte)); in visitKnownRecord()
515 uint8_t Byte; in visitKnownRecord() local
516 error(IO.mapInteger(Byte)); in visitKnownRecord()
517 Record.Slots.push_back(static_cast<VFTableSlotKind>(Byte & 0xF)); in visitKnownRecord()
519 Record.Slots.push_back(static_cast<VFTableSlotKind>(Byte >> 4)); in visitKnownRecord()

123456