If this is a call to a realloc function, return the reallocated operand.

Synopsis

Declared in <llvm/Analysis/MemoryBuiltins.h>

Value*
getReallocatedOperand(CallBase const* CB);

Return Value

The reallocated operand, or nullptr if CB is not a realloc.

Parameters

Name

Description

CB

Call that may be a realloc‐like function.

Created with MrDocs