Home
last modified time | relevance | path

Searched refs:NewAlignment (Results 1 – 9 of 9) 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-10.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp144 unsigned NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE); in getNewAlignment() local
145 LLVM_DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n"); in getNewAlignment()
147 if (NewAlignment) { in getNewAlignment()
148 return NewAlignment; in getNewAlignment()
168 NewAlignment = getNewAlignmentDiff(DiffStartSCEV, AlignSCEV, SE); in getNewAlignment()
171 LLVM_DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n"); in getNewAlignment()
174 if (!NewAlignment || !NewIncAlignment) { in getNewAlignment()
176 } else if (NewAlignment > NewIncAlignment) { in getNewAlignment()
177 if (NewAlignment % NewIncAlignment == 0) { in getNewAlignment()
182 } else if (NewIncAlignment > NewAlignment) { in getNewAlignment()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp150 if (MaybeAlign NewAlignment = getNewAlignmentDiff(DiffSCEV, AlignSCEV, SE)) { in getNewAlignment() local
151 LLVM_DEBUG(dbgs() << "\tnew alignment: " << DebugStr(NewAlignment) << "\n"); in getNewAlignment()
152 return *NewAlignment; in getNewAlignment()
173 MaybeAlign NewAlignment = getNewAlignmentDiff(DiffStartSCEV, AlignSCEV, SE); in getNewAlignment() local
177 LLVM_DEBUG(dbgs() << "\tnew start alignment: " << DebugStr(NewAlignment) in getNewAlignment()
182 if (!NewAlignment || !NewIncAlignment) in getNewAlignment()
185 const Align NewAlign = *NewAlignment; in getNewAlignment()
259 Align NewAlignment = getNewAlignment(AASCEV, AlignSCEV, OffSCEV, in processAssumption() local
261 if (NewAlignment > LI->getAlign()) { in processAssumption()
262 LI->setAlignment(NewAlignment); in processAssumption()
[all …]
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp779 void UpdateAlignment(CharUnits NewAlignment, CharUnits UnpackedNewAlignment,
781 void UpdateAlignment(CharUnits NewAlignment, CharUnits UnpackedNewAlignment) { in UpdateAlignment() argument
782 UpdateAlignment(NewAlignment, UnpackedNewAlignment, NewAlignment); in UpdateAlignment()
784 void UpdateAlignment(CharUnits NewAlignment) { in UpdateAlignment() argument
785 UpdateAlignment(NewAlignment, NewAlignment, NewAlignment); in UpdateAlignment()
2111 CharUnits NewAlignment, CharUnits UnpackedNewAlignment, in UpdateAlignment() argument
2118 if (NewAlignment > Alignment) { in UpdateAlignment()
2119 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment()
2121 Alignment = NewAlignment; in UpdateAlignment()
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h382 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp463 const Align NewAlignment = in alignAndPadAlloca() local
465 Info.AI->setAlignment(NewAlignment); in alignAndPadAlloca()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp487 const Align NewAlignment = in alignAndPadAlloca() local
489 Info.AI->setAlignment(NewAlignment); in alignAndPadAlloca()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp2137 unsigned NewAlignment = Context.getTargetInfo().getNewAlign(); in BuildCXXNew() local
2139 Alignment > NewAlignment; in BuildCXXNew()
2248 if (Alignment > NewAlignment) in BuildCXXNew()
2252 << unsigned(NewAlignment / Context.getCharWidth()); in BuildCXXNew()