Home | History | Annotate | Download | only in IR

Lines Matching defs:StructLayout

37 // Support for StructLayout
40 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) {
79 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const {
524 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy;
531 StructLayout *Value = I.second;
532 Value->~StructLayout();
537 StructLayout *&operator[](StructType *STy) {
556 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
561 StructLayout *&SL = (*STM)[Ty];
567 StructLayout *L =
568 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
570 // Set SL before calling StructLayout's ctor. The ctor could cause other
574 new (L) StructLayout(Ty, *this);
650 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty));
743 const StructLayout *Layout = getStructLayout(STy);