Searched refs:SizeSoFar (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TrailingObjects.h | 177 size_t SizeSoFar, size_t Count1, in additionalSizeToAllocImpl() argument 180 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar) in additionalSizeToAllocImpl() 181 : SizeSoFar) + in additionalSizeToAllocImpl() 198 static constexpr size_t additionalSizeToAllocImpl(size_t SizeSoFar) { in additionalSizeToAllocImpl() argument 199 return SizeSoFar; in additionalSizeToAllocImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 489 CharUnits SizeSoFar = CharUnits::Zero(); in buildFrom() local 492 CharUnits NaturalOffset = SizeSoFar.alignTo(Align); in buildFrom() 494 assert(DesiredOffset >= SizeSoFar && "elements out of order"); in buildFrom() 498 if (DesiredOffset != SizeSoFar) in buildFrom() 499 PackedElems.push_back(Utils.getPadding(DesiredOffset - SizeSoFar)); in buildFrom() 501 SizeSoFar = DesiredOffset + Utils.getSize(Elems[I]); in buildFrom() 506 assert(SizeSoFar <= DesiredSize && in buildFrom() 508 if (SizeSoFar < DesiredSize) in buildFrom() 509 PackedElems.push_back(Utils.getPadding(DesiredSize - SizeSoFar)); in buildFrom() 603 CharUnits &SizeSoFar, bool &ZeroFieldSize); [all …]
|
| H A D | CGDecl.cpp | 1055 unsigned SizeSoFar = 0; in constStructWithPadding() local 1060 if (SizeSoFar < CurOff) { in constStructWithPadding() 1062 auto *PadTy = llvm::ArrayType::get(Int8Ty, CurOff - SizeSoFar); in constStructWithPadding() 1074 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType()); in constStructWithPadding() 1077 if (SizeSoFar < TotalSize) { in constStructWithPadding() 1078 auto *PadTy = llvm::ArrayType::get(Int8Ty, TotalSize - SizeSoFar); in constStructWithPadding()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 452 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct() local 453 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3824 uint64_t SizeSoFar = 0; in emitGlobalConstantStruct() local 3829 emitGlobalConstantImpl(DL, Field, AP, BaseCV, Offset + SizeSoFar, in emitGlobalConstantStruct() 3837 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct() 3844 assert(SizeSoFar == Layout->getSizeInBytes() && in emitGlobalConstantStruct() 4061 uint64_t SizeSoFar = 0; in emitGlobalConstantImpl() local 4063 uint64_t GapToNext = Layout->getElementOffset(i + 1) - SizeSoFar; in emitGlobalConstantImpl() 4065 SizeSoFar += GapToNext; in emitGlobalConstantImpl() 4066 emitGlobalAliasInline(AP, Offset + SizeSoFar, AliasList); in emitGlobalConstantImpl() 4068 AP.OutStreamer->emitZeros(Size - SizeSoFar); in emitGlobalConstantImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ArchiveWriter.cpp | 171 unsigned SizeSoFar = OS.tell() - OldPos; in printWithSpacePadding() local 172 assert(SizeSoFar <= Size && "Data doesn't fit in Size"); in printWithSpacePadding() 173 OS.indent(Size - SizeSoFar); in printWithSpacePadding()
|