Home
last modified time | relevance | path

Searched refs:SrcElTy (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1760 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local
1776 while (SrcElTy != DstElTy && in visitBitCast()
1777 isa<CompositeType>(SrcElTy) && !SrcElTy->isPointerTy() && in visitBitCast()
1778 SrcElTy->getNumContainedTypes() /* not "{}" */) { in visitBitCast()
1779 SrcElTy = cast<CompositeType>(SrcElTy)->getTypeAtIndex(ZeroUInt); in visitBitCast()
1784 if (SrcElTy == DstElTy) { in visitBitCast()
DInstructionCombining.cpp1625 Type *SrcElTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local
1627 if (SrcElTy->isArrayTy() && in visitGetElementPtrInst()
1628 DL.getTypeAllocSize(SrcElTy->getArrayElementType()) == in visitGetElementPtrInst()
1647 if (ResElTy->isSized() && SrcElTy->isSized()) { in visitGetElementPtrInst()
1651 uint64_t SrcSize = DL.getTypeAllocSize(SrcElTy); in visitGetElementPtrInst()
1685 if (ResElTy->isSized() && SrcElTy->isSized() && SrcElTy->isArrayTy()) { in visitGetElementPtrInst()
1690 DL.getTypeAllocSize(SrcElTy->getArrayElementType()); in visitGetElementPtrInst()
1712 SrcElTy, StrippedPtr, Off, GEP.getName()) in visitGetElementPtrInst()
1713 : Builder->CreateGEP(SrcElTy, StrippedPtr, Off, in visitGetElementPtrInst()