Searched refs:roundupToBytes (Results 1 – 2 of 2) sorted by relevance
149 BTFType.Size = roundupToBytes(SizeInBits); in BTFTypeInt()171 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum()210 BTFType.Size = roundupToBytes(ETy->getSizeInBits()); in BTFTypeEnum64()283 BTFType.Size = roundupToBytes(STy->getSizeInBits()); in BTFTypeStruct()433 BTFType.Size = roundupToBytes(SizeInBits); in BTFTypeFloat()
51 uint32_t roundupToBytes(uint32_t NumBits) { return (NumBits + 7) >> 3; } in roundupToBytes() function