]> granicus.if.org Git - llvm/commit
[IPSCCP] Move common functions to ValueLatticeUtils (NFC)
authorMatthew Simpson <mssimpso@codeaurora.org>
Fri, 13 Oct 2017 17:53:44 +0000 (17:53 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Fri, 13 Oct 2017 17:53:44 +0000 (17:53 +0000)
commit0a54333196e4a4d47f6bea4d395fbe04269b448e
tree96723cd661de44fd704700b3fa23f093c606efda
parenta7bbf63f800a8976d3636d5d9f55fbee24f0baf7
[IPSCCP] Move common functions to ValueLatticeUtils (NFC)

This patch moves some common utility functions out of IPSCCP and makes them
available globally. The functions determine if interprocedural data-flow
analyses can propagate information through function returns, arguments, and
global variables.

Differential Revision: https://reviews.llvm.org/D37638

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315719 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueLatticeUtils.h [new file with mode: 0644]
lib/Analysis/CMakeLists.txt
lib/Analysis/ValueLatticeUtils.cpp [new file with mode: 0644]
lib/Transforms/Scalar/SCCP.cpp