Searched refs:StructSize (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp48 StructSize = 0;
58 if (!isAligned(TyAlign, StructSize)) {
60 StructSize = alignTo(StructSize, TyAlign);
66 MemberOffsets[i] = StructSize;
67 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item
72 if (!isAligned(StructAlignment, StructSize)) {
74 StructSize = alignTo(StructSize, StructAlignment);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h586 uint64_t StructSize; member in class:llvm::StructLayout
593 uint64_t getSizeInBytes() const { return StructSize; }
595 uint64_t getSizeInBits() const { return 8 * StructSize; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp86 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
353 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) argument
370 StructSize = MO.getImm();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp344 unsigned StructSize = 0; member in struct:__anon5514::PaddingCalculator
353 if ((StructSize & (TyAlign - 1)) != 0)
354 StructSize = alignTo(StructSize, TyAlign);
356 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item.
366 auto Natural = alignTo(StructSize, TyAlign);
367 auto Forced = alignTo(StructSize, ForcedAlignment);
371 return std::max(Natural, Forced) - StructSize;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1223 const uint64_t StructSize = SL->getSizeInBytes(); local
1227 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size,
1230 ((V2Off + V2Size <= StructSize) ||
1231 (V2Off + V2Size - StructSize <= V1Off));
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2667 Optional<int64_t> StructSize =
2670 return StructSize &&
2671 StructSize.getValue() == static_cast<int64_t>(getTypeSize(Ty));

Completed in 143 milliseconds