Lines Matching refs:StructLayout
47 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) { in StructLayout() function in StructLayout
82 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const { in getElementContainingOffset()
639 using LayoutInfoTy = DenseMap<StructType*, StructLayout*>;
646 StructLayout *Value = I.second; in ~StructLayoutMap()
647 Value->~StructLayout(); in ~StructLayoutMap()
652 StructLayout *&operator[](StructType *STy) { in operator []()
671 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout()
676 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
681 StructLayout *L = (StructLayout *)safe_malloc( in getStructLayout()
682 StructLayout::totalSizeToAlloc<uint64_t>(Ty->getNumElements())); in getStructLayout()
688 new (L) StructLayout(Ty, *this); in getStructLayout()
759 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
889 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffsetInType()