LLVM
8.0.1
|
#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 |
void | addHardwareUnit (std::unique_ptr< HardwareUnit > H) |
std::unique_ptr< Pipeline > | createDefaultPipeline (const PipelineOptions &Opts, InstrBuilder &IB, SourceMgr &SrcMgr) |
Construct a basic pipeline for simulating an out-of-order pipeline. More... | |
|
inline |
|
inline |
Definition at line 56 of file Context.h.
References llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::SrcMgr.
Referenced by createDefaultPipeline().
std::unique_ptr< Pipeline > llvm::mca::Context::createDefaultPipeline | ( | const PipelineOptions & | Opts, |
InstrBuilder & | IB, | ||
SourceMgr & | SrcMgr | ||
) |
Construct a basic pipeline for simulating an out-of-order pipeline.
This pipeline consists of Fetch, Dispatch, Execute, and Retire stages.
Definition at line 31 of file Context.cpp.
References addHardwareUnit(), llvm::mca::PipelineOptions::AssumeNoAlias, llvm::mca::PipelineOptions::DispatchWidth, llvm::MCSubtargetInfo::getSchedModel(), llvm::mca::PipelineOptions::LoadQueueSize, llvm::mca::PipelineOptions::RegisterFileSize, llvm::SrcMgr, and llvm::mca::PipelineOptions::StoreQueueSize.