Home
last modified time | relevance | path

Searched refs:SizeSoFar (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTrailingObjects.h194 size_t SizeSoFar, size_t Count1, in additionalSizeToAllocImpl() argument
197 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar) in additionalSizeToAllocImpl()
198 : SizeSoFar) + in additionalSizeToAllocImpl()
215 static constexpr size_t additionalSizeToAllocImpl(size_t SizeSoFar) { in additionalSizeToAllocImpl() argument
216 return SizeSoFar; in additionalSizeToAllocImpl()
/external/llvm/include/llvm/Support/
DTrailingObjects.h196 size_t SizeSoFar, size_t Count1,
200 ? llvm::alignTo(SizeSoFar, llvm::alignOf<NextTy>())
201 : SizeSoFar) +
217 static LLVM_CONSTEXPR size_t additionalSizeToAllocImpl(size_t SizeSoFar) {
218 return SizeSoFar;
/external/llvm-project/llvm/include/llvm/Support/
DTrailingObjects.h193 size_t SizeSoFar, size_t Count1, in additionalSizeToAllocImpl() argument
196 (requiresRealignment() ? llvm::alignTo<alignof(NextTy)>(SizeSoFar) in additionalSizeToAllocImpl()
197 : SizeSoFar) + in additionalSizeToAllocImpl()
214 static constexpr size_t additionalSizeToAllocImpl(size_t SizeSoFar) { in additionalSizeToAllocImpl() argument
215 return SizeSoFar; in additionalSizeToAllocImpl()
/external/llvm/lib/Object/
DArchiveWriter.cpp99 unsigned SizeSoFar = OS.tell() - OldPos; in printWithSpacePadding() local
100 if (Size > SizeSoFar) { in printWithSpacePadding()
101 OS.indent(Size - SizeSoFar); in printWithSpacePadding()
102 } else if (Size < SizeSoFar) { in printWithSpacePadding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchiveWriter.cpp119 unsigned SizeSoFar = OS.tell() - OldPos; in printWithSpacePadding() local
120 assert(SizeSoFar <= Size && "Data doesn't fit in Size"); in printWithSpacePadding()
121 OS.indent(Size - SizeSoFar); in printWithSpacePadding()
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp468 CharUnits SizeSoFar = CharUnits::Zero(); in buildFrom() local
471 CharUnits NaturalOffset = SizeSoFar.alignTo(Align); in buildFrom()
473 assert(DesiredOffset >= SizeSoFar && "elements out of order"); in buildFrom()
477 if (DesiredOffset != SizeSoFar) in buildFrom()
478 PackedElems.push_back(Utils.getPadding(DesiredOffset - SizeSoFar)); in buildFrom()
480 SizeSoFar = DesiredOffset + Utils.getSize(Elems[I]); in buildFrom()
485 assert((SizeSoFar <= DesiredSize || AllowOversized) && in buildFrom()
487 if (SizeSoFar < DesiredSize) in buildFrom()
488 PackedElems.push_back(Utils.getPadding(DesiredSize - SizeSoFar)); in buildFrom()
DCGDecl.cpp1025 unsigned SizeSoFar = 0; in constStructWithPadding() local
1030 if (SizeSoFar < CurOff) { in constStructWithPadding()
1032 auto *PadTy = llvm::ArrayType::get(Int8Ty, CurOff - SizeSoFar); in constStructWithPadding()
1044 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType()); in constStructWithPadding()
1047 if (SizeSoFar < TotalSize) { in constStructWithPadding()
1048 auto *PadTy = llvm::ArrayType::get(Int8Ty, TotalSize - SizeSoFar); in constStructWithPadding()
/external/llvm-project/llvm/lib/Object/
DArchiveWriter.cpp121 unsigned SizeSoFar = OS.tell() - OldPos; in printWithSpacePadding() local
122 assert(SizeSoFar <= Size && "Data doesn't fit in Size"); in printWithSpacePadding()
123 OS.indent(Size - SizeSoFar); in printWithSpacePadding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp459 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct() local
460 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp459 uint64_t SizeSoFar = Layout->getElementOffset(i); in fillConstantStruct() local
460 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2024 uint64_t SizeSoFar = 0; in emitGlobalConstantStruct() local
2029 emitGlobalConstantImpl(DL, Field, AP, BaseCV, Offset + SizeSoFar); in emitGlobalConstantStruct()
2035 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
2042 assert(SizeSoFar == Layout->getSizeInBytes() && in emitGlobalConstantStruct()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2500 uint64_t SizeSoFar = 0; in emitGlobalConstantStruct() local
2505 emitGlobalConstantImpl(DL, Field, AP, BaseCV, Offset + SizeSoFar); in emitGlobalConstantStruct()
2511 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
2518 assert(SizeSoFar == Layout->getSizeInBytes() && in emitGlobalConstantStruct()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2638 uint64_t SizeSoFar = 0; in emitGlobalConstantStruct() local
2643 emitGlobalConstantImpl(DL, Field, AP, BaseCV, Offset + SizeSoFar); in emitGlobalConstantStruct()
2649 SizeSoFar += FieldSize + PadSize; in emitGlobalConstantStruct()
2656 assert(SizeSoFar == Layout->getSizeInBytes() && in emitGlobalConstantStruct()