1 //===- CycleInfo.h - Cycle Info for LLVM IR -----------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 /// \file
9 ///
10 /// This file declares the LLVM IR specialization of the GenericCycle
11 /// templates.
12 ///
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_IR_CYCLEINFO_H
16 #define LLVM_IR_CYCLEINFO_H
17 
18 #include "llvm/ADT/GenericCycleInfo.h"
19 #include "llvm/IR/SSAContext.h"
20 
21 namespace llvm {
22 
23 extern template class GenericCycleInfo<SSAContext>;
24 extern template class GenericCycle<SSAContext>;
25 
26 using CycleInfo = GenericCycleInfo<SSAContext>;
27 using Cycle = CycleInfo::CycleT;
28 
29 } // namespace llvm
30 
31 #endif // LLVM_IR_CYCLEINFO_H
32