22 #ifndef LLVM_LIB_TRANSFORMS_OBJCARC_ARCRUNTIMEENTRYPOINTS_H 23 #define LLVM_LIB_TRANSFORMS_OBJCARC_ARCRUNTIMEENTRYPOINTS_H 73 assert(TheModule !=
nullptr &&
"Not initialized.");
78 Intrinsic::objc_autoreleaseReturnValue);
80 return getIntrinsicEntryPoint(
Release, Intrinsic::objc_release);
82 return getIntrinsicEntryPoint(
Retain, Intrinsic::objc_retain);
84 return getIntrinsicEntryPoint(
RetainBlock, Intrinsic::objc_retainBlock);
86 return getIntrinsicEntryPoint(
Autorelease, Intrinsic::objc_autorelease);
88 return getIntrinsicEntryPoint(
StoreStrong, Intrinsic::objc_storeStrong);
90 return getIntrinsicEntryPoint(
RetainRV,
91 Intrinsic::objc_retainAutoreleasedReturnValue);
94 Intrinsic::objc_retainAutorelease);
97 Intrinsic::objc_retainAutoreleaseReturnValue);
105 Module *TheModule =
nullptr;
146 #endif // LLVM_LIB_TRANSFORMS_OBJCARC_ARCRUNTIMEENTRYPOINTS_H
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
This file contains the simple types necessary to represent the attributes associated with functions a...
Function * getDeclaration(Module *M, ID id, ArrayRef< Type *> Tys=None)
Create or insert an LLVM Function declaration for an intrinsic, and return it.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Module.h This file contains the declarations for the Module class.
Declarations for ObjC runtime functions and constants.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())