| 4129 | } |
| 4130 | |
| 4131 | optional<uint64_t> PtrMask::getExactAlign() const { |
| 4132 | if (auto n = getInt(*mask)) { |
| 4133 | uint64_t align = -*n; |
| 4134 | if (is_power2(align)) |
| 4135 | return align; |
| 4136 | } |
| 4137 | return {}; |
| 4138 | } |
| 4139 | |
| 4140 | vector<Value*> PtrMask::operands() const { |
| 4141 | return { ptr, mask }; |
no test coverage detected