| 510 | } |
| 511 | |
| 512 | SVInt SVInt::shl(const SVInt& rhs) const { |
| 513 | // if the shift amount is unknown, result is all X's |
| 514 | if (rhs.hasUnknown()) |
| 515 | return createFillX(bitWidth, signFlag); |
| 516 | |
| 517 | return shl(rhs.unsignedAmount()); |
| 518 | } |
| 519 | |
| 520 | SVInt SVInt::shl(bitwidth_t amount) const { |
| 521 | // handle trivial cases |
no test coverage detected