Infer a known alignment for the specified pointer.
Declared in <llvm/Transforms/Utils/Local.h>
Align
getKnownAlignment(
Value* V,
DataLayout const& DL,
Instruction const* CxtI = nullptr,
AssumptionCache* AC = nullptr,
DominatorTree const* DT = nullptr);
Known alignment of the specified pointer.
| Name | Description |
|---|---|
| V | Pointer value whose alignment is queried. |
| DL | Data layout used to reason about object alignment. |
| CxtI | Optional context instruction for local analysis. |
| AC | Optional assumption cache used during analysis. |
| DT | Optional dominator tree used during analysis. |