mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
40cb19d802
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
49 lines
1.3 KiB
C++
49 lines
1.3 KiB
C++
//===-- ObjCARC.h - ObjCARC Scalar Transformations --------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This header file defines prototypes for accessor functions that expose passes
|
|
// in the ObjCARC Scalar Transformations library.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TRANSFORMS_OBJCARC_H
|
|
#define LLVM_TRANSFORMS_OBJCARC_H
|
|
|
|
namespace llvm {
|
|
|
|
class Pass;
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// ObjCARCAPElim - ObjC ARC autorelease pool elimination.
|
|
//
|
|
Pass *createObjCARCAPElimPass();
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// ObjCARCExpand - ObjC ARC preliminary simplifications.
|
|
//
|
|
Pass *createObjCARCExpandPass();
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// ObjCARCContract - Late ObjC ARC cleanups.
|
|
//
|
|
Pass *createObjCARCContractPass();
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// ObjCARCOpt - ObjC ARC optimization.
|
|
//
|
|
Pass *createObjCARCOptPass();
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|