llvm::getUnderlyingObjectsForCodeGen

This is a wrapper around getUnderlyingObjects and adds support for basic ptrtoint+arithmetic+inttoptr sequences.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

bool
getUnderlyingObjectsForCodeGen(
    Value const* V,
    SmallVectorImpl<Value*>& Objects);

Return Value

True if underlying objects were successfully identified.

Parameters

NameDescription
VPointer value whose underlying objects are collected.
ObjectsOutput set of underlying objects.