This is adoption of HSAIL perfhint pass. Two types of hints are produced:
- Function is memory bound.
- Kernel can use wave limiter.
Currently these hints are used in the scheduler. If a function is suspected
to be memory bound we allow occupancy to decrease to 4 waves in the course
of scheduling.
c++ mode comment