diff options
author | Xin Tong <trent.xin.tong@gmail.com> | 2017-06-06 02:34:41 +0000 |
---|---|---|
committer | Xin Tong <trent.xin.tong@gmail.com> | 2017-06-06 02:34:41 +0000 |
commit | 9d6f08a8d40bf3222ea81189e85635bc46e90495 (patch) | |
tree | 3fb58f270020cbe73a89beb7c09873d5fb0c9538 /llvm/lib/Transforms/Utils/CMakeLists.txt | |
parent | d7120758bac652e67c5b5415eb4ec11465dc6c11 (diff) | |
download | bcm5719-llvm-9d6f08a8d40bf3222ea81189e85635bc46e90495.tar.gz bcm5719-llvm-9d6f08a8d40bf3222ea81189e85635bc46e90495.zip |
Add a dominanance check interface that uses caching for instructions within same basic block.
Summary:
This problem stems from the fact that instructions are allocated using new
in LLVM, i.e. there is no relationship that can be derived by just looking
at the pointer value.
This interface dispatches to appropriate dominance check given 2 instructions,
i.e. in case the instructions are in the same basic block, ordered basicblock
(with instruction numbering and caching) are used. Otherwise, dominator tree
is used.
This is a preparation patch for https://reviews.llvm.org/D32720
Reviewers: dberlin, hfinkel, davide
Subscribers: davide, mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D33380
llvm-svn: 304764
Diffstat (limited to 'llvm/lib/Transforms/Utils/CMakeLists.txt')
-rw-r--r-- | llvm/lib/Transforms/Utils/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/CMakeLists.txt b/llvm/lib/Transforms/Utils/CMakeLists.txt index 7a21c03da22..83bc05d0311 100644 --- a/llvm/lib/Transforms/Utils/CMakeLists.txt +++ b/llvm/lib/Transforms/Utils/CMakeLists.txt @@ -37,6 +37,7 @@ add_llvm_library(LLVMTransformUtils MetaRenamer.cpp ModuleUtils.cpp NameAnonGlobals.cpp + OrderedInstructions.cpp PredicateInfo.cpp PromoteMemoryToRegister.cpp StripGCRelocates.cpp |