ΒΆinline unsigned int getKnownAlignment(
    llvm::Value* V,
    const llvm::DataLayout& DL,
    const llvm::Instruction* CxtI = nullptr,
    llvm::AssumptionCache* AC = nullptr,
    const llvm::DominatorTree* DT = nullptr)

Description

Try to infer an alignment for the specified pointer.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:267

Parameters

llvm::Value* V
const llvm::DataLayout& DL
const llvm::Instruction* CxtI = nullptr
llvm::AssumptionCache* AC = nullptr
const llvm::DominatorTree* DT = nullptr