Go to file
Chandler Carruth 66b3130cda [PM] Split the AssumptionTracker immutable pass into two separate APIs:
a cache of assumptions for a single function, and an immutable pass that
manages those caches.

The motivation for this change is two fold. Immutable analyses are
really hacks around the current pass manager design and don't exist in
the new design. This is usually OK, but it requires that the core logic
of an immutable pass be reasonably partitioned off from the pass logic.
This change does precisely that. As a consequence it also paves the way
for the *many* utility functions that deal in the assumptions to live in
both pass manager worlds by creating an separate non-pass object with
its own independent API that they all rely on. Now, the only bits of the
system that deal with the actual pass mechanics are those that actually
need to deal with the pass mechanics.

Once this separation is made, several simplifications become pretty
obvious in the assumption cache itself. Rather than using a set and
callback value handles, it can just be a vector of weak value handles.
The callers can easily skip the handles that are null, and eventually we
can wrap all of this up behind a filter iterator.

For now, this adds boiler plate to the various passes, but this kind of
boiler plate will end up making it possible to port these passes to the
new pass manager, and so it will end up factored away pretty reasonably.

llvm-svn: 225131
2015-01-04 12:03:27 +00:00
clang clang-format: Re-enable comment re-indentation for Java/JS. 2015-01-04 09:11:17 +00:00
clang-tools-extra Fixed a typo in a comment. NFC. 2014-12-19 15:37:02 +00:00
compiler-rt Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc r600: get_work_dim: Update metadata syntax for LLVM 3.6 2014-12-31 15:27:59 +00:00
libcxx [cmake/multilib] Teach libc++'s CMake build to support multilib libdir 2014-12-29 12:15:47 +00:00
libcxxabi [cmake/multilib] Teach libc++abi's CMake build to support multilib 2014-12-29 12:22:04 +00:00
lld test: correct PE/COFF tests to build under MSVC mode 2015-01-03 00:57:14 +00:00
lldb Update the website with information about LLDB on Windows. 2014-12-31 00:06:49 +00:00
llgo [llgo] Elide alloca for unused received values in select 2014-12-31 03:46:49 +00:00
llvm [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
openmp I apologise in advance for the size of this check-in. At Intel we do 2014-10-07 16:25:50 +00:00
polly Drop all constant scheduling dimensions 2015-01-01 23:01:11 +00:00