Home
last modified time | relevance | path

Searched refs:StructSize (Results 1 – 7 of 7) 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.h623 TypeSize StructSize; variable
629 TypeSize getSizeInBytes() const { return StructSize; } in getSizeInBytes()
631 TypeSize getSizeInBits() const { return 8 * StructSize; } in getSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DDelaySlotFiller.cpp85 bool needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize);
353 bool Filler::needsUnimp(MachineBasicBlock::iterator I, unsigned &StructSize) in needsUnimp() argument
372 StructSize = MO.getImm(); in needsUnimp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp600 uint64_t StructSize = 0; member in __anon408e6fe60811::FrameTypeBuilder
701 Offset = alignTo(StructSize, FieldAlignment); in addField()
702 StructSize = Offset + FieldSize; in addField()
719 return StructSize; in getStructSize()
901 StructSize = SizeAndAlign.first; in finish()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3212 [[maybe_unused]] llvm::TypeSize StructSize = in EmitFunctionProlog() local
3217 assert(StructSize == PtrElementSize && in EmitFunctionProlog()
3236 llvm::TypeSize StructSize = CGM.getDataLayout().getTypeAllocSize(STy); in EmitFunctionProlog() local
3239 if (StructSize.isScalable()) { in EmitFunctionProlog()
3243 assert(StructSize == PtrElementSize && in EmitFunctionProlog()
3258 uint64_t SrcSize = StructSize.getFixedValue(); in EmitFunctionProlog()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2869 std::optional<int64_t> StructSize = structHasUniqueObjectRepresentations( in hasUniqueObjectRepresentations() local
2872 return StructSize && *StructSize == static_cast<int64_t>(getTypeSize(Ty)); in hasUniqueObjectRepresentations()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h3272 template <typename Struct, typename StructSize>