25 "enable-objc-arc-opts",
cl::desc(
"enable/disable all ARC Optimizations"),
35 if (
AA.pointsToConstantMemory(
Op))
40 if (
AA.pointsToConstantMemory(LI->getPointerOperand()))
static cl::opt< bool, true > EnableARCOptimizations("enable-objc-arc-opts", cl::desc("enable/disable all ARC Optimizations"), cl::location(EnableARCOpts), cl::init(true), cl::Hidden)
This file defines common analysis utilities used by the ObjC ARC Optimizer.
An instruction for reading from memory.
LLVM Value Representation.
Abstract Attribute helper functions.
initializer< Ty > init(const Ty &Val)
LocationClass< Ty > location(Ty &L)
bool IsPotentialRetainableObjPtr(const Value *Op)
Test whether the given value is possible a retainable object pointer.
bool EnableARCOpts
A handy option to enable/disable all ARC Optimizations.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
DWARFExpression::Operation Op