Go to the documentation of this file.
16 #ifndef LLVM_MCA_STAGES_INSTRUCTIONTABLES_H
17 #define LLVM_MCA_STAGES_INSTRUCTIONTABLES_H
35 : SM(
Model), Masks(
Model.getNumProcResourceKinds()) {
45 #endif // LLVM_MCA_STAGES_INSTRUCTIONTABLES_H
This is an optimization pass for GlobalISel generic memory operations.
Error execute(InstRef &IR) override
The primary action that this stage performs on instruction IR.
Statically lint checks LLVM IR
An InstRef contains both a SourceMgr index and Instruction pair.
bool hasWorkToComplete() const override
Returns true if some instructions are still executing this stage.
Lightweight error class with error context and mandatory checking.
Machine model for scheduling, bundling, and heuristics.
InstructionTables(const MCSchedModel &Model)
void computeProcResourceMasks(const MCSchedModel &SM, MutableArrayRef< uint64_t > Masks)
Populates vector Masks with processor resource masks.