Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp146 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() local
147 DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n"); in getNewAlignment()
149 if (NewAlignment) { in getNewAlignment()
150 return NewAlignment; in getNewAlignment()
170 NewAlignment = getNewAlignmentDiff(DiffStartSCEV, AlignSCEV, SE); in getNewAlignment()
173 DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n"); in getNewAlignment()
176 if (!NewAlignment || !NewIncAlignment) { in getNewAlignment()
178 } else if (NewAlignment > NewIncAlignment) { in getNewAlignment()
179 if (NewAlignment % NewIncAlignment == 0) { in getNewAlignment()
184 } else if (NewIncAlignment > NewAlignment) { in getNewAlignment()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp146 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() local
147 LLVM_DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n"); in getNewAlignment()
149 if (NewAlignment) { in getNewAlignment()
150 return NewAlignment; in getNewAlignment()
170 NewAlignment = getNewAlignmentDiff(DiffStartSCEV, AlignSCEV, SE); in getNewAlignment()
173 LLVM_DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n"); in getNewAlignment()
176 if (!NewAlignment || !NewIncAlignment) { in getNewAlignment()
178 } else if (NewAlignment > NewIncAlignment) { in getNewAlignment()
179 if (NewAlignment % NewIncAlignment == 0) { in getNewAlignment()
184 } else if (NewIncAlignment > NewAlignment) { in getNewAlignment()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h425 void setAlignment(uint32_t NewAlignment) { Alignment = NewAlignment; } in setAlignment() argument
/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()
1895 CharUnits NewAlignment, CharUnits UnpackedNewAlignment) { in UpdateAlignment() argument
1901 if (NewAlignment > Alignment) { in UpdateAlignment()
1902 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment()
1904 Alignment = NewAlignment; in UpdateAlignment()