aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/MCA/Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/MCA/Context.h')
-rw-r--r--llvm/include/llvm/MCA/Context.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/include/llvm/MCA/Context.h b/llvm/include/llvm/MCA/Context.h
index af3cb8e1e837..0abcfd7ce9f0 100644
--- a/llvm/include/llvm/MCA/Context.h
+++ b/llvm/include/llvm/MCA/Context.h
@@ -19,6 +19,7 @@
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
+#include "llvm/MCA/CustomBehaviour.h"
#include "llvm/MCA/HardwareUnits/HardwareUnit.h"
#include "llvm/MCA/Pipeline.h"
#include "llvm/MCA/SourceMgr.h"
@@ -67,7 +68,14 @@ public:
/// Construct a basic pipeline for simulating an out-of-order pipeline.
/// This pipeline consists of Fetch, Dispatch, Execute, and Retire stages.
std::unique_ptr<Pipeline> createDefaultPipeline(const PipelineOptions &Opts,
- SourceMgr &SrcMgr);
+ SourceMgr &SrcMgr,
+ CustomBehaviour &CB);
+
+ /// Construct a basic pipeline for simulating an in-order pipeline.
+ /// This pipeline consists of Fetch, InOrderIssue, and Retire stages.
+ std::unique_ptr<Pipeline> createInOrderPipeline(const PipelineOptions &Opts,
+ SourceMgr &SrcMgr,
+ CustomBehaviour &CB);
};
} // namespace mca