diff options
author | Andrei Elovikov <andrei.elovikov@intel.com> | 2018-05-24 14:31:00 +0000 |
---|---|---|
committer | Andrei Elovikov <andrei.elovikov@intel.com> | 2018-05-24 14:31:00 +0000 |
commit | d34b765cb22cbec73d23335f0e4a7a64a264828a (patch) | |
tree | f4ae895e3aeab81e6b1f84e4e80739a0c693d4cc /llvm/lib/Transforms | |
parent | 43cb45107ea9712e6282b1d2f8ff50583b089882 (diff) | |
download | bcm5719-llvm-d34b765cb22cbec73d23335f0e4a7a64a264828a.tar.gz bcm5719-llvm-d34b765cb22cbec73d23335f0e4a7a64a264828a.zip |
[NFC][VPlan] Wrap PlainCFGBuilder with an anonymous namespace.
Summary:
It's internal to the VPlanHCFGBuilder and should not be visible outside of its
translation unit.
Reviewers: dcaballe, fhahn
Reviewed By: fhahn
Subscribers: rengolin, bollu, tschuett, llvm-commits, rkruppe
Differential Revision: https://reviews.llvm.org/D47312
llvm-svn: 333187
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp b/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp index 4eb0a5d4cef..16f410dfba4 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp @@ -30,6 +30,7 @@ using namespace llvm; +namespace { // Class that is used to build the plain CFG for the incoming IR. class PlainCFGBuilder { private: @@ -74,6 +75,7 @@ public: // Build the plain CFG and return its Top Region. VPRegionBlock *buildPlainCFG(); }; +} // anonymous namespace // Return true if \p Inst is an incoming Instruction to be ignored in the VPlan // representation. |