summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAndrei Elovikov <andrei.elovikov@intel.com>2018-05-24 14:31:00 +0000
committerAndrei Elovikov <andrei.elovikov@intel.com>2018-05-24 14:31:00 +0000
commitd34b765cb22cbec73d23335f0e4a7a64a264828a (patch)
treef4ae895e3aeab81e6b1f84e4e80739a0c693d4cc /llvm/lib/Transforms
parent43cb45107ea9712e6282b1d2f8ff50583b089882 (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud