1 //===-- ObjCARC.h - ObjCARC Scalar Transformations --------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
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
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