reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/SmallVector.h
   89         offsetof(SmallVectorAlignmentAndSize<T>, FirstEl)));
include/llvm/ProfileData/InstrProfData.inc
  468   uint32_t Size = offsetof(ValueProfRecord, SiteCountArray) +
include/llvm/Support/AMDHSAKernelDescriptor.h
  169     offsetof(kernel_descriptor_t, group_segment_fixed_size) == 0,
  172     offsetof(kernel_descriptor_t, private_segment_fixed_size) == 4,
  175     offsetof(kernel_descriptor_t, reserved0) == 8,
  178     offsetof(kernel_descriptor_t, kernel_code_entry_byte_offset) == 16,
  181     offsetof(kernel_descriptor_t, reserved1) == 24,
  184     offsetof(kernel_descriptor_t, compute_pgm_rsrc3) == 44,
  187     offsetof(kernel_descriptor_t, compute_pgm_rsrc1) == 48,
  190     offsetof(kernel_descriptor_t, compute_pgm_rsrc2) == 52,
  193     offsetof(kernel_descriptor_t, kernel_code_properties) == 56,
  196     offsetof(kernel_descriptor_t, reserved2) == 58,
include/llvm/Support/Allocator.h
  515       Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x)));
lib/BinaryFormat/Magic.cpp
   42           offsetof(COFF::BigObjHeader, UUID) + sizeof(COFF::BigObjMagic);
   46       const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID);
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   48   if (!AccelSection.isValidOffset(offsetof(Header, HeaderDataLength) + 4))
lib/DebugInfo/GSYM/GsymCreator.cpp
  145   O.fixup32((uint32_t)StrtabOffset, offsetof(Header, StrtabOffset));
  146   O.fixup32((uint32_t)StrtabSize, offsetof(Header, StrtabSize));
lib/MC/ELFObjectWriter.cpp
 1257                   offsetof(ELF::Elf64_Ehdr, e_shoff));
 1258     NumSectionsOffset = offsetof(ELF::Elf64_Ehdr, e_shnum);
 1263                   offsetof(ELF::Elf32_Ehdr, e_shoff));
 1264     NumSectionsOffset = offsetof(ELF::Elf32_Ehdr, e_shnum);
lib/Object/Archive.cpp
  133   if (Size < offsetof(ArMemHdrType, Name) + sizeof(ArMemHdr->Name)) {
lib/Object/COFFImportFile.cpp
  239       {u32(offsetof(coff_import_directory_table_entry, NameRVA)), u32(2),
  241       {u32(offsetof(coff_import_directory_table_entry, ImportLookupTableRVA)),
  243       {u32(offsetof(coff_import_directory_table_entry, ImportAddressTableRVA)),
lib/Object/MachOObjectFile.cpp
 4605   const char *Ptr = UuidLoadCmd + offsetof(MachO::uuid_command, uuid);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  642       offsetof(amdhsa::kernel_descriptor_t, kernel_code_entry_byte_offset)));
  656           offsetof(amdhsa::kernel_descriptor_t, kernel_code_entry_byte_offset) +
  659           offsetof(amdhsa::kernel_descriptor_t, kernel_code_entry_byte_offset) -
projects/compiler-rt/lib/profile/InstrProfData.inc
  468   uint32_t Size = offsetof(ValueProfRecord, SiteCountArray) +
projects/compiler-rt/lib/profile/InstrProfilingWriter.c
  132           offsetof(ValueProfRecord, SiteCountArray);
  165     uint32_t RecordHeaderSize = offsetof(ValueProfRecord, SiteCountArray);
projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
 1173 COMPILER_CHECK(offsetof(__sanitizer_ifaddrs, ifa_dstaddr) ==
 1174                offsetof(ifaddrs, ifa_ifu));
projects/openmp/runtime/src/kmp_lock.cpp
   58   KMP_ASSERT(offsetof(kmp_base_queuing_lock, tail_id) % 8 == 0);
projects/openmp/runtime/src/kmp_lock.h
  382 KMP_BUILD_ASSERT(offsetof(kmp_base_queuing_lock_t, tail_id) % 8 == 0);
tools/clang/lib/Rewrite/RewriteRope.cpp
  798   unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
tools/lldb/source/Host/posix/DomainSocket.cpp
   51         offsetof(struct sockaddr_un, sun_path) + name_offset + name.size();
  138                            offsetof(struct sockaddr_un, sun_path) -
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
  361     armag += offsetof(struct ar_hdr, ar_fmag) + SARMAG;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 2016     offset = offsetof(struct lldb_copy_dyld_cache_header_v1, uuid);
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
   95                           (LLVM_EXTENSION offsetof(GPR, orig_eax)),
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
  162                           (LLVM_EXTENSION offsetof(GPR, orig_rax)),
tools/llvm-objdump/MachODump.cpp
 4053         offset + offsetof(struct cfstring64_t, characters), S, info, n_value);
 4272     sym_name = get_symbol_64(offset + offsetof(struct method64_t, name), S,
 4289     sym_name = get_symbol_64(offset + offsetof(struct method64_t, types), S,
 4306     name = get_symbol_64(offset + offsetof(struct method64_t, imp), S, info,
 4375     name = get_symbol_32(offset + offsetof(struct method32_t, imp), S, info,
 4523     sym_name = get_symbol_64(offset + offsetof(struct protocol64_t, name), S,
 4543         get_symbol_64(offset + offsetof(struct protocol64_t, instanceMethods),
 4560         get_symbol_64(offset + offsetof(struct protocol64_t, classMethods), S,
 4892     sym_name = get_symbol_64(offset + offsetof(struct ivar64_t, offset), S,
 4913     sym_name = get_symbol_64(offset + offsetof(struct ivar64_t, name), S, info,
 4930     sym_name = get_symbol_64(offset + offsetof(struct ivar64_t, type), S, info,
 5062     sym_name = get_symbol_64(offset + offsetof(struct objc_property64, name), S,
 5080         get_symbol_64(offset + offsetof(struct objc_property64, attributes), S,
 5188   sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, name), S,
 5205   sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, baseMethods),
 5222       get_symbol_64(offset + offsetof(struct class_ro64_t, baseProtocols), S,
 5238   sym_name = get_symbol_64(offset + offsetof(struct class_ro64_t, ivars), S,
 5255       get_symbol_64(offset + offsetof(struct class_ro64_t, weakIvarLayout), S,
 5271       get_symbol_64(offset + offsetof(struct class_ro64_t, baseProperties), S,
 5370   name = get_symbol_64(offset + offsetof(struct class64_t, isa), S, info,
 5377   name = get_symbol_64(offset + offsetof(struct class64_t, superclass), S, info,
 5383              offset + offsetof(struct class64_t, superclass), info);
 5390   name = get_symbol_64(offset + offsetof(struct class64_t, cache), S, info,
 5397   name = get_symbol_64(offset + offsetof(struct class64_t, vtable), S, info,
 5403   name = get_symbol_64(offset + offsetof(struct class64_t, data), S, info,
 5456       get_symbol_32(offset + offsetof(struct class32_t, isa), S, info, c.isa);
 5462   name = get_symbol_32(offset + offsetof(struct class32_t, superclass), S, info,
 5469   name = get_symbol_32(offset + offsetof(struct class32_t, cache), S, info,
 5476   name = get_symbol_32(offset + offsetof(struct class32_t, vtable), S, info,
 5483       get_symbol_32(offset + offsetof(struct class32_t, data), S, info, c.data);
 5682   sym_name = get_symbol_64(offset + offsetof(struct category64_t, name), S,
 5699   sym_name = get_symbol_64(offset + offsetof(struct category64_t, cls), S, info,
 5716       get_symbol_64(offset + offsetof(struct category64_t, instanceMethods), S,
 5732   sym_name = get_symbol_64(offset + offsetof(struct category64_t, classMethods),
 5748   sym_name = get_symbol_64(offset + offsetof(struct category64_t, protocols), S,
 5765       get_symbol_64(offset + offsetof(struct category64_t, instanceProperties),
 5801   name = get_symbol_32(offset + offsetof(struct category32_t, name), S, info,
 5864     name = get_symbol_64(offset + offsetof(struct message_ref64, imp), S, info,
 5877     sym_name = get_symbol_64(offset + offsetof(struct message_ref64, sel), S,
 5932     name = get_symbol_32(offset + offsetof(struct message_ref32, imp), S, info,
tools/llvm-readobj/COFFDumper.cpp
  815   if (Conf->Size < offsetof(T, SEHandlerTable))
  837   if (Conf->Size < offsetof(coff_load_configuration32, GuardCFCheckFunction))
  846   if (Conf->Size < offsetof(T, CodeIntegrity))
unittests/DebugInfo/GSYM/GSYMTest.cpp
 1016   FW.fixup32(12, offsetof(Header, Magic));
 1018   FW.fixup32(GSYM_MAGIC, offsetof(Header, Magic));
 1019   FW.fixup32(12, offsetof(Header, Version));
 1021   FW.fixup32(GSYM_VERSION, offsetof(Header, Version));
 1022   FW.fixup32(12, offsetof(Header, AddrOffSize));
 1024   FW.fixup32(4, offsetof(Header, AddrOffSize));
 1025   FW.fixup32(128, offsetof(Header, UUIDSize));
utils/benchmark/src/benchmark.cc
  326   static_assert(offsetof(State, error_occurred_) <=