LLVM: lib/Transforms/Scalar/AlignmentFromAssumptions.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "alignment-from-assumptions" |
| Functions | |
|---|---|
| STATISTIC (NumLoadAlignChanged, "Number of loads changed by alignment assumptions") | |
| STATISTIC (NumStoreAlignChanged, "Number of stores changed by alignment assumptions") | |
| STATISTIC (NumMemIntAlignChanged, "Number of memory intrinsics changed by alignment assumptions") | |
| static MaybeAlign | getNewAlignmentDiff (const SCEV *DiffSCEV, const SCEV *AlignSCEV, ScalarEvolution *SE) |
| static Align | getNewAlignment (const SCEV *AASCEV, const SCEV *AlignSCEV, const SCEV *OffSCEV, Value *Ptr, ScalarEvolution *SE) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "alignment-from-assumptions"
◆ getNewAlignment()
Definition at line 82 of file AlignmentFromAssumptions.cpp.
References assert(), llvm::dbgs(), llvm::dwarf_linker::DebugStr, llvm::dyn_cast(), llvm::ScalarEvolution::getAddExpr(), llvm::ScalarEvolution::getMinusSCEV(), getNewAlignmentDiff(), llvm::ScalarEvolution::getNoopOrSignExtend(), llvm::ScalarEvolution::getSCEV(), llvm::SCEV::getType(), llvm::isa(), and LLVM_DEBUG.
Referenced by llvm::AlignmentFromAssumptionsPass::processAssumption().
◆ getNewAlignmentDiff()
◆ STATISTIC() [1/3]
| STATISTIC | ( | NumLoadAlignChanged | , |
|---|---|---|---|
| "Number of loads changed by alignment assumptions" | ) |
◆ STATISTIC() [2/3]
| STATISTIC | ( | NumMemIntAlignChanged | , |
|---|---|---|---|
| "Number of memory intrinsics changed by alignment assumptions" | ) |
◆ STATISTIC() [3/3]
| STATISTIC | ( | NumStoreAlignChanged | , |
|---|---|---|---|
| "Number of stores changed by alignment assumptions" | ) |