Searched refs:StructSize (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 49 StructSize = 0; in StructLayout() 59 if ((StructSize & (TyAlign-1)) != 0) { in StructLayout() 61 StructSize = alignTo(StructSize, TyAlign); in StructLayout() 67 MemberOffsets[i] = StructSize; in StructLayout() 68 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item in StructLayout() 76 if ((StructSize & (StructAlignment-1)) != 0) { in StructLayout() 78 StructSize = alignTo(StructSize, StructAlignment); in StructLayout()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 321 unsigned StructSize = 0; member 330 if ((StructSize & (TyAlign - 1)) != 0) in addType() 331 StructSize = alignTo(StructSize, TyAlign); in addType() 333 StructSize += DL.getTypeAllocSize(Ty); // Consume space for this data item. in addType() 343 auto Natural = alignTo(StructSize, TyAlign); in computePadding() 344 auto Forced = alignTo(StructSize, ForcedAlignment); in computePadding() 348 return std::max(Natural, Forced) - StructSize; in computePadding()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 530 uint64_t StructSize; variable 537 uint64_t getSizeInBytes() const { return StructSize; } in getSizeInBytes() 539 uint64_t getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | DelaySlotFiller.cpp | 87 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize); 354 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument 371 StructSize = MO.getImm(); in needsUnimp()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 1181 const uint64_t StructSize = SL->getSizeInBytes(); in aliasSameBasePointerGEPs() local 1185 auto EltsDontOverlap = [StructSize](uint64_t V1Off, uint64_t V1Size, in aliasSameBasePointerGEPs() 1188 ((V2Off + V2Size <= StructSize) || in aliasSameBasePointerGEPs() 1189 (V2Off + V2Size - StructSize <= V1Off)); in aliasSameBasePointerGEPs()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 2454 Optional<int64_t> StructSize = in hasUniqueObjectRepresentations() local 2457 return StructSize && in hasUniqueObjectRepresentations() 2458 StructSize.getValue() == static_cast<int64_t>(getTypeSize(Ty)); in hasUniqueObjectRepresentations()
|