llvm/llvm/tools/llvm-mca/CodeRegion.cpp

//===-------------------------- CodeRegion.cpp -----------------*- C++ -* -===//
//
// 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
//
//===----------------------------------------------------------------------===//
/// \file
///
/// This file implements methods from the CodeRegions interface.
///
//===----------------------------------------------------------------------===//

#include "CodeRegion.h"

namespace llvm {
namespace mca {

bool CodeRegion::isLocInRange(SMLoc Loc) const {}

void CodeRegions::addInstruction(const MCInst &Instruction) {}

AnalysisRegions::AnalysisRegions(llvm::SourceMgr &S) :{}

void AnalysisRegions::beginRegion(StringRef Description, SMLoc Loc) {}

void AnalysisRegions::endRegion(StringRef Description, SMLoc Loc) {}

InstrumentRegions::InstrumentRegions(llvm::SourceMgr &S) :{}

void InstrumentRegions::beginRegion(StringRef Description, SMLoc Loc,
                                    UniqueInstrument I) {}

void InstrumentRegions::endRegion(StringRef Description, SMLoc Loc) {}

const SmallVector<Instrument *>
InstrumentRegions::getActiveInstruments(SMLoc Loc) const {}

} // namespace mca
} // namespace llvm