| 228 | } |
| 229 | |
| 230 | APInt APInt::operator*(const APInt& RHS) const { |
| 231 | assert(BitWidth == RHS.BitWidth && "Bit widths must be the same"); |
| 232 | if (isSingleWord()) |
| 233 | return APInt(BitWidth, U.VAL * RHS.U.VAL); |
| 234 | |
| 235 | APInt Result(getMemory(getNumWords()), getBitWidth()); |
| 236 | |
| 237 | tcMultiply(Result.U.pVal, U.pVal, RHS.U.pVal, getNumWords()); |
| 238 | |
| 239 | Result.clearUnusedBits(); |
| 240 | return Result; |
| 241 | } |
| 242 | |
| 243 | void APInt::AndAssignSlowCase(const APInt& RHS) { |
| 244 | tcAnd(U.pVal, RHS.U.pVal, getNumWords()); |
nothing calls this directly
no test coverage detected