diff options
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(); } }; |