Lines Matching refs:StructLayout
48 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) in StructLayout() function in StructLayout
92 unsigned StructLayout::getElementContainingOffset(uint64_t FixedOffset) const { in getElementContainingOffset()
686 using LayoutInfoTy = DenseMap<StructType*, StructLayout*>;
693 StructLayout *Value = I.second; in ~StructLayoutMap()
694 Value->~StructLayout(); in ~StructLayoutMap()
699 StructLayout *&operator[](StructType *STy) { in operator []()
720 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout()
725 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
730 StructLayout *L = (StructLayout *)safe_malloc( in getStructLayout()
731 StructLayout::totalSizeToAlloc<TypeSize>(Ty->getNumElements())); in getStructLayout()
737 new (L) StructLayout(Ty, *this); in getStructLayout()
809 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
934 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffsetInType()
983 const StructLayout *SL = getStructLayout(STy); in getGEPIndexForOffset()