Interface to attach maximum function count from PGO to module as module flags.
authorEaswaran Raman <eraman@google.com>
Thu, 3 Dec 2015 20:57:37 +0000 (20:57 +0000)
committerEaswaran Raman <eraman@google.com>
Thu, 3 Dec 2015 20:57:37 +0000 (20:57 +0000)
commit52c4f7de0934eef2019b77a14dc94415459d3fc1
tree969bfa5526a96209db347e19011207178f6c0997
parent3a8af93eb7ae93e59adec0ae6e30352816ea200d
Interface to attach maximum function count from PGO to module as module flags.

This provides interface to get and set maximum function counts to Module. This
would allow things like determination of function hotness. The actual setting
of this max function count will have to be done in the frontend.

Differential Revision: http://reviews.llvm.org/D15003

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254647 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Module.h
lib/IR/Module.cpp