Lines Matching defs:ToTy
2762 /// Check if a bitcast between a value of type \p FromTy to type \p ToTy would
2764 /// symmetric, i.e swapping \p FromTy and \p ToTy should give the same result.
2770 Type *ToTy) {
2772 if (FromTy == ToTy)
2776 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) {
2777 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy);
2779 !DL.isNonIntegralPointerType(ToTy);
2796 Type *ToTy = To.getType();
2808 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy))
2813 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) {
2815 uint64_t ToBits = ToTy->getPrimitiveSizeInBits();