LLVM 22.0.0git
AlignmentFromAssumptions.cpp File Reference

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)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "alignment-from-assumptions"

Definition at line 34 of file AlignmentFromAssumptions.cpp.

Function Documentation

◆ getNewAlignment()

◆ getNewAlignmentDiff()

MaybeAlign getNewAlignmentDiff ( const SCEV * DiffSCEV,
const SCEV * AlignSCEV,
ScalarEvolution * SE )
static

◆ 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"  )