Lines Matching refs:ProfileBuffer
396 char **ProfileBuffer) { in mmapProfileForMerging() argument
397 *ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in mmapProfileForMerging()
399 if (*ProfileBuffer == MAP_FAILED) { in mmapProfileForMerging()
405 if (__llvm_profile_check_compatibility(*ProfileBuffer, ProfileFileSize)) { in mmapProfileForMerging()
406 (void)munmap(*ProfileBuffer, ProfileFileSize); in mmapProfileForMerging()
421 char *ProfileBuffer; in doProfileMerging() local
433 if (mmapProfileForMerging(ProfileFile, ProfileFileSize, &ProfileBuffer) == -1) in doProfileMerging()
437 if (__llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize)) { in doProfileMerging()
439 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
448 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
665 char *ProfileBuffer; in initializeProfileForContinuousMode() local
666 if (mmapProfileForMerging(File, ProfileFileSize, &ProfileBuffer) == -1) { in initializeProfileForContinuousMode()
671 (void)munmap(ProfileBuffer, ProfileFileSize); in initializeProfileForContinuousMode()
1262 char *ProfileBuffer; in __llvm_profile_set_file_object() local
1263 if (mmapProfileForMerging(File, ProfileFileSize, &ProfileBuffer) == -1) { in __llvm_profile_set_file_object()
1267 (void)munmap(ProfileBuffer, ProfileFileSize); in __llvm_profile_set_file_object()