LLVM 22.0.0git
ObjCARC.h
Go to the documentation of this file.
1//===-- ObjCARC.h - ObjCARC Scalar 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 ObjCARC Scalar Transformations library.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_TRANSFORMS_OBJCARC_H
15#define LLVM_TRANSFORMS_OBJCARC_H
16
17#include "llvm/IR/PassManager.h"
19
20namespace llvm {
21
22class Pass;
23
24//===----------------------------------------------------------------------===//
25//
26// ObjCARCContract - Late ObjC ARC cleanups.
27//
29
30struct ObjCARCOptPass : public PassInfoMixin<ObjCARCOptPass> {
32};
33
34struct ObjCARCContractPass : public PassInfoMixin<ObjCARCContractPass> {
36};
37
38struct ObjCARCExpandPass : public PassInfoMixin<ObjCARCExpandPass> {
40};
41
42struct PAEvalPass : public PassInfoMixin<PAEvalPass> {
44};
45
46} // End llvm namespace
47
48#endif
#define LLVM_ABI
Definition: Compiler.h:213
This header defines various interfaces for pass management in LLVM.
#define F(x, y, z)
Definition: MD5.cpp:55
Shrink Wrap Pass
Definition: ShrinkWrap.cpp:301
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:255
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.
Definition: AddressRanges.h:18
LLVM_ABI Pass * createObjCARCContractPass()
LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
LLVM_ABI PreservedAnalyses run(Function &M, FunctionAnalysisManager &AM)
LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:70