Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/altera/
DStructPackAlignCheck.cpp30 StructPackAlignCheck::computeRecommendedAlignment(CharUnits MinByteSize) { in computeRecommendedAlignment() argument
32 if (!MinByteSize.isPowerOfTwo()) { in computeRecommendedAlignment()
33 int MSB = (int)MinByteSize.getQuantity(); in computeRecommendedAlignment()
42 NewAlign = MinByteSize; in computeRecommendedAlignment()
74 CharUnits MinByteSize = in check() local
80 CharUnits NewAlign = computeRecommendedAlignment(MinByteSize); in check()
83 bool NeedsPacking = (MinByteSize < CurrSize) && (MaxAlign != NewAlign) && in check()
97 << Struct << (int)MinByteSize.getQuantity() in check()
DStructPackAlignCheck.h34 CharUnits computeRecommendedAlignment(CharUnits MinByteSize);