Home
last modified time | relevance | path

Searched refs:AddrSize (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp144 uint8_t AddrSize; in emitDebugAranges() local
145 if (Range.AddrSize) in emitDebugAranges()
146 AddrSize = *Range.AddrSize; in emitDebugAranges()
205 uint8_t AddrSize; in emitDebugRanges() local
207 AddrSize = *DebugRanges.AddrSize; in emitDebugRanges()
410 uint8_t AddrSize; in emitDebugInfo() local
411 if (Unit.AddrSize) in emitDebugInfo()
412 AddrSize = *Unit.AddrSize; in emitDebugInfo()
633 uint8_t AddrSize; in emitDebugAddr() local
635 AddrSize = *TableEntry.AddrSize; in emitDebugAddr()
[all …]
H A DDWARFYAML.cpp145 IO.mapOptional("AddressSize", ARange.AddrSize); in mapping()
159 IO.mapOptional("AddrSize", DebugRanges.AddrSize); in mapping()
189 IO.mapOptional("AddrSize", Unit.AddrSize); in mapping()
263 IO.mapOptional("AddressSize", AddrTable.AddrSize); in mapping()
318 IO.mapOptional("AddressSize", ListTable.AddrSize); in mapping()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp185 .dump(OS, AddrSize, DumpOpts); in dump()
202 uint64_t Tombstone = dwarf::computeTombstoneAddress(AddrSize); in dump()
215 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump()
223 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump()
226 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
230 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
233 .dump(OS, AddrSize, DumpOpts); in dump()
238 DWARFAddressRange(Value0, Value1).dump(OS, AddrSize, DumpOpts); in dump()
241 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
249 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
[all …]
H A DDWARFDebugAddr.cpp23 AddrSize, errc::not_supported, "address table at offset 0x%" PRIx64, in extractAddresses()
26 if (DataSize % AddrSize != 0) { in extractAddresses()
32 Offset, DataSize, AddrSize); in extractAddresses()
35 size_t Count = DataSize / AddrSize; in extractAddresses()
38 Addrs.push_back(Data.getRelocatedValue(AddrSize, OffsetPtr)); in extractAddresses()
79 AddrSize = Data.getU8(OffsetPtr); in extractV5()
97 if (CUAddrSize && AddrSize != CUAddrSize) { in extractV5()
102 Offset, AddrSize, CUAddrSize)); in extractV5()
116 AddrSize = CUAddrSize; in extractPreStandard()
145 << format(", addr_size = 0x%2.2" PRIx8, AddrSize) in dump()
[all …]
H A DDWARFDebugArangeSet.cpp74 HeaderData.AddrSize = data.getU8(offset_ptr, &Err); in extract()
92 HeaderData.AddrSize, errc::invalid_argument, in extract()
105 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract()
134 assert(sizeof(arangeDescriptor.Address) >= HeaderData.AddrSize); in extract()
139 arangeDescriptor.Address = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
140 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
171 << format("addr_size = 0x%2.2x, ", HeaderData.AddrSize) in dump()
175 Desc.dump(OS, HeaderData.AddrSize); in dump()
H A DDWARFListTable.cpp48 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract()
59 HeaderData.AddrSize, errc::not_supported, in extract()
73 Data.setAddressSize(HeaderData.AddrSize); in extract()
89 HeaderData.Version, HeaderData.AddrSize, HeaderData.SegSize, in dump()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp843 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges()
844 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges()
852 Length += 2 * AddrSize; in EmitGenDwarfAranges()
871 MCOS->emitInt8(AddrSize); in EmitGenDwarfAranges()
890 MCOS->emitValue(Addr, AddrSize); in EmitGenDwarfAranges()
895 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
896 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
941 MCOS->emitInt8(AddrSize); in EmitGenDwarfInfo()
952 MCOS->emitInt8(AddrSize); in EmitGenDwarfInfo()
995 MCOS->emitValue(End, AddrSize); in EmitGenDwarfInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAddr.h37 uint8_t AddrSize; variable
85 uint8_t getAddressSize() const { return AddrSize; } in getAddressSize()
H A DDWARFDebugArangeSet.h38 uint8_t AddrSize; member
H A DDWARFDebugRnglists.h40 dump(raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
H A DDWARFListTable.h65 uint8_t AddrSize; member
93 uint8_t getAddrSize() const { return HeaderData.AddrSize; } in getAddrSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAddressPool.cpp28 static const uint8_t AddrSize = Asm.MAI->getCodePointerSize(); in emitHeader() local
35 Asm.emitInt8(AddrSize); in emitHeader()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp564 OutLocationSection.getFormParams().AddrSize); in emitLocListFragment()
567 OutLocationSection.getFormParams().AddrSize); in emitLocListFragment()
655 OutAddrSection.emitIntVal(getFormParams().AddrSize, 1); in emitDebugAddrSection()
662 OutAddrSection.emitIntVal(AddrValue, getFormParams().AddrSize); in emitDebugAddrSection()
782 OutRangeSection.emitIntVal(OutRangeSection.getFormParams().AddrSize, 1); in emitRangeListHeader()
803 OutRangeSection.getFormParams().AddrSize); in emitRangeListFragment()
805 OutRangeSection.getFormParams().AddrSize); in emitRangeListFragment()
809 OutRangeSection.emitIntVal(0, OutRangeSection.getFormParams().AddrSize); in emitRangeListFragment()
855 unsigned TupleSize = OutArangesSection.getFormParams().AddrSize * 2; in emitAranges()
865 OutArangesSection.emitIntVal(OutArangesSection.getFormParams().AddrSize, in emitAranges()
[all …]
H A DDWARFLinkerImpl.cpp45 Format.AddrSize = File.Dwarf->getCUAddrSize(); in LinkContext()
137 GlobalFormat.AddrSize = in link()
138 std::max(GlobalFormat.AddrSize, Context->getFormParams().AddrSize); in link()
160 if (GlobalFormat.AddrSize == 0) { in link()
163 GlobalFormat.AddrSize = (*TargetTriple).get().isArch32Bit() ? 4 : 8; in link()
165 GlobalFormat.AddrSize = 8; in link()
845 uint32_t AddrSize, uint64_t Address, in emitFDE() argument
848 Section.emitIntVal(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
850 Section.emitIntVal(Address, AddrSize); in emitFDE()
H A DDWARFEmitterImpl.cpp143 Asm->emitInt8(Unit.getFormParams().AddrSize); in emitCompileUnitHeader()
150 Asm->emitInt8(Unit.getFormParams().AddrSize); in emitCompileUnitHeader()
H A DDebugLineSectionEmitter.h328 encodeULEB128(Section.getFormParams().AddrSize + 1, Section.OS); in emitLineTableRows()
331 Section.getFormParams().AddrSize); in emitLineTableRows()
H A DDWARFLinkerImpl.h266 void emitFDE(uint32_t CIEOffset, uint32_t AddrSize, uint64_t Address,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h59 std::optional<yaml::Hex8> AddrSize; member
74 std::optional<llvm::yaml::Hex8> AddrSize; member
114 std::optional<uint8_t> AddrSize; member
165 std::optional<yaml::Hex8> AddrSize; member
204 std::optional<yaml::Hex8> AddrSize; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp713 unsigned AddrSize = Unit.getOrigUnit().getAddressByteSize(); in emitDwarfDebugAddrsHeader() local
725 Asm->emitInt8(AddrSize); in emitDwarfDebugAddrsHeader()
737 uint8_t AddrSize) { in emitDwarfDebugAddrs() argument
740 Asm->OutStreamer->emitIntValue(Addr, AddrSize); in emitDwarfDebugAddrs()
741 AddrSectionSize += AddrSize; in emitDwarfDebugAddrs()
1256 void DwarfStreamer::emitFDE(uint32_t CIEOffset, uint32_t AddrSize, in emitFDE() argument
1260 MS->emitIntValue(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
1262 MS->emitIntValue(Address, AddrSize); in emitFDE()
1264 FrameSectionSize += FDEBytes.size() + 8 + AddrSize; in emitFDE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp34 uint8_t AddrSize = 0; member
44 AddrSize = CU->getAddressByteSize(); in CUInfo()
52 if (AddrSize == 4) in isHighestAddress()
54 else if (AddrSize == 8) in isHighestAddress()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DX86DisassemblerTables.h267 unsigned AddrSize);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWP.h45 uint8_t AddrSize = 0; member
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.h745 uint8_t AddrSize; member
756 return AddrSize; in getRefAddrByteSize()
765 explicit operator bool() const { return Version && AddrSize; }
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp1065 unsigned AddrSize = Info->VAddrDwords; in convertMIMGInst() local
1076 AddrSize = in convertMIMGInst()
1085 if (!IsVSample && AddrSize > 12) in convertMIMGInst()
1086 AddrSize = 16; in convertMIMGInst()
1088 if (AddrSize > Info->VAddrDwords) { in convertMIMGInst()
1110 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst()
1114 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst()
1142 AddrSize != Info->VAddrDwords) { in convertMIMGInst()
1168 assert(AddrSize <= Info->VAddrDwords); in convertMIMGInst()
1169 MI.erase(MI.begin() + VAddr0Idx + AddrSize, in convertMIMGInst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h198 uint8_t AddrSize = 4; // Address byte size to assume when extracting. member

12