Home
last modified time | relevance | path

Searched refs:PadSize (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp1813 unsigned PadSize = getSizeInBits() - UnpaddedSize; in FinishLayout() local
1815 if (PadSize % CharBitNum == 0) { in FinishLayout()
1816 PadSize = PadSize / CharBitNum; in FinishLayout()
1821 << PadSize in FinishLayout()
1822 << (InBits ? 1 : 0) /*(byte|bit)*/ << (PadSize > 1); // plural or not in FinishLayout()
1907 unsigned PadSize = Offset - UnpaddedOffset; in CheckFieldPadding() local
1909 if (PadSize % CharBitNum == 0) { in CheckFieldPadding()
1910 PadSize = PadSize / CharBitNum; in CheckFieldPadding()
1917 << PadSize in CheckFieldPadding()
1918 << (InBits ? 1 : 0) /*(byte|bit)*/ << (PadSize > 1) // plural or not in CheckFieldPadding()
[all …]
/external/clang/lib/CodeGen/
DCGExprConstant.cpp64 void AppendPadding(CharUnits PadSize);
148 CharUnits PadSize = Context.toCharUnitsFromBits( in AppendBitField() local
152 AppendPadding(PadSize); in AppendBitField()
288 void ConstStructBuilder::AppendPadding(CharUnits PadSize) { in AppendPadding() argument
289 if (PadSize.isZero()) in AppendPadding()
293 if (PadSize > CharUnits::One()) in AppendPadding()
294 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in AppendPadding()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1843 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1)) in emitGlobalConstantStruct() local
1845 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
1853 AP.OutStreamer.EmitZeros(PadSize); in emitGlobalConstantStruct()