Lines Matching defs:NumBytes
172 llvm::Type *getByteArrayType(CharUnits NumBytes);
175 void AppendBytes(CharUnits numBytes);
734 CharUnits NumBytes = AlignedNonVirtualTypeSize - AlignedNextFieldOffset;
735 FieldTypes.push_back(getByteArrayType(NumBytes));
890 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) {
891 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed.");
894 if (numBytes > CharUnits::One())
895 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity());
900 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) {
901 if (numBytes.isZero())
905 AppendField(NextFieldOffset, getByteArrayType(numBytes));