Maybe Waffle
10270f4b44
Add pointer masking convenience functions
...
This commit adds the following functions all of which have a signature
`pointer, usize -> pointer`:
- `<*mut T>::mask`
- `<*const T>::mask`
- `intrinsics::ptr_mask`
These functions are equivalent to `.map_addr(|a| a & mask)` but they
utilize `llvm.ptrmask` llvm intrinsic.
*masks your pointers*
2022-08-21 05:27:14 +04:00
..
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-20 10:26:54 +00:00
2022-08-18 19:29:02 +01:00
2022-08-20 07:08:57 +02:00
2022-08-20 10:26:54 +00:00
2022-08-21 05:27:14 +04:00
2022-08-21 05:27:14 +04:00
2022-08-19 12:26:41 +05:30
2022-08-20 07:08:59 +02:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-20 07:09:03 +02:00
2022-08-19 12:26:40 +05:30
2022-08-20 10:26:54 +00:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-20 19:32:11 +02:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-19 15:31:25 +00:00
2022-08-20 19:32:11 +02:00
2022-08-19 12:26:40 +05:30
2022-08-19 12:26:43 +05:30
2022-08-20 10:26:54 +00:00
2022-08-18 19:29:02 +01:00
2022-08-20 07:09:03 +02:00
2022-08-19 12:26:44 +05:30
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-08-21 05:27:14 +04:00
2022-08-18 19:29:02 +01:00
2022-08-18 21:08:08 +01:00
2022-08-18 19:29:02 +01:00
2022-08-18 13:33:03 -04:00
2022-08-21 05:27:14 +04:00