Lines Matching refs:StructLayout
44 StructLayout::StructLayout(StructType *ST, const TargetData &TD) { in StructLayout() function in StructLayout
78 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const { in getElementContainingOffset()
318 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy;
326 StructLayout *Value = I->second; in ~StructLayoutMap()
327 Value->~StructLayout(); in ~StructLayoutMap()
332 StructLayout *&operator[](StructType *STy) { in operator []()
346 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { in getStructLayout()
351 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
357 StructLayout *L = in getStructLayout()
358 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t)); in getStructLayout()
364 new (L) StructLayout(Ty, *this); in getStructLayout()
458 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
541 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffset()