Add hasProfileSummary and has{Sample|Instrumentation}Profile methods

Description

Add hasProfileSummary and has{Sample|Instrumentation}Profile methods

ProfileSummaryInfo already checks whether the module has sample profile
in determining profile counts. This will also be useful in inliner to
clean up threshold updates.

Details

Committed
eramanMay 16 2017, 1:14 PM
Parents
rL303203: [InstCombine] auto-generate better checks; NFC
Branches
Unknown
Tags
Unknown