llvm/llvm/lib/CodeGen/MultiHazardRecognizer.cpp

//===- MultiHazardRecognizer.cpp - Scheduler Support ----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements the MultiHazardRecognizer class, which is a wrapper
// for a set of ScheduleHazardRecognizer instances
//
//===----------------------------------------------------------------------===//

#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() {}