21 #define DEBUG_TYPE "llvm-mca" 31 unsigned NumRetired = 0;
33 if (MaxRetirePerCycle != 0 && NumRetired == MaxRetirePerCycle)
Instruction * getInstruction()
This file defines the retire stage of a default instruction pipeline.
An instruction propagated through the simulated instruction pipeline.
This class represents lattice values for constants.
Subclass of Error for the sole purpose of identifying the success path in the type system...
unsigned getNumRegisterFiles() const
void notifyInstructionRetired(const InstRef &IR) const
An InstRef contains both a SourceMgr index and Instruction pair.
void consumeCurrentToken()
const RUToken & peekCurrentToken() const
void onInstructionExecuted(unsigned TokenID)
unsigned getRCUTokenID() const
void removeRegisterWrite(const WriteState &WS, MutableArrayRef< unsigned > FreedPhysRegs)
This file defines the main interface for hardware event listeners.
Error cycleStart() override
Called once at the start of each cycle.
Tracks uses of a register definition (e.g.
unsigned getMaxRetirePerCycle() const
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Error execute(InstRef &IR) override
The primary action that this stage performs on instruction IR.
Lightweight error class with error context and mandatory checking.
Statically lint checks LLVM IR