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()
324 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy;
332 StructLayout *Value = I->second; in ~StructLayoutMap()
333 Value->~StructLayout(); in ~StructLayoutMap()
338 StructLayout *&operator[](StructType *STy) { in operator []()
352 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { in getStructLayout()
357 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
363 StructLayout *L = in getStructLayout()
364 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t)); in getStructLayout()
370 new (L) StructLayout(Ty, *this); in getStructLayout()
466 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
549 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffset()