LLVM: llvm::LinearExpression Struct Reference (original) (raw)
Linear expression BasePtr + Index * Scale + Offset. More...
#include "[llvm/Analysis/Loads.h](Loads%5F8h%5Fsource.html)"
| Public Attributes | |
|---|---|
| Value * | BasePtr |
| Value * | Index = nullptr |
| APInt | Scale |
| APInt | Offset |
| GEPNoWrapFlags | Flags = GEPNoWrapFlags::all() |
Detailed Description
Linear expression BasePtr + Index * Scale + Offset.
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.
Definition at line 203 of file Loads.h.
Constructor & Destructor Documentation
| llvm::LinearExpression::LinearExpression ( Value * BasePtr, unsigned BitWidth ) | inline |
|---|
Member Data Documentation
◆ BasePtr
Value* llvm::LinearExpression::BasePtr
◆ Flags
◆ Index
Value* llvm::LinearExpression::Index = nullptr
◆ Offset
APInt llvm::LinearExpression::Offset
◆ Scale
APInt llvm::LinearExpression::Scale
The documentation for this struct was generated from the following file:
- include/llvm/Analysis/Loads.h