Return true if this pointer's memory may be freed in its defining scope.
Declared in <llvm/IR/Value.h>
bool
canBeFreed() const;
Return true if the memory object referred to by V can by freed in the scope for which the SSA value defining the allocation is statically defined. E.g. deallocation after the static scope of a value does not count, but a deallocation before that does.
True if the pointed-to memory may be freed in this scope.