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 using CycleInfo = GenericCycleInfo<SSAContext>; 24 using Cycle = CycleInfo::CycleT; 25 26 } // namespace llvm 27 28 #endif // LLVM_IR_CYCLEINFO_H 29