Home | History | Annotate | Download | only in profile

Lines Matching refs:Header

43   /* Check profile header only for now  */
44 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData;
48 SrcDataEnd = SrcDataStart + Header->DataSize;
53 /* Check the header first. */
54 if (Header->Magic != __llvm_profile_get_magic() ||
55 Header->Version != __llvm_profile_get_version() ||
56 Header->DataSize !=
59 Header->CountersSize != (uint64_t)(__llvm_profile_end_counters() -
61 Header->NamesSize != (uint64_t)(__llvm_profile_end_names() -
63 Header->ValueKindLast != IPVK_Last)
67 Header->DataSize * sizeof(__llvm_profile_data) +
68 Header->NamesSize + Header->CountersSize)
88 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData;
95 SrcDataEnd = SrcDataStart + Header->DataSize;
97 SrcNameStart = (const char *)(SrcCountersStart + Header->CountersSize);
99 (ValueProfData *)(SrcNameStart + Header->NamesSize +
101 Header->NamesSize));
113 ((size_t)SrcData->CounterPtr - Header->CountersDelta) /