Lines Matching refs:ToTy
1835 /// Check if a bitcast between a value of type \p FromTy to type \p ToTy would
1837 /// symmetric, i.e swapping \p FromTy and \p ToTy should give the same result.
1843 Type *ToTy) {
1845 if (FromTy == ToTy)
1849 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) {
1850 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy);
1852 !DL.isNonIntegralPointerType(ToTy);
1869 Type *ToTy = To.getType();
1878 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy))
1883 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) {
1885 uint64_t ToBits = ToTy->getPrimitiveSizeInBits();