Lines Matching refs:SL
715 const StructLayout *SL = DL.getStructLayout(STy); in visitGetElementPtrInst() local
717 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
1661 const StructLayout *SL = DL.getStructLayout(STy); in getNaturalGEPRecursively() local
1663 if (StructOffset >= SL->getSizeInBytes()) in getNaturalGEPRecursively()
1665 unsigned Index = SL->getElementContainingOffset(StructOffset); in getNaturalGEPRecursively()
1666 Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index)); in getNaturalGEPRecursively()
3398 const StructLayout *SL = DL.getStructLayout(STy); in stripAggregateTypeWrapping() local
3399 unsigned Index = SL->getElementContainingOffset(0); in stripAggregateTypeWrapping()
3473 const StructLayout *SL = DL.getStructLayout(STy); in getTypePartition() local
3474 if (Offset >= SL->getSizeInBytes()) in getTypePartition()
3477 if (EndOffset > SL->getSizeInBytes()) in getTypePartition()
3480 unsigned Index = SL->getElementContainingOffset(Offset); in getTypePartition()
3481 Offset -= SL->getElementOffset(Index); in getTypePartition()
3501 if (EndOffset < SL->getSizeInBytes()) { in getTypePartition()
3502 unsigned EndIndex = SL->getElementContainingOffset(EndOffset); in getTypePartition()
3510 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()