Lines Matching defs:ToTy
2696 /// Check if a bitcast between a value of type \p FromTy to type \p ToTy would
2698 /// symmetric, i.e swapping \p FromTy and \p ToTy should give the same result.
2704 Type *ToTy) {
2706 if (FromTy == ToTy)
2710 if (FromTy->isIntOrPtrTy() && ToTy->isIntOrPtrTy()) {
2711 bool SameSize = DL.getTypeSizeInBits(FromTy) == DL.getTypeSizeInBits(ToTy);
2713 !DL.isNonIntegralPointerType(ToTy);
2730 Type *ToTy = To.getType();
2742 if (isBitCastSemanticsPreserving(DL, FromTy, ToTy))
2747 if (FromTy->isIntegerTy() && ToTy->isIntegerTy()) {
2749 uint64_t ToBits = ToTy->getPrimitiveSizeInBits();