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)
commitb5da8a4ae1fbd8e4ffab06cfeb5b32a94d0381bb
treed180625087829332453519f20f4be11ddfff3985
parent8d6c0f4deeb0f2ff671df7ae92b75ee1e39acd37
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173032 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InlineCost.cpp