Home
last modified time | relevance | path

Searched refs:APIVal (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/ADT/
DAPInt.h1776 inline bool isIntN(unsigned N, const APInt &APIVal) { return APIVal.isIntN(N); } in isIntN() argument
1779 inline bool isSignedIntN(unsigned N, const APInt &APIVal) { in isSignedIntN() argument
1780 return APIVal.isSignedIntN(N); in isSignedIntN()
1785 inline bool isMask(unsigned numBits, const APInt &APIVal) { in isMask() argument
1786 return numBits <= APIVal.getBitWidth() && in isMask()
1787 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
1799 inline bool isShiftedMask(unsigned numBits, const APInt &APIVal) { in isShiftedMask() argument
1800 return isMask(numBits, (APIVal - APInt(numBits, 1)) | APIVal); in isShiftedMask()
1804 inline APInt byteSwap(const APInt &APIVal) { return APIVal.byteSwap(); } in byteSwap() argument
1807 inline unsigned logBase2(const APInt &APIVal) { return APIVal.logBase2(); } in logBase2() argument
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1574 inline bool isIntN(unsigned N, const APInt& APIVal) { in isIntN() argument
1575 return APIVal.isIntN(N); in isIntN()
1579 inline bool isSignedIntN(unsigned N, const APInt& APIVal) { in isSignedIntN() argument
1580 return APIVal.isSignedIntN(N); in isSignedIntN()
1585 inline bool isMask(unsigned numBits, const APInt& APIVal) { in isMask() argument
1586 return numBits <= APIVal.getBitWidth() && in isMask()
1587 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
1592 inline bool isShiftedMask(unsigned numBits, const APInt& APIVal) { in isShiftedMask() argument
1593 return isMask(numBits, (APIVal - APInt(numBits,1)) | APIVal); in isShiftedMask()
1597 inline APInt byteSwap(const APInt& APIVal) { in byteSwap() argument
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1803 inline bool isIntN(unsigned N, const APInt &APIVal) { return APIVal.isIntN(N); } in isIntN() argument
1806 inline bool isSignedIntN(unsigned N, const APInt &APIVal) { in isSignedIntN() argument
1807 return APIVal.isSignedIntN(N); in isSignedIntN()
1812 inline bool isMask(unsigned numBits, const APInt &APIVal) { in isMask() argument
1813 return numBits <= APIVal.getBitWidth() && in isMask()
1814 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
1826 inline bool isShiftedMask(unsigned numBits, const APInt &APIVal) { in isShiftedMask() argument
1827 return isMask(numBits, (APIVal - APInt(numBits, 1)) | APIVal); in isShiftedMask()
1831 inline APInt byteSwap(const APInt &APIVal) { return APIVal.byteSwap(); } in byteSwap() argument
1834 inline unsigned logBase2(const APInt &APIVal) { return APIVal.logBase2(); } in logBase2() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h2128 inline double RoundAPIntToDouble(const APInt &APIVal) { in RoundAPIntToDouble() argument
2129 return APIVal.roundToDouble(); in RoundAPIntToDouble()
2135 inline double RoundSignedAPIntToDouble(const APInt &APIVal) { in RoundSignedAPIntToDouble() argument
2136 return APIVal.signedRoundToDouble(); in RoundSignedAPIntToDouble()
2140 inline float RoundAPIntToFloat(const APInt &APIVal) { in RoundAPIntToFloat() argument
2141 return float(RoundAPIntToDouble(APIVal)); in RoundAPIntToFloat()
2147 inline float RoundSignedAPIntToFloat(const APInt &APIVal) { in RoundSignedAPIntToFloat() argument
2148 return float(APIVal.signedRoundToDouble()); in RoundSignedAPIntToFloat()