llvm::canTrackReturnsInterprocedurally

Return true if F's return values can be tracked interprocedurally.

Synopsis

Declared in <llvm/Analysis/ValueLatticeUtils.h>

bool
canTrackReturnsInterprocedurally(Function* F);

Description

Return values can be tracked if the function has an exact definition and it doesn't have the "naked" attribute. Naked functions may contain assembly code that returns untrackable values.

Return Value

True if F's return values can be tracked interprocedurally.

Parameters

NameDescription
FFunction whose returns are considered for interprocedural tracking.