Home
last modified time | relevance | path

Searched refs:NewAlignment (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp158 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() local
159 DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n"); in getNewAlignment()
161 if (NewAlignment) { in getNewAlignment()
162 return NewAlignment; in getNewAlignment()
182 NewAlignment = getNewAlignmentDiff(DiffStartSCEV, AlignSCEV, SE); in getNewAlignment()
185 DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n"); in getNewAlignment()
188 if (!NewAlignment || !NewIncAlignment) { in getNewAlignment()
190 } else if (NewAlignment > NewIncAlignment) { in getNewAlignment()
191 if (NewAlignment % NewIncAlignment == 0) { in getNewAlignment()
196 } else if (NewIncAlignment > NewAlignment) { in getNewAlignment()
[all …]
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp744 void UpdateAlignment(CharUnits NewAlignment, CharUnits UnpackedNewAlignment);
745 void UpdateAlignment(CharUnits NewAlignment) { in UpdateAlignment() argument
746 UpdateAlignment(NewAlignment, NewAlignment); in UpdateAlignment()
1882 CharUnits NewAlignment, CharUnits UnpackedNewAlignment) { in UpdateAlignment() argument
1888 if (NewAlignment > Alignment) { in UpdateAlignment()
1889 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment()
1891 Alignment = NewAlignment; in UpdateAlignment()