Lines Matching refs:StructLayout
40 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) { in StructLayout() function in StructLayout
79 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const { in getElementContainingOffset()
524 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy;
531 StructLayout *Value = I.second; in ~StructLayoutMap()
532 Value->~StructLayout(); in ~StructLayoutMap()
537 StructLayout *&operator[](StructType *STy) { in operator []()
556 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout()
561 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
567 StructLayout *L = in getStructLayout()
568 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t)); in getStructLayout()
574 new (L) StructLayout(Ty, *this); in getStructLayout()
650 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); in getAlignment()
743 const StructLayout *Layout = getStructLayout(STy); in getIndexedOffsetInType()