Go to the documentation of this file.
14 #ifndef LLVM_ANALYSIS_OBJCARCUTIL_H
15 #define LLVM_ANALYSIS_OBJCARCUTIL_H
26 return "clang.arc.retainAutoreleasedReturnValueMarker";
48 return cast<Function>(
B->Inputs[0]);
@ OB_clang_arc_attachedcall
This is an optimization pass for GlobalISel generic memory operations.
bool hasAttachedCallOpBundle(const CallBase *CB)
Optional< Function * > getAttachedARCFunction(const CallBase *CB)
This function returns operand bundle clang_arc_attachedcall's argument, which is the address of the A...
Optional< OperandBundleUse > getOperandBundle(StringRef Name) const
Return an operand bundle by name, if present.
ARCInstKind GetFunctionClass(const Function *F)
Determine if F is one of the special known Functions.
FunctionType * getFunctionType() const
bool isRetainOrClaimRV(ARCInstKind Kind)
Check whether the function is retainRV/unsafeClaimRV.
constexpr bool hasValue() const
@ RetainRV
objc_retainAutoreleasedReturnValue
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool isVoidTy() const
Return true if this is 'void'.
const char * getRVMarkerModuleFlagStr()
ARCInstKind getAttachedARCFunctionKind(const CallBase *CB)
This function returns the ARCInstKind of the function attached to operand bundle clang_arc_attachedca...
@ None
anything that is inert from an ARC perspective.
Base class for all callable instructions (InvokeInst and CallInst) Holds everything related to callin...
Type * getReturnType() const
@ UnsafeClaimRV
objc_unsafeClaimAutoreleasedReturnValue