llvm::mca::Context

Owns simulated hardware units and builds default MCA pipelines.

Synopsis

Declared in <llvm/MCA/Context.h>

class Context;

Member Functions

NameDescription
Context [constructor]Constructors
operator= [deleted]Contexts are not copy-assignable.
addHardwareUnit Take ownership of a simulated hardware unit.
createDefaultPipeline Construct a basic pipeline for simulating an out-of-order pipeline. This pipeline consists of Fetch, Dispatch, Execute, and Retire stages.
createInOrderPipeline Construct a basic pipeline for simulating an in-order pipeline. This pipeline consists of Fetch, InOrderIssue, and Retire stages.
getMCRegisterInfo Return the MC register information associated with this context.
getMCSubtargetInfo Return the MC subtarget information associated with this context.