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-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/llvm-project/llvm/include/llvm/ADT/
DAPInt.h2203 inline double RoundAPIntToDouble(const APInt &APIVal) {
2204 return APIVal.roundToDouble();
2210 inline double RoundSignedAPIntToDouble(const APInt &APIVal) {
2211 return APIVal.signedRoundToDouble();
2215 inline float RoundAPIntToFloat(const APInt &APIVal) {
2216 return float(RoundAPIntToDouble(APIVal));
2222 inline float RoundSignedAPIntToFloat(const APInt &APIVal) {
2223 return float(APIVal.signedRoundToDouble());
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h2192 inline double RoundAPIntToDouble(const APInt &APIVal) { in RoundAPIntToDouble() argument
2193 return APIVal.roundToDouble(); in RoundAPIntToDouble()
2199 inline double RoundSignedAPIntToDouble(const APInt &APIVal) { in RoundSignedAPIntToDouble() argument
2200 return APIVal.signedRoundToDouble(); in RoundSignedAPIntToDouble()
2204 inline float RoundAPIntToFloat(const APInt &APIVal) { in RoundAPIntToFloat() argument
2205 return float(RoundAPIntToDouble(APIVal)); in RoundAPIntToFloat()
2211 inline float RoundSignedAPIntToFloat(const APInt &APIVal) { in RoundSignedAPIntToFloat() argument
2212 return float(APIVal.signedRoundToDouble()); in RoundSignedAPIntToFloat()