Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Ty

732 Type *InstCombiner::FindElementAtOffset(Type *Ty, int64_t Offset, 
735 if (!Ty->isSized()) return 0;
740 Type *IntPtrTy = TD->getIntPtrType(Ty->getContext());
742 if (int64_t TySize = TD->getTypeAllocSize(Ty)) {
760 if (uint64_t(Offset*8) >= TD->getTypeSizeInBits(Ty))
763 if (StructType *STy = dyn_cast<StructType>(Ty)) {
769 NewIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ty->getContext()),
773 Ty = STy->getElementType(Elt);
774 } else if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
779 Ty = AT->getElementType();
786 return Ty;