ProfileSampleAccurate is used to indicate the profile has exact match to the code to be optimized.
Previously ProfileSampleAccurate is handled in ProfileSummaryInfo::isColdCallSite and ProfileSummaryInfo::isColdBlock. A better solution is to initialize function entry count to 0 when ProfileSampleAccurate is true, so we don't have to handle ProfileSampleAccurate in multiple places.
Thanks to Easwaran for the idea to the improvement.
To be more precise, you are now marking all un-sampled functions as having entry count 0 (not just cold)