Go to file
Chandler Carruth df5747a900 [PM] Refactor the InstCombiner interface to use an external worklist.
Because in its primary function pass the combiner is run repeatedly over
the same function until doing so produces no changes, it is essentially
to not re-allocate the worklist. However, as a utility, the more common
pattern would be to put a limited set of instructions in the worklist
rather than the entire function body. That is also the more likely
pattern when used by the new pass manager.

The result is a very light weight combiner that does the visiting with
a separable worklist. This can then be wrapped up in a helper function
for users that want a combiner utility, or as I have here it can be
wrapped up in a pass which manages the iterations used when combining an
entire function's instructions.

Hopefully this removes some of the worst of the interface warts that
became apparant with the last patch here. However, there is clearly more
work. I've again left some FIXMEs for the most egregious. The ones that
stick out to me are the exposure of the worklist and IR builder as
public members, and the use of pointers rather than references. However,
fixing these is likely to be much more mechanical and less interesting
so I didn't want to touch them in this patch.

llvm-svn: 226655
2015-01-21 11:38:17 +00:00
clang AST: Don't ignore alignas on EnumDecls when calculating alignment 2015-01-21 10:54:38 +00:00
clang-tools-extra [clang-tidy] Make ClangTidyOptionsProvider::getOptions return by value. 2015-01-20 09:48:51 +00:00
compiler-rt [ASan] Fix the test expectations for dyld_insert_libraries_reexec.cc 2015-01-21 10:04:41 +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 Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx tuple: Make operator<() linear instead of exponential 2015-01-21 02:51:17 +00:00
libcxxabi Fix abort_message.cpp for the NDK. 2015-01-16 20:00:49 +00:00
lld [ELF] Minimal implementation for ARM static linking 2015-01-21 07:35:48 +00:00
lldb Allow individual ValueObjects to pick their preferred display language 2015-01-21 01:47:13 +00:00
llgo Introduce llgoi, a REPL for Go 2015-01-15 04:13:29 +00:00
llvm [PM] Refactor the InstCombiner interface to use an external worklist. 2015-01-21 11:38:17 +00:00
openmp added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton 2015-01-19 18:29:35 +00:00
polly CodeGen: Update IRBuilder for LLVM API change 2015-01-19 21:31:48 +00:00