Lines Matching refs:Header
45 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility() local
49 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
55 if (Header->Magic != __llvm_profile_get_magic() || in __llvm_profile_check_compatibility()
56 Header->Version != __llvm_profile_get_version() || in __llvm_profile_check_compatibility()
57 Header->DataSize != in __llvm_profile_check_compatibility()
60 Header->CountersSize != (uint64_t)(__llvm_profile_end_counters() - in __llvm_profile_check_compatibility()
62 Header->NamesSize != (uint64_t)(__llvm_profile_end_names() - in __llvm_profile_check_compatibility()
64 Header->ValueKindLast != IPVK_Last) in __llvm_profile_check_compatibility()
68 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
69 Header->NamesSize + Header->CountersSize) in __llvm_profile_check_compatibility()
89 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer() local
96 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
98 SrcNameStart = (const char *)(SrcCountersStart + Header->CountersSize); in __llvm_profile_merge_from_buffer()
100 (ValueProfData *)(SrcNameStart + Header->NamesSize + in __llvm_profile_merge_from_buffer()
102 Header->NamesSize)); in __llvm_profile_merge_from_buffer()
114 ((size_t)SrcData->CounterPtr - Header->CountersDelta) / in __llvm_profile_merge_from_buffer()