llvm/bolt/include/bolt/Core/BinaryLoop.h

//===- bolt/Core/BinaryLoop.h - Loop info at low-level IR -------*- 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
//
//===----------------------------------------------------------------------===//
//
// This file defines the BinaryLoop class, which represents a loop in the
// CFG of a binary function, and the BinaryLoopInfo class, which stores
// information about all the loops of a binary function.
//
//===----------------------------------------------------------------------===//

#ifndef BOLT_CORE_BINARY_LOOP_H
#define BOLT_CORE_BINARY_LOOP_H

#include "llvm/Support/GenericLoopInfo.h"

namespace llvm {
namespace bolt {

class BinaryBasicBlock;

class BinaryLoop : public LoopBase<BinaryBasicBlock, BinaryLoop> {};

class BinaryLoopInfo : public LoopInfoBase<BinaryBasicBlock, BinaryLoop> {};

} // namespace bolt
} // namespace llvm

#endif