getSOImmTwoPartSecond - If V is a value that satisfies isSOImmTwoPartVal, return the second chunk of it.
| 222 | /// getSOImmTwoPartSecond - If V is a value that satisfies isSOImmTwoPartVal, |
| 223 | /// return the second chunk of it. |
| 224 | static inline unsigned getSOImmTwoPartSecond(unsigned V) |
| 225 | { |
| 226 | // Mask out the first hunk. |
| 227 | V = rotr32(~255U, getSOImmValRotate(V)) & V; |
| 228 | |
| 229 | // Take what's left. |
| 230 | //assert(V == (rotr32(255U, getSOImmValRotate(V)) & V)); |
| 231 | return V; |
| 232 | } |
| 233 | |
| 234 | /// getThumbImmValShift - Try to handle Imm with a 8-bit immediate followed |
| 235 | /// by a left shift. Returns the shift amount to use. |
nothing calls this directly
no test coverage detected
searching dependent graphs…