Lines Matching refs:Header

46   __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData;  in __llvm_profile_check_compatibility()  local
50 Header->BinaryIdsSize); in __llvm_profile_check_compatibility()
51 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
57 if (Header->Magic != __llvm_profile_get_magic() || in __llvm_profile_check_compatibility()
58 Header->Version != __llvm_profile_get_version() || in __llvm_profile_check_compatibility()
59 Header->DataSize != in __llvm_profile_check_compatibility()
62 Header->CountersSize != in __llvm_profile_check_compatibility()
65 Header->NamesSize != (uint64_t)(__llvm_profile_end_names() - in __llvm_profile_check_compatibility()
67 Header->ValueKindLast != IPVK_Last) in __llvm_profile_check_compatibility()
71 sizeof(__llvm_profile_header) + Header->BinaryIdsSize + in __llvm_profile_check_compatibility()
72 Header->DataSize * sizeof(__llvm_profile_data) + Header->NamesSize + in __llvm_profile_check_compatibility()
73 Header->CountersSize * __llvm_profile_counter_entry_size()) in __llvm_profile_check_compatibility()
109 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer() local
113 uintptr_t CountersDelta = Header->CountersDelta; in __llvm_profile_merge_from_buffer()
117 Header->BinaryIdsSize); in __llvm_profile_merge_from_buffer()
118 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
121 Header->CountersSize * __llvm_profile_counter_entry_size(); in __llvm_profile_merge_from_buffer()
123 SrcNameStart + Header->NamesSize + in __llvm_profile_merge_from_buffer()
124 __llvm_profile_get_num_padding_bytes(Header->NamesSize); in __llvm_profile_merge_from_buffer()