Home | History | Annotate | Download | only in Target

Lines Matching refs:StructLayout

41 // Support for StructLayout
44 StructLayout::StructLayout(StructType *ST, const TargetData &TD) {
78 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const {
324 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy;
332 StructLayout *Value = I->second;
333 Value->~StructLayout();
338 StructLayout *&operator[](StructType *STy) {
352 const StructLayout *TargetData::getStructLayout(StructType *Ty) const {
357 StructLayout *&SL = (*STM)[Ty];
363 StructLayout *L =
364 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
366 // Set SL before calling StructLayout's ctor. The ctor could cause other
370 new (L) StructLayout(Ty, *this);
466 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty));
549 const StructLayout *Layout = getStructLayout(STy);