LLVM
23.0.0git
include
llvm
IR
CycleInfo.h
Go to the documentation of this file.
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
// Use class instead of using to allow forward declarations.
24
class
CycleInfo
:
public
GenericCycleInfo
<SSAContext> {};
25
26
using
Cycle
=
CycleInfo::CycleT
;
27
28
}
// namespace llvm
29
30
#endif
// LLVM_IR_CYCLEINFO_H
GenericCycleInfo.h
Find all cycles in a control-flow graph, including irreducible loops.
SSAContext.h
This file declares a specialization of the GenericSSAContext<X> class template for LLVM IR.
llvm::CycleInfo
Definition
CycleInfo.h:24
llvm::GenericCycleInfo< SSAContext >::GenericCycleInfo
GenericCycleInfo()=default
llvm::GenericCycleInfo< SSAContext >::CycleT
GenericCycle< SSAContext > CycleT
Definition
GenericCycleInfo.h:258
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
Types.h:26
llvm::Cycle
CycleInfo::CycleT Cycle
Definition
CycleInfo.h:26
Generated on
for LLVM by
1.14.0