16 #ifndef LLVM_MCA_PIPELINE_H 17 #define LLVM_MCA_PIPELINE_H 27 class HWEventListener;
59 std::set<HWEventListener *> Listeners;
63 bool hasWorkToProcess();
64 void notifyCycleBegin();
65 void notifyCycleEnd();
79 #endif // LLVM_MCA_PIPELINE_H void addEventListener(HWEventListener *Listener)
A pipeline for a specific subtarget.
This class represents lattice values for constants.
Tagged union holding either a T or a Error.
This file defines a stage.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
Expected< unsigned > run()
Returns the total number of simulated cycles.
void appendStage(std::unique_ptr< Stage > S)
Lightweight error class with error context and mandatory checking.
A scheduler for Processor Resource Units and Processor Resource Groups.