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 alignas() 199 return SizeSoFar; in alignas()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 456 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct() local 457 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 482 CharUnits SizeSoFar = CharUnits::Zero(); in buildFrom() local 485 CharUnits NaturalOffset = SizeSoFar.alignTo(Align); in buildFrom() 487 assert(DesiredOffset >= SizeSoFar && "elements out of order"); in buildFrom() 491 if (DesiredOffset != SizeSoFar) in buildFrom() 492 PackedElems.push_back(Utils.getPadding(DesiredOffset - SizeSoFar)); in buildFrom() 494 SizeSoFar = DesiredOffset + Utils.getSize(Elems[I]); in buildFrom() 499 assert(SizeSoFar <= DesiredSize && in buildFrom() 501 if (SizeSoFar < DesiredSize) in buildFrom() 502 PackedElems.push_back(Utils.getPadding(DesiredSize - SizeSoFar)); in buildFrom()
|
H A D | CGDecl.cpp | 1063 unsigned SizeSoFar = 0; in constStructWithPadding() local 1068 if (SizeSoFar < CurOff) { in constStructWithPadding() 1070 auto *PadTy = llvm::ArrayType::get(Int8Ty, CurOff - SizeSoFar); in constStructWithPadding() 1082 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType()); in constStructWithPadding() 1085 if (SizeSoFar < TotalSize) { in constStructWithPadding() 1086 auto *PadTy = llvm::ArrayType::get(Int8Ty, TotalSize - SizeSoFar); in constStructWithPadding()
|
/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()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 3473 uint64_t SizeSoFar = 0; in emitGlobalConstantStruct() local 3478 emitGlobalConstantImpl(DL, Field, AP, BaseCV, Offset + SizeSoFar, in emitGlobalConstantStruct() 3486 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct() 3493 assert(SizeSoFar == Layout->getSizeInBytes() && in emitGlobalConstantStruct()
|