[Alignment][NFC] Migrate Instructions to Align
[llvm-core.git] / include / llvm / Transforms / ObjCARC.h
blob2f114c75e2e2ac0e96f1b621adbbc482ade9c668
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.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TRANSFORMS_OBJCARC_H
15 #define LLVM_TRANSFORMS_OBJCARC_H
17 namespace llvm {
19 class Pass;
21 //===----------------------------------------------------------------------===//
23 // ObjCARCAPElim - ObjC ARC autorelease pool elimination.
25 Pass *createObjCARCAPElimPass();
27 //===----------------------------------------------------------------------===//
29 // ObjCARCExpand - ObjC ARC preliminary simplifications.
31 Pass *createObjCARCExpandPass();
33 //===----------------------------------------------------------------------===//
35 // ObjCARCContract - Late ObjC ARC cleanups.
37 Pass *createObjCARCContractPass();
39 //===----------------------------------------------------------------------===//
41 // ObjCARCOpt - ObjC ARC optimization.
43 Pass *createObjCARCOptPass();
45 } // End llvm namespace
47 #endif