If this if a call to a free function, return the freed operand.

Synopsis

Declared in <llvm/Analysis/MemoryBuiltins.h>

Value*
getFreedOperand(
    CallBase const* CB,
    TargetLibraryInfo const* TLI);

Return Value

The freed operand, or nullptr if CB is not a free.

Parameters

Name

Description

CB

Call that may be a free‐like function.

TLI

Target library info used to identify free functions.

Created with MrDocs