Move the inline cost analysis's primary cost query to TTI instead of the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 12:05:16 +0000 (12:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 12:05:16 +0000 (12:05 +0000)
commitb8cf510d81f20ecda53b63523fc3cd18c6b994b9
tree3fa2e94f9198cd475e84962ffd5c00a634796e4a
parent42f3dceb631f73949bad272c27bb81239697fa12
Move the inline cost analysis's primary cost query to TTI instead of the
old CodeMetrics system. TTI has the specific advantage of being
extensible and customizable by targets to reflect target-specific cost
metrics.

llvm-svn: 173032
llvm/lib/Analysis/InlineCost.cpp