Home
last modified time | relevance | path

Searched refs:StructSize (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp49 : StructSize(TypeSize::getFixed(0)) { in StructLayout()
58 StructSize = TypeSize::getScalable(0); in StructLayout()
69 if (!StructSize.isScalable() && !isAligned(TyAlign, StructSize)) { in StructLayout()
71 StructSize = TypeSize::getFixed(alignTo(StructSize, TyAlign)); in StructLayout()
77 getMemberOffsets()[i] = StructSize; in StructLayout()
79 StructSize += DL.getTypeAllocSize(Ty); in StructLayout()
84 if (!StructSize.isScalable() && !isAligned(StructAlignment, StructSize)) { in StructLayout()
86 StructSize = TypeSize::getFixed(alignTo(StructSize, StructAlignment)); in StructLayout()
93 assert(!StructSize.isScalable() && in getElementContainingOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h629 TypeSize StructSize; variable
635 TypeSize getSizeInBytes() const { return StructSize; } in getSizeInBytes()
637 TypeSize getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp83 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
366 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
389 StructSize = MO.getImm(); in needsUnimp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp177 uint64_t StructSize = 0; member in __anon408e6fe60211::FrameTypeBuilder
278 Offset = alignTo(StructSize, FieldAlignment); in addField()
279 StructSize = Offset + FieldSize; in addField()
296 return StructSize; in getStructSize()
479 StructSize = SizeAndAlign.first; in finish()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp203 unsigned StructSize = Ty->getNumContainedTypes(); in isStructOfMatchingFixedVectors() local
204 if (StructSize < 1) in isStructOfMatchingFixedVectors()
210 for (unsigned I = 1; I < StructSize; I++) { in isStructOfMatchingFixedVectors()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp3458 CharUnits StructSize = NewEntry->getSize(); in getASTRecordLayout() local
3459 if (static_cast<uint64_t>(StructSize.getQuantity()) >= MaxStructSizeInBytes) { in getASTRecordLayout()
H A DASTContext.cpp3055 std::optional<int64_t> StructSize = structHasUniqueObjectRepresentations( in hasUniqueObjectRepresentations() local
3058 return StructSize && *StructSize == static_cast<int64_t>(getTypeSize(Ty)); in hasUniqueObjectRepresentations()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3361 llvm::TypeSize StructSize = CGM.getDataLayout().getTypeAllocSize(STy); in EmitFunctionProlog() local
3364 if (StructSize.isScalable()) { in EmitFunctionProlog()
3368 assert(StructSize == PtrElementSize && in EmitFunctionProlog()
3383 uint64_t SrcSize = StructSize.getFixedValue(); in EmitFunctionProlog()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h3450 template <typename Struct, typename StructSize>