|
|
|||
File indexing completed on 2026-05-10 08:44:42
0001 //===- RewriteStatepointsForGC.h - ------------------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 // 0009 // This file provides interface to "Rewrite Statepoints for GC" pass. 0010 // 0011 // This passe rewrites call/invoke instructions so as to make potential 0012 // relocations performed by the garbage collector explicit in the IR. 0013 // 0014 //===----------------------------------------------------------------------===// 0015 0016 #ifndef LLVM_TRANSFORMS_SCALAR_REWRITESTATEPOINTSFORGC_H 0017 #define LLVM_TRANSFORMS_SCALAR_REWRITESTATEPOINTSFORGC_H 0018 0019 #include "llvm/IR/PassManager.h" 0020 0021 namespace llvm { 0022 0023 class DominatorTree; 0024 class Function; 0025 class Module; 0026 class TargetTransformInfo; 0027 class TargetLibraryInfo; 0028 0029 struct RewriteStatepointsForGC : public PassInfoMixin<RewriteStatepointsForGC> { 0030 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); 0031 0032 bool runOnFunction(Function &F, DominatorTree &, TargetTransformInfo &, 0033 const TargetLibraryInfo &); 0034 }; 0035 0036 } // namespace llvm 0037 0038 #endif // LLVM_TRANSFORMS_SCALAR_REWRITESTATEPOINTSFORGC_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|