[llvm-mca] Move definitions in FetchStage.cpp inside namespace mca. NFC

Also, get rid of a redundant include in FetchStage.h and FetchStage.cpp.

llvm-svn: 332468
This commit is contained in:
Andrea Di Biagio 2018-05-16 13:38:17 +00:00
parent 673110d5d5
commit 076eba20bc
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,8 @@
//===----------------------------------------------------------------------===//
#include "FetchStage.h"
#include "Instruction.h"
using namespace mca;
namespace mca {
bool FetchStage::isReady() const { return SM.hasNext(); }
@ -40,3 +39,5 @@ void FetchStage::postExecute(const InstRef &IR) {
Instructions.erase(Instructions.begin(), It);
SM.updateNext();
}
} // namespace mca

View File

@ -17,7 +17,6 @@
#define LLVM_TOOLS_LLVM_MCA_FETCH_STAGE_H
#include "InstrBuilder.h"
#include "Instruction.h"
#include "SourceMgr.h"
#include "Stage.h"
#include <map>