LLVM 20.0.0git
|
#include "llvm/MCA/Context.h"
Public Member Functions | |
Context (const MCRegisterInfo &R, const MCSubtargetInfo &S) | |
Context (const Context &C)=delete | |
Context & | operator= (const Context &C)=delete |
const MCRegisterInfo & | getMCRegisterInfo () const |
const MCSubtargetInfo & | getMCSubtargetInfo () const |
void | addHardwareUnit (std::unique_ptr< HardwareUnit > H) |
std::unique_ptr< Pipeline > | createDefaultPipeline (const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) |
Construct a basic pipeline for simulating an out-of-order pipeline. | |
std::unique_ptr< Pipeline > | createInOrderPipeline (const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) |
Construct a basic pipeline for simulating an in-order pipeline. | |
|
inline |
|
inline |
Definition at line 64 of file Context.h.
References H, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by createDefaultPipeline(), and createInOrderPipeline().
std::unique_ptr< Pipeline > llvm::mca::Context::createDefaultPipeline | ( | const PipelineOptions & | Opts, |
SourceMgr & | SrcMgr, | ||
CustomBehaviour & | CB | ||
) |
Construct a basic pipeline for simulating an out-of-order pipeline.
This pipeline consists of Fetch, Dispatch, Execute, and Retire stages.
Definition at line 32 of file Context.cpp.
References addHardwareUnit(), llvm::mca::PipelineOptions::AssumeNoAlias, createInOrderPipeline(), llvm::mca::PipelineOptions::DecodersThroughput, llvm::mca::PipelineOptions::DispatchWidth, llvm::mca::PipelineOptions::EnableBottleneckAnalysis, Execute(), llvm::MCSubtargetInfo::getSchedModel(), llvm::MCSchedModel::isOutOfOrder(), llvm::mca::PipelineOptions::LoadQueueSize, llvm::mca::PipelineOptions::MicroOpQueueSize, llvm::mca::PipelineOptions::RegisterFileSize, llvm::SrcMgr, and llvm::mca::PipelineOptions::StoreQueueSize.
std::unique_ptr< Pipeline > llvm::mca::Context::createInOrderPipeline | ( | const PipelineOptions & | Opts, |
SourceMgr & | SrcMgr, | ||
CustomBehaviour & | CB | ||
) |
Construct a basic pipeline for simulating an in-order pipeline.
This pipeline consists of Fetch, InOrderIssue, and Retire stages.
Definition at line 73 of file Context.cpp.
References addHardwareUnit(), llvm::mca::PipelineOptions::AssumeNoAlias, llvm::MCSubtargetInfo::getSchedModel(), llvm::mca::PipelineOptions::LoadQueueSize, llvm::mca::PipelineOptions::RegisterFileSize, llvm::SrcMgr, and llvm::mca::PipelineOptions::StoreQueueSize.
Referenced by createDefaultPipeline().
|
inline |
|
inline |