| 75 | |
| 76 | |
| 77 | void APInt::initSlowCase(uint64_t val, bool isSigned) { |
| 78 | U.pVal = getClearedMemory(getNumWords()); |
| 79 | U.pVal[0] = val; |
| 80 | if (isSigned && int64_t(val) < 0) |
| 81 | for (unsigned i = 1; i < getNumWords(); ++i) |
| 82 | U.pVal[i] = WORDTYPE_MAX; |
| 83 | clearUnusedBits(); |
| 84 | } |
| 85 | |
| 86 | void APInt::initSlowCase(const APInt& that) { |
| 87 | U.pVal = getMemory(getNumWords()); |
nothing calls this directly
no test coverage detected