lib/Analysis/BasicAliasAnalysis.cpp
static bool isEscapeSource(const Value *V) {
  if (isa<CallBase>(V))
    return true;

  if (isa<Argument>(V))
    return true;

  // The load case works because isNonEscapingLocalObject considers all
  // stores to be escapes (it passes true for the StoreCaptures argument
  // to PointerMayBeCaptured).
  if (isa<LoadInst>(V))
    return true;

  return false;
}
/// Returns true if the pointer is one which would have been considered an
/// escape by isNonEscapingLocalObject.
Returns true if the pointer is one which would have been considered an
escape by isNonEscapingLocalObject.
Returns true if the pointer is one which would have been considered an escape by isNonEscapingLocalObject .
static bool isEscapeSource(const Value *V) {
  if (isa<CallBase>(V))
    return true;
  if (isa<Argument>(V))
    return true;
  if (isa<LoadInst>(V))
    return true;
  return false;
}
static bool isEscapeSource ( const Value * V ) { if ( isa < CallBase > ( V ) ) return true ; if ( isa < Argument > ( V ) ) return true ; if ( isa < LoadInst > ( V ) ) return true ; return false ; }
Returns true if the pointer is one which would have been considered an
escape by isNonEscapingLocalObject.
Returns true if the pointer is one which would have been considered an escape by isNonEscapingLocalObject .
// The load case works because isNonEscapingLocalObject considers all // stores to be escapes (it passes true for the StoreCaptures argument // to PointerMayBeCaptured).