Lines Matching refs:ProfileBuffer
222 char **ProfileBuffer) { in mmapProfileForMerging() argument
223 *ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in mmapProfileForMerging()
225 if (*ProfileBuffer == MAP_FAILED) { in mmapProfileForMerging()
231 if (__llvm_profile_check_compatibility(*ProfileBuffer, ProfileFileSize)) { in mmapProfileForMerging()
232 (void)munmap(*ProfileBuffer, ProfileFileSize); in mmapProfileForMerging()
247 char *ProfileBuffer; in doProfileMerging() local
259 if (mmapProfileForMerging(ProfileFile, ProfileFileSize, &ProfileBuffer) == -1) in doProfileMerging()
263 __llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize); in doProfileMerging()
269 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
632 char *ProfileBuffer; in initializeProfileForContinuousMode() local
633 if (mmapProfileForMerging(File, ProfileFileSize, &ProfileBuffer) == -1 || in initializeProfileForContinuousMode()
634 munmap(ProfileBuffer, ProfileFileSize) == -1) in initializeProfileForContinuousMode()