reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
705 assert(Ty->isSized() && "Cannot getTypeInfo() on a type that is unsized!"); 706 switch (Ty->getTypeID()) { 711 unsigned AS = cast<PointerType>(Ty)->getAddressSpace(); 716 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); 720 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) 724 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); 725 const Align Align = getAlignmentInfo(AGGREGATE_ALIGN, 0, abi_or_pref, Ty); 751 return getAlignmentInfo(AlignType, getTypeSizeInBits(Ty).getKnownMinSize(), 752 abi_or_pref, Ty);