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)
commit42f3dceb631f73949bad272c27bb81239697fa12
tree0d608c08bab29c3a7a20ef48194788c4adfc8608
parent4319e2948d477595a85e6b5c8d4eb4cdfde7330d
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.

llvm-svn: 173031
llvm/include/llvm/Analysis/InlineCost.h
llvm/lib/Analysis/InlineCost.cpp