diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-10-31 15:53:28 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-10-31 15:53:28 +0000 |
commit | 52578ac67c517aea65d9a2f8e9ab813f7b61fc6f (patch) | |
tree | 183a8a8648d748d0296a54f7a557f3a7b37d1b4a /llvm/tools/llvm-mca/include/SourceMgr.h | |
parent | 8e422d677542d441be07e90fdac680611d3f914c (diff) | |
download | bcm5719-llvm-52578ac67c517aea65d9a2f8e9ab813f7b61fc6f.tar.gz bcm5719-llvm-52578ac67c517aea65d9a2f8e9ab813f7b61fc6f.zip |
[llvm-mca] Remove namespace prefixes made redundant by r345612. NFC
llvm-svn: 345730
Diffstat (limited to 'llvm/tools/llvm-mca/include/SourceMgr.h')
-rw-r--r-- | llvm/tools/llvm-mca/include/SourceMgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-mca/include/SourceMgr.h b/llvm/tools/llvm-mca/include/SourceMgr.h index 4a55bdba5b4..e5180107011 100644 --- a/llvm/tools/llvm-mca/include/SourceMgr.h +++ b/llvm/tools/llvm-mca/include/SourceMgr.h @@ -27,13 +27,13 @@ typedef std::pair<unsigned, const Instruction &> SourceRef; class SourceMgr { using UniqueInst = std::unique_ptr<Instruction>; - llvm::ArrayRef<UniqueInst> Sequence; + ArrayRef<UniqueInst> Sequence; unsigned Current; const unsigned Iterations; static const unsigned DefaultIterations = 100; public: - SourceMgr(llvm::ArrayRef<UniqueInst> S, unsigned Iter) + SourceMgr(ArrayRef<UniqueInst> S, unsigned Iter) : Sequence(S), Current(0), Iterations(Iter ? Iter : DefaultIterations) {} unsigned getNumIterations() const { return Iterations; } @@ -46,7 +46,7 @@ public: return SourceRef(Current, *Sequence[Current % Sequence.size()]); } - using const_iterator = llvm::ArrayRef<UniqueInst>::const_iterator; + using const_iterator = ArrayRef<UniqueInst>::const_iterator; const_iterator begin() const { return Sequence.begin(); } const_iterator end() const { return Sequence.end(); } }; |