LLVM 24.0.0git
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
19#include "llvm/IR/PassManager.h"
20#include "llvm/IR/SSAContext.h"
22
23namespace llvm {
24
25// Use class instead of using to allow forward declarations.
26class CycleInfo : public GenericCycleInfo<SSAContext> {
27public:
28 /// Handle invalidation explicitly. Defined in CycleAnalysis.cpp.
30 FunctionAnalysisManager::Invalidator &);
31};
32
33} // namespace llvm
34
35#endif // LLVM_IR_CYCLEINFO_H
#define LLVM_ABI
Definition Compiler.h:211
Find all cycles in a control-flow graph, including irreducible loops.
This header defines various interfaces for pass management in LLVM.
#define F(x, y, z)
Definition MD5.cpp:54
This file declares a specialization of the GenericSSAContext<X> class template for LLVM IR.
LLVM_ABI bool invalidate(Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &)
Handle invalidation explicitly. Defined in CycleAnalysis.cpp.
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
This is an optimization pass for GlobalISel generic memory operations.