LLVM: llvm::mca::Context Class Reference (original) (raw)
#include "[llvm/MCA/Context.h](MCA%5F2Context%5F8h%5Fsource.html)"
| 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) |
| LLVM_ABI std::unique_ptr< Pipeline > | createDefaultPipeline (const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) |
| Construct a basic pipeline for simulating an out-of-order pipeline. | |
| LLVM_ABI std::unique_ptr< Pipeline > | createInOrderPipeline (const PipelineOptions &Opts, SourceMgr &SrcMgr, CustomBehaviour &CB) |
| Construct a basic pipeline for simulating an in-order pipeline. |
Definition at line 52 of file Context.h.
◆ Context() [1/2]
◆ Context() [2/2]
◆ addHardwareUnit()
| void llvm::mca::Context::addHardwareUnit ( std::unique_ptr< HardwareUnit > H) | inline |
|---|
◆ createDefaultPipeline()
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::MCSchedModel::isOutOfOrder(), llvm::mca::PipelineOptions::LoadQueueSize, llvm::mca::PipelineOptions::MicroOpQueueSize, llvm::mca::PipelineOptions::RegisterFileSize, llvm::SrcMgr, and llvm::mca::PipelineOptions::StoreQueueSize.
◆ createInOrderPipeline()
◆ getMCRegisterInfo()
◆ getMCSubtargetInfo()
◆ operator=()
The documentation for this class was generated from the following files:
- include/llvm/MCA/Context.h
- lib/MCA/Context.cpp