Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1663 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local
1684 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()
DInstructionCombining.cpp959 Type *SrcElTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local
961 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1807 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local
1828 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()
DInstructionCombining.cpp1685 Type *SrcElTy = StrippedPtrTy->getElementType(); in visitGetElementPtrInst() local
1687 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2244 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast() local
2248 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1009 LLT SrcElTy = SrcTy.isVector() ? SrcTy.getElementType() : SrcTy; in visitMachineInstrBefore() local
1010 if (DstElTy.isPointer() || SrcElTy.isPointer()) in visitMachineInstrBefore()
1026 unsigned SrcSize = SrcElTy.getSizeInBits(); in visitMachineInstrBefore()