Returns true if use U of a pointer can be rewritten to use To.
Declared in <llvm/Analysis/Loads.h>
bool
canReplacePointersInUseIfEqual(
Use const& U,
Value const* To,
DataLayout const& DL);
True if use U can be rewritten to use To.
| Name | Description |
|---|---|
| U | Use of a pointer being considered for replacement. |
| To | Pointer value that would replace the used value. |
| DL | Data layout used for pointer-size reasoning. |