forked from OSchip/llvm-project
[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:
parent
673110d5d5
commit
076eba20bc
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue