LLVM 24.0.0git
IPO.h
Go to the documentation of this file.
1//===- llvm/Transforms/IPO.h - Interprocedural Transformations --*- 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//
9// This header file defines prototypes for accessor functions that expose passes
10// in the IPO transformations library.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_TRANSFORMS_IPO_H
15#define LLVM_TRANSFORMS_IPO_H
16
18
19namespace llvm {
20
21class ModulePass;
22
23//===----------------------------------------------------------------------===//
24/// createDeadArgEliminationPass - This pass removes arguments from functions
25/// which are not used by the body of the function.
26///
28
29//===----------------------------------------------------------------------===//
30/// createBarrierNoopPass - This pass is purely a module pass barrier in a pass
31/// manager.
33
34/// What to do with the summary when running passes that operate on it.
36 None, ///< Do nothing.
37 Import, ///< Import information from summary.
38 Export, ///< Export information to summary.
39};
40
41} // End llvm namespace
42
43#endif
#define LLVM_ABI
Definition Compiler.h:211
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
Definition Pass.h:253
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI ModulePass * createDeadArgEliminationPass()
createDeadArgEliminationPass - This pass removes arguments from functions which are not used by the b...
PassSummaryAction
What to do with the summary when running passes that operate on it.
Definition IPO.h:35
@ Export
Export information to summary.
Definition IPO.h:38
@ Import
Import information from summary.
Definition IPO.h:37
LLVM_ABI ModulePass * createBarrierNoopPass()
createBarrierNoopPass - This pass is purely a module pass barrier in a pass manager.