LLVM  10.0.0svn
HotColdSplitting.h
Go to the documentation of this file.
1 //===- HotColdSplitting.h ---- Outline Cold Regions -------------*- 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 // This pass outlines cold regions to a separate function.
9 //
10 //===----------------------------------------------------------------------===//
11 
12 #ifndef LLVM_TRANSFORMS_IPO_HOTCOLDSPLITTING_H
13 #define LLVM_TRANSFORMS_IPO_HOTCOLDSPLITTING_H
14 
15 #include "llvm/IR/PassManager.h"
16 
17 namespace llvm {
18 
19 class Module;
20 
21 /// Pass to outline cold regions.
22 class HotColdSplittingPass : public PassInfoMixin<HotColdSplittingPass> {
23 public:
25 };
26 
27 } // end namespace llvm
28 
29 #endif // LLVM_TRANSFORMS_IPO_HOTCOLDSPLITTING_H
30 
This class represents lattice values for constants.
Definition: AllocatorList.h:23
A Module instance is used to store all the information related to an LLVM module. ...
Definition: Module.h:65
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:372
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:153
Pass to outline cold regions.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.