#include "llvm/CodeGen/MultiHazardRecognizer.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
#include <functional>
#include <numeric>
usingnamespacellvm;
void MultiHazardRecognizer::AddHazardRecognizer(
std::unique_ptr<ScheduleHazardRecognizer> &&R) { … }
bool MultiHazardRecognizer::atIssueLimit() const { … }
ScheduleHazardRecognizer::HazardType
MultiHazardRecognizer::getHazardType(SUnit *SU, int Stalls) { … }
void MultiHazardRecognizer::Reset() { … }
void MultiHazardRecognizer::EmitInstruction(SUnit *SU) { … }
void MultiHazardRecognizer::EmitInstruction(MachineInstr *MI) { … }
unsigned MultiHazardRecognizer::PreEmitNoops(SUnit *SU) { … }
unsigned MultiHazardRecognizer::PreEmitNoops(MachineInstr *MI) { … }
bool MultiHazardRecognizer::ShouldPreferAnother(SUnit *SU) { … }
void MultiHazardRecognizer::AdvanceCycle() { … }
void MultiHazardRecognizer::RecedeCycle() { … }
void MultiHazardRecognizer::EmitNoop() { … }