Go to file
Chandler Carruth 539edf4ee0 Convert the TargetTransformInfo from an immutable pass with dynamic
interfaces which could be extracted from it, and must be provided on
construction, to a chained analysis group.

The end goal here is that TTI works much like AA -- there is a baseline
"no-op" and target independent pass which is in the group, and each
target can expose a target-specific pass in the group. These passes will
naturally chain allowing each target-specific pass to delegate to the
generic pass as needed.

In particular, this will allow a much simpler interface for passes that
would like to use TTI -- they can have a hard dependency on TTI and it
will just be satisfied by the stub implementation when that is all that
is available.

This patch is a WIP however. In particular, the "stub" pass is actually
the one and only pass, and everything there is implemented by delegating
to the target-provided interfaces. As a consequence the tools still have
to explicitly construct the pass. Switching targets to provide custom
passes and sinking the stub behavior into the NoTTI pass is the next
step.

llvm-svn: 171621
2013-01-05 11:43:11 +00:00
clang Fix set-xcode-analyzer to only modify the ExecPath for the analyzer when using --use-xcode-clang. 2013-01-05 07:31:54 +00:00
clang-tools-extra Add a namespace qualifier to the befriending statement for 2013-01-05 02:57:54 +00:00
compiler-rt Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
debuginfo-tests XTARGET was removed, update debug-info tests. 2012-10-20 01:38:50 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files 2013-01-05 03:21:01 +00:00
libcxxabi Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
lld [CMake] Don't add flags this late and don't force libc++. Error if we know the compiler doesn't support c++11. 2013-01-05 04:16:52 +00:00
lldb <rdar://problem/12602653> 2013-01-05 06:08:51 +00:00
llvm Convert the TargetTransformInfo from an immutable pass with dynamic 2013-01-05 11:43:11 +00:00
polly Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to 2013-01-02 11:47:44 +00:00