MCPcopy Create free account
hub / github.com/ablab/spades / initSlowCase

Method initSlowCase

ext/src/llvm/APInt.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77void 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
86void APInt::initSlowCase(const APInt& that) {
87 U.pVal = getMemory(getNumWords());

Callers

nothing calls this directly

Calls 3

getClearedMemoryFunction · 0.85
getNumWordsFunction · 0.85
getMemoryFunction · 0.85

Tested by

no test coverage detected