OSDN Git Service

[ADCE] Refactor anticipating new functionality (NFC)
authorDavid Callahan <dcallahan@fb.com>
Wed, 3 Aug 2016 04:28:39 +0000 (04:28 +0000)
committerDavid Callahan <dcallahan@fb.com>
Wed, 3 Aug 2016 04:28:39 +0000 (04:28 +0000)
commit8843600753fb0e1102ecfa1500779034f753b1c3
treedc0c2a6004f575f51bdae48b6dcd62c0a37e7113
parente86c4eb06a4454184a1c854a5bc13da86b1da0e3
[ADCE] Refactor anticipating new functionality (NFC)

Summary:
This is the first refactoring before adding new functionality.
Add a class wrapper for the functions and container for
state associated with the transformation.

No functional change

Reviewers: majnemer, nadav, mehdi_amini

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ADCE.cpp