Now that the inline cost analysis is a pass, we can easily have it
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 11:55:09 +0000 (11:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 11:55:09 +0000 (11:55 +0000)
commit8d6c0f4deeb0f2ff671df7ae92b75ee1e39acd37
treea6e0f902bace0a43e5d9f7dc89ecbc9275d32f3b
parent86953b5795007eaa98838297360a6987e33e92e7
Now that the inline cost analysis is a pass, we can easily have it
depend on and use other analyses (as long as they're either immutable
passes or CGSCC passes of course -- nothing in the pass manager has been
fixed here). Leverage this to thread TargetTransformInfo down through
the inline cost analysis.

No functionality changed here, this just threads things through.

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