Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ !
H A DDWARFDebugRnglists.cpp176 raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength, in dump() argument
181 uint8_t AddrSize, DIDumpOptions DumpOpts) { in dump() argument
185 .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()
227 DWARFAddressRange(Value0, Value0 + Value1).dump(OS, AddrSize, DumpOpts); in dump()
230 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
233 .dump(OS, 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()
/src/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()
148 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAranges()
159 const uint64_t PaddedHeaderLength = alignTo(HeaderLength, AddrSize * 2); in emitDebugAranges()
165 Length += AddrSize * 2 * (Range.Descriptors.size() + 1); in emitDebugAranges()
171 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
176 if (Error Err = writeVariableSizedInteger(Descriptor.Address, AddrSize, in emitDebugAranges()
181 cantFail(writeVariableSizedInteger(Descriptor.Length, AddrSize, OS, in emitDebugAranges()
184 ZeroFillBytes(OS, AddrSize * 2); in emitDebugAranges()
[all …]
H A DDWARFYAML.cpp174 IO.mapOptional("AddressSize", ARange.AddrSize); in mapping()
188 IO.mapOptional("AddrSize", DebugRanges.AddrSize); in mapping()
218 IO.mapOptional("AddrSize", Unit.AddrSize); in mapping()
292 IO.mapOptional("AddressSize", AddrTable.AddrSize); in mapping()
347 IO.mapOptional("AddressSize", ListTable.AddrSize); in mapping()
/src/contrib/llvm-project/llvm/lib/MC/ !
H A DMCDwarf.cpp848 int AddrSize = asmInfo->getCodePointerSize(); in EmitGenDwarfAranges() local
849 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges()
850 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges()
856 Length += 2 * AddrSize * Sections.size(); in EmitGenDwarfAranges()
858 Length += 2 * AddrSize; in EmitGenDwarfAranges()
877 MCOS->emitInt8(AddrSize); in EmitGenDwarfAranges()
896 MCOS->emitValue(Addr, AddrSize); in EmitGenDwarfAranges()
897 emitAbsValue(*MCOS, Size, AddrSize); in EmitGenDwarfAranges()
901 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
902 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
[all …]
/src/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()
/src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ !
H A DDWARFLinkerCompileUnit.cpp537 OutLocationSection.emitIntVal(OutLocationSection.getFormParams().AddrSize, 1); in emitLocListHeader()
564 OutLocationSection.getFormParams().AddrSize); in emitLocListFragment()
567 OutLocationSection.getFormParams().AddrSize); in emitLocListFragment()
582 OutLocationSection.getFormParams().AddrSize); in emitLocListFragment()
584 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()
[all …]
H A DDWARFLinkerImpl.cpp43 Format.AddrSize = File.Dwarf->getCUAddrSize(); in LinkContext()
135 GlobalFormat.AddrSize = in link()
136 std::max(GlobalFormat.AddrSize, Context->getFormParams().AddrSize); in link()
158 if (GlobalFormat.AddrSize == 0) { in link()
161 GlobalFormat.AddrSize = (*TargetTriple).get().isArch32Bit() ? 4 : 8; in link()
163 GlobalFormat.AddrSize = 8; in link()
843 uint32_t AddrSize, uint64_t Address, in emitFDE() argument
846 Section.emitIntVal(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
848 Section.emitIntVal(Address, AddrSize); in emitFDE()
H A DDWARFEmitterImpl.cpp144 Asm->emitInt8(Unit.getFormParams().AddrSize); in emitCompileUnitHeader()
151 Asm->emitInt8(Unit.getFormParams().AddrSize); in emitCompileUnitHeader()
H A DDebugLineSectionEmitter.h329 encodeULEB128(Section.getFormParams().AddrSize + 1, Section.OS); in emitLineTableRows()
332 Section.getFormParams().AddrSize); in emitLineTableRows()
H A DDWARFLinkerImpl.h265 void emitFDE(uint32_t CIEOffset, uint32_t AddrSize, uint64_t Address,
/src/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()
/src/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
187 std::optional<yaml::Hex8> AddrSize; member
226 std::optional<yaml::Hex8> AddrSize; member
/src/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()
1265 void DwarfStreamer::emitFDE(uint32_t CIEOffset, uint32_t AddrSize, in emitFDE() argument
1269 MS->emitIntValue(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
1271 MS->emitIntValue(Address, AddrSize); in emitFDE()
1273 FrameSectionSize += FDEBytes.size() + 8 + AddrSize; in emitFDE()
/src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ !
H A DDwarfTransformer.cpp36 uint8_t AddrSize = 0; member
46 AddrSize = CU->getAddressByteSize(); in CUInfo()
54 if (AddrSize == 4) in isHighestAddress()
56 else if (AddrSize == 8) in isHighestAddress()
/src/contrib/llvm-project/llvm/utils/TableGen/ !
H A DX86DisassemblerTables.h261 bool ignoresVEX_W, unsigned AddrSize);
/src/contrib/llvm-project/llvm/include/llvm/DWP/ !
H A DDWP.h45 uint8_t AddrSize = 0; member
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ !
H A DAMDGPUDisassembler.cpp982 unsigned AddrSize = Info->VAddrDwords; in convertMIMGInst() local
993 AddrSize = in convertMIMGInst()
1002 if (!IsVSample && AddrSize > 12) in convertMIMGInst()
1003 AddrSize = 16; in convertMIMGInst()
1005 if (AddrSize > Info->VAddrDwords) { in convertMIMGInst()
1027 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst()
1031 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst()
1059 AddrSize != Info->VAddrDwords) { in convertMIMGInst()
1085 assert(AddrSize <= Info->VAddrDwords); in convertMIMGInst()
1086 MI.erase(MI.begin() + VAddr0Idx + AddrSize, in convertMIMGInst()
/src/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ !
H A DDwarf.h1079 uint8_t AddrSize; member
1090 return AddrSize; in getRefAddrByteSize()
1099 explicit operator bool() const { return Version && AddrSize; }
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/ !
H A DDIContext.h198 uint8_t AddrSize = 4; // Address byte size to assume when extracting. member

12