Searched refs:PadSize (Results 1 – 7 of 7) sorted by relevance
1873 unsigned PadSize = getSizeInBits() - UnpaddedSize; in FinishLayout() local1875 if (PadSize % CharBitNum == 0) { in FinishLayout()1876 PadSize = PadSize / CharBitNum; in FinishLayout()1881 << PadSize in FinishLayout()1961 unsigned PadSize = Offset - UnpaddedOffset; in CheckFieldPadding() local1963 if (PadSize % CharBitNum == 0) { in CheckFieldPadding()1964 PadSize = PadSize / CharBitNum; in CheckFieldPadding()1971 << PadSize in CheckFieldPadding()1978 << PadSize in CheckFieldPadding()
2088 unsigned PadSize = getSizeInBits() - UnpaddedSize; in FinishLayout() local2090 if (PadSize % CharBitNum == 0) { in FinishLayout()2091 PadSize = PadSize / CharBitNum; in FinishLayout()2096 << PadSize in FinishLayout()2185 unsigned PadSize = Offset - UnpaddedOffset; in CheckFieldPadding() local2187 if (PadSize % CharBitNum == 0) { in CheckFieldPadding()2188 PadSize = PadSize / CharBitNum; in CheckFieldPadding()2195 << PadSize in CheckFieldPadding()2202 << PadSize in CheckFieldPadding()
69 void AppendPadding(CharUnits PadSize);164 CharUnits PadSize = Context.toCharUnitsFromBits( in AppendBitField() local168 AppendPadding(PadSize); in AppendBitField()304 void ConstStructBuilder::AppendPadding(CharUnits PadSize) { in AppendPadding() argument305 if (PadSize.isZero()) in AppendPadding()309 if (PadSize > CharUnits::One()) in AppendPadding()310 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in AppendPadding()
2033 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct() local2035 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()2040 AP.OutStreamer->EmitZeros(PadSize); in emitGlobalConstantStruct()
60 llvm::Constant *getPadding(CharUnits PadSize) const { in getPadding()62 if (PadSize > CharUnits::One()) in getPadding()63 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in getPadding()
2509 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct() local2511 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()2516 AP.OutStreamer->EmitZeros(PadSize); in emitGlobalConstantStruct()
2647 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct() local2649 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()2654 AP.OutStreamer->emitZeros(PadSize); in emitGlobalConstantStruct()