Linear expression of the form BasePtr + Index * Scale + Offset.
Synopsis
Declared in <llvm/Analysis/Loads.h>
struct LinearExpression;
Description
Index, Scale and Offset all have the same bit width, which matches the pointer index size of BasePtr. Index may be nullptr if Scale is 0.
Member Functions
Name |
Description |
|
Construct a zero‐scale, zero‐offset expression over |
Data Members
Name |
Description |
Base pointer of the linear expression. |
|
No‐wrap flags that apply to the linear addressing expression. |
|
Optional index multiplied by Scale; nullptr when Scale is 0. |
|
Constant offset added to the scaled index. |
|
Scale applied to Index. |
Non-Member Functions
Name |
Description |
Decompose a pointer into a linear expression. This may look through multiple GEPs. |
Created with MrDocs