Try to infer an 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);
This struct is a compact representation of a valid (non-zero power of two) alignment. It is suitable for use as static global constants.
| Name | Description |
|---|---|
| V | LLVM Value Representation |
| DL | A parsed version of the target data layout string in and methods for querying it. |
| AC | A cache of @llvm.assume calls within a function. |
| DT | Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree. |