LLVM  8.0.0svn
RewriteStatepointsForGC.h
Go to the documentation of this file.
1 //===- RewriteStatepointsForGC.h - ------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file provides interface to "Rewrite Statepoints for GC" pass.
11 //
12 // This passe rewrites call/invoke instructions so as to make potential
13 // relocations performed by the garbage collector explicit in the IR.
14 //
15 //===----------------------------------------------------------------------===//
16 
17 #ifndef LLVM_TRANSFORMS_SCALAR_REWRITE_STATEPOINTS_FOR_GC_H
18 #define LLVM_TRANSFORMS_SCALAR_REWRITE_STATEPOINTS_FOR_GC_H
19 
20 #include "llvm/IR/PassManager.h"
21 
22 namespace llvm {
23 
24 class DominatorTree;
25 class Function;
26 class Module;
27 class TargetTransformInfo;
28 class TargetLibraryInfo;
29 
30 struct RewriteStatepointsForGC : public PassInfoMixin<RewriteStatepointsForGC> {
32 
34  const TargetLibraryInfo &);
35 };
36 
37 } // namespace llvm
38 
39 #endif // LLVM_TRANSFORMS_SCALAR_REWRITE_STATEPOINTS_FOR_GC_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
A Module instance is used to store all the information related to an LLVM module. ...
Definition: Module.h:65
F(f)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:366
Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree...
Definition: Dominators.h:145
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
A set of analyses that are preserved following a run of a transformation pass.
Definition: PassManager.h:154
bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &, const TargetLibraryInfo &)
This pass provides access to the codegen interfaces that are needed for IR-level transformations.
Provides information about what library functions are available for the current target.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.