Refactor the ScalarTargetTransformInfo API for querying about the
authorChandler Carruth <chandlerc@gmail.com>
Sat, 5 Jan 2013 03:36:17 +0000 (03:36 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 5 Jan 2013 03:36:17 +0000 (03:36 +0000)
commit64e407be0d91916d71c9259f62ba5c1f4b2993ca
tree0208576858a154b0f617862d40917565867f606f
parentb1a429fd1c79be7898bd014ade551f7138b1a84f
Refactor the ScalarTargetTransformInfo API for querying about the
legality of an address mode to not use a struct of four values and
instead to accept them as parameters. I'd love to have named parameters
here as most callers only care about one or two of these, but the
defaults aren't terribly scary to write out.

That said, there is no real impact of this as the passes aren't yet
using STTI for this and are still relying upon TargetLowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171595 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetTransformImpl.h
include/llvm/TargetTransformInfo.h
lib/Target/TargetTransformImpl.cpp