Searched refs:SrcElTy (Results 1 – 6 of 6) sorted by relevance
1663 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local1684 while (SrcElTy != DstElTy && in visitBitCast()1685 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()1686 SrcElTy->getNumContainedTypes() /* not "{}" */) { in visitBitCast()1687 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(ZeroUInt); in visitBitCast()1692 if (SrcElTy == DstElTy) { in visitBitCast()
959 Type *SrcElTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local961 if (TD && SrcElTy->isArrayTy() && in visitGetElementPtrInst()962 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType()) == in visitGetElementPtrInst()979 if (TD && SrcElTy->isArrayTy() && ResElTy->isIntegerTy(8)) { in visitGetElementPtrInst()981 TD->getTypeAllocSize(cast<ArrayType>(SrcElTy)->getElementType()); in visitGetElementPtrInst()
1807 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local1828 while (SrcElTy != DstElTy && in visitBitCast()1829 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()1830 SrcElTy->getNumContainedTypes() /* not "{}" */) { in visitBitCast()1831 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(0U); in visitBitCast()1836 if (SrcElTy == DstElTy) { in visitBitCast()
1685 Type *SrcElTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local1687 if (SrcElTy->isArrayTy() && in visitGetElementPtrInst()1688 DL.getTypeAllocSize(SrcElTy->getArrayElementType()) == in visitGetElementPtrInst()1707 if (ResElTy->isSized() && SrcElTy->isSized()) { in visitGetElementPtrInst()1711 uint64_t SrcSize = DL.getTypeAllocSize(SrcElTy); in visitGetElementPtrInst()1745 if (ResElTy->isSized() && SrcElTy->isSized() && SrcElTy->isArrayTy()) { in visitGetElementPtrInst()1750 DL.getTypeAllocSize(SrcElTy->getArrayElementType()); in visitGetElementPtrInst()1772 SrcElTy, StrippedPtr, Off, GEP.getName()) in visitGetElementPtrInst()1773 : Builder->CreateGEP(SrcElTy, StrippedPtr, Off, in visitGetElementPtrInst()
2244 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local2248 if ((DstElTy == SrcElTy) && in visitBitCast()2271 while (SrcElTy != DstElTy && in visitBitCast()2272 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()2273 SrcElTy->getNumContainedTypes() /* not "{}" */) { in visitBitCast()2274 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(0U); in visitBitCast()2279 if (SrcElTy == DstElTy) { in visitBitCast()
1009 LLT SrcElTy = SrcTy.isVector() ? SrcTy.getElementType() : SrcTy; in visitMachineInstrBefore() local1010 if (DstElTy.isPointer() || SrcElTy.isPointer()) in visitMachineInstrBefore()1026 unsigned SrcSize = SrcElTy.getSizeInBits(); in visitMachineInstrBefore()