Searched refs:hiBitsSet (Results 1 – 2 of 2) sorted by relevance
518 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() argument519 assert(hiBitsSet <= numBits && "Too many bits to set!"); in getHighBitsSet()521 if (hiBitsSet == 0) in getHighBitsSet()523 unsigned shiftAmt = numBits - hiBitsSet; in getHighBitsSet()
652 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() argument654 Res.setHighBits(hiBitsSet); in getHighBitsSet()