Infer a known alignment for the specified pointer.
Synopsis
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);
Return Value
Known alignment of the specified pointer.
Parameters
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. |
Created with MrDocs