llvm::mca::Instruction

An instruction propagated through the simulated instruction pipeline.

Synopsis

Declared in <llvm/MCA/Instruction.h>

class Instruction
    : public InstructionBase

Description

This class is used to monitor changes to the internal state of instructions that are sent to the various components of the simulated hardware pipeline.

Base Classes

NameDescription
InstructionBaseBase class for instructions consumed by the simulation pipeline.

Member Functions

NameDescription
Instruction [constructor]
addOperand
clearOptimizableMove
clearUsedBuffers
computeCriticalRegDep
cycleEvent
dispatch
execute
forceExecuted
getBeginGroup
getCriticalMemDep
getCriticalRegDep
getCriticalResourceMask
getCyclesLeft
getDefs
getDesc
getEndGroup
getHasSideEffects
getLSUTokenID
getLatency
getMayLoad
getMayStore
getNumMicroOps
getNumOperands
getNumUsers
getOpcode
getOperand Return the MCAOperand which corresponds to index Idx within the original MCInst.
getRCUTokenID
getRetireOOO
getUsedBuffers
getUses
hasDependentUsers
isALoadBarrier
isAStoreBarrier
isDispatched
isEliminated
isExecuted
isExecuting
isInvalid
isMemOp
isOptimizableMove
isPending
isReady
isRetired
reset
retire
setBeginGroup
setCriticalMemDep
setCriticalResourceMask
setEliminated
setEndGroup
setHasSideEffects
setLSUTokenID
setLoadBarrier
setMayLoad
setMayStore
setOptimizableMove
setRetireOOO
setStoreBarrier
setUsedBuffers
update
updateDispatched
updatePending