Home
last modified time | relevance | path

Searched refs:RequiredAlignment (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp40 RequiredAlignment(requiredAlignment) { in ASTRecordLayout()
59 RequiredAlignment(requiredAlignment), in ASTRecordLayout()
H A DRecordLayoutBuilder.cpp2633 CharUnits RequiredAlignment; member
2697 RequiredAlignment = std::max(RequiredAlignment, Layout.getRequiredAlignment()); in getAdjustedElementInfo()
2732 RequiredAlignment = std::max(RequiredAlignment, FieldRequiredAlignment); in getAdjustedElementInfo()
2749 RequiredAlignment = std::max( in layout()
2750 RequiredAlignment, Context.toCharUnitsFromBits(RD->getMaxAlignment())); in layout()
2771 RequiredAlignment = std::max( in cxxLayout()
2772 RequiredAlignment, Context.toCharUnitsFromBits(RD->getMaxAlignment())); in cxxLayout()
2784 RequiredAlignment = Context.getTargetInfo().getTriple().isArch64Bit() in initializeLayout()
3117 .alignTo(std::max(RequiredAlignment, Alignment)); in injectVBPtr()
3132 PointerInfo.Size.alignTo(std::max(RequiredAlignment, Alignment)); in injectVFPtr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h84 CharUnits RequiredAlignment; variable
311 CharUnits getRequiredAlignment() const { return RequiredAlignment; } in getRequiredAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp1703 Align RequiredAlignment(PowerOf2Ceil(Size/8)); // Natural alignment. in allowsMisalignedMemoryAccessesImpl() local
1705 Alignment < RequiredAlignment) in allowsMisalignedMemoryAccessesImpl()
1726 RequiredAlignment = Align(4); in allowsMisalignedMemoryAccessesImpl()
1744 *IsFast = (Alignment >= RequiredAlignment) ? 64 in allowsMisalignedMemoryAccessesImpl()
1767 *IsFast = (Alignment >= RequiredAlignment) ? 96 in allowsMisalignedMemoryAccessesImpl()
1781 RequiredAlignment = Align(8); in allowsMisalignedMemoryAccessesImpl()
1792 *IsFast = (Alignment >= RequiredAlignment) ? 128 in allowsMisalignedMemoryAccessesImpl()
1810 *IsFast = (Alignment >= RequiredAlignment) ? Size : 0; in allowsMisalignedMemoryAccessesImpl()
1812 return Alignment >= RequiredAlignment || in allowsMisalignedMemoryAccessesImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11399 Align RequiredAlignment = AI->getAlign(); in tryToElideArgumentCopy() local
11400 if (MFI.getObjectAlign(FixedIndex) < RequiredAlignment) { in tryToElideArgumentCopy()
11403 << DebugStr(RequiredAlignment) << " vs " in tryToElideArgumentCopy()
H A DDAGCombiner.cpp19558 Align RequiredAlignment; in adjustCostForPairing() local
19559 if (!TLI.hasPairedLoad(LoadedType, RequiredAlignment)) { in adjustCostForPairing()
19565 if (First->getAlign() < RequiredAlignment) in adjustCostForPairing()
20902 Align RequiredAlignment; in tryStoreMergeOfLoads() local
20907 if (TLI.hasPairedLoad(MemVT, RequiredAlignment) && in tryStoreMergeOfLoads()
20908 StoreNodes[0].MemNode->getAlign() >= RequiredAlignment) { in tryStoreMergeOfLoads()