This is a wrapper around getUnderlyingObjects and adds support for basic ptrtoint+arithmetic+inttoptr sequences.
Declared in <llvm/Analysis/ValueTracking.h>
bool
getUnderlyingObjectsForCodeGen(
Value const* V,
SmallVectorImpl<Value*>& Objects);
True if underlying objects were successfully identified.
| Name | Description |
|---|---|
| V | Pointer value whose underlying objects are collected. |
| Objects | Output set of underlying objects. |