Files
rust/compiler/rustc_codegen_llvm/src
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-14 13:46:51 -07:00
2022-07-06 06:41:53 +01:00
2022-08-12 16:28:15 -04:00
2022-07-06 06:41:53 +01:00
2022-07-06 06:41:53 +01:00
2022-02-24 12:18:21 +01:00