Lines Matching full:alignment

13 // complex alignment assumptions that apply to vector loads and stores that
34 #define DEBUG_TYPE "alignment-from-assumptions"
38 "Number of loads changed by alignment assumptions");
40 "Number of stores changed by alignment assumptions");
42 "Number of memory intrinsics changed by alignment assumptions");
44 // Given an expression for the (constant) alignment, AlignSCEV, and an
46 // DiffSCEV, compute the alignment of the displaced pointer if it can be reduced
47 // to a constant. Using SCEV to compute alignment handles the case where
53 // DiffUnits = Diff % int64_t(Alignment) in getNewAlignmentDiff()
63 // If the displacement is an exact multiple of the alignment, then the in getNewAlignmentDiff()
64 // displaced pointer has the same alignment as the aligned pointer, so in getNewAlignmentDiff()
65 // return the alignment value. in getNewAlignmentDiff()
80 // alignment AlignSCEV. Use that information, if possible, to compute a new
81 // alignment for Ptr.
99 LLVM_DEBUG(dbgs() << "AFI: alignment of " << *Ptr << " relative to " in getNewAlignment()
104 LLVM_DEBUG(dbgs() << "\tnew alignment: " << DebugStr(NewAlignment) << "\n"); in getNewAlignment()
109 // The relative offset to the alignment assumption did not yield a constant, in getNewAlignment()
112 // 32-byte aligned, but instead alternate between 32 and 16-byte alignment. in getNewAlignment()
113 // As a result, the new alignment will not be a constant, but can still in getNewAlignment()
119 LLVM_DEBUG(dbgs() << "\ttrying start/inc alignment using start " in getNewAlignment()
122 // Now compute the new alignment using the displacement to the value in the in getNewAlignment()
123 // first iteration, and also the alignment using the per-iteration delta. in getNewAlignment()
130 LLVM_DEBUG(dbgs() << "\tnew start alignment: " << DebugStr(NewAlignment) in getNewAlignment()
132 LLVM_DEBUG(dbgs() << "\tnew inc alignment: " << DebugStr(NewIncAlignment) in getNewAlignment()
141 LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " in getNewAlignment()
146 LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " << DebugStr(NewAlign) in getNewAlignment()
151 LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " << DebugStr(NewAlign) in getNewAlignment()
247 // For memory transfers, there is also a source alignment that in processAssumption()