Home
last modified time | relevance | path

Searched refs:is_signed (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp125 bool is_signed, Process *process, in ReadIntegerArgument() argument
169 bool is_signed; in GetArgumentValues() local
170 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
198 bool is_signed; in SetReturnValueObject() local
205 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
273 bool is_signed; in GetReturnValueObjectImpl() local
275 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
298 if (is_signed) in GetReturnValueObjectImpl()
304 if (is_signed) in GetReturnValueObjectImpl()
314 if (is_signed) in GetReturnValueObjectImpl()
[all …]
H A DABIWindows_x86_64.cpp216 if (is_signed) in ReadIntegerArgument()
279 bool is_signed; in GetArgumentValues() local
281 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
311 bool is_signed; in SetReturnValueObject() local
318 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
428 if (is_signed) in GetReturnValueObjectSimple()
436 if (is_signed) in GetReturnValueObjectSimple()
444 if (is_signed) in GetReturnValueObjectSimple()
452 if (is_signed) in GetReturnValueObjectSimple()
555 bool is_signed; in FlattenAggregateType() local
[all …]
H A DABISysV_x86_64.cpp200 if (is_signed) in ReadIntegerArgument()
272 bool is_signed; in GetArgumentValues() local
304 bool is_signed; in SetReturnValueObject() local
420 if (is_signed) in GetReturnValueObjectSimple()
428 if (is_signed) in GetReturnValueObjectSimple()
436 if (is_signed) in GetReturnValueObjectSimple()
444 if (is_signed) in GetReturnValueObjectSimple()
582 bool is_signed; in FlattenAggregateType() local
690 bool is_signed; in GetReturnValueObjectImpl() local
757 is_signed)) { in GetReturnValueObjectImpl()
[all …]
H A DABISysV_i386.cpp144 bool is_signed, Process *process, in ReadIntegerArgument() argument
153 is_signed, scalar, error)) { in ReadIntegerArgument()
186 bool is_signed; in GetArgumentValues() local
187 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
188 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
397 const bool is_signed = ((type_flags & eTypeIsSigned) != 0); in GetReturnValueObjectSimple() local
416 if (is_signed) in GetReturnValueObjectSimple()
424 if (is_signed) in GetReturnValueObjectSimple()
432 if (is_signed) in GetReturnValueObjectSimple()
440 if (is_signed) in GetReturnValueObjectSimple()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp323 if (is_signed) in ReadIntegerArgument()
400 bool is_signed; in GetArgumentValues() local
401 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
430 bool is_signed; in SetReturnValueObject() local
541 if (is_signed) in GetReturnValueObjectSimple()
549 if (is_signed) in GetReturnValueObjectSimple()
557 if (is_signed) in GetReturnValueObjectSimple()
565 if (is_signed) in GetReturnValueObjectSimple()
697 bool is_signed; in GetReturnValueObjectImpl() local
770 is_signed)) in GetReturnValueObjectImpl()
[all …]
H A DABISysV_ppc64.cpp199 bool is_signed, Thread &thread, in ReadIntegerArgument() argument
210 if (is_signed) in ReadIntegerArgument()
276 bool is_signed; in GetArgumentValues() local
278 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
308 bool is_signed; in SetReturnValueObject() local
315 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
595 bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetIntegerValue() local
599 if (is_signed) in GetIntegerValue()
606 if (is_signed) in GetIntegerValue()
613 if (is_signed) in GetIntegerValue()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp328 bool is_signed = false; in SetReturnValueObject() local
329 if (!compiler_type.IsIntegerOrEnumerationType(is_signed) && in SetReturnValueObject()
377 void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { in SetInteger() argument
379 if (is_signed) in SetInteger()
386 bool is_signed) { in SetSizedInteger() argument
392 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger()
396 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger()
400 SetInteger<uint16_t>(scalar, raw_value, is_signed); in SetSizedInteger()
404 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
465 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp281 bool is_signed, Thread &thread, in ReadIntegerArgument() argument
292 if (is_signed) in ReadIntegerArgument()
361 bool is_signed; in GetArgumentValues() local
363 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
393 bool is_signed; in SetReturnValueObject() local
400 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
501 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectSimple() local
507 if (is_signed) in GetReturnValueObjectSimple()
515 if (is_signed) in GetReturnValueObjectSimple()
523 if (is_signed) in GetReturnValueObjectSimple()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DCheckedArithmetic.h47 std::enable_if_t<std::is_signed<T>::value, llvm::Optional<T>>
56 std::enable_if_t<std::is_signed<T>::value, llvm::Optional<T>>
65 std::enable_if_t<std::is_signed<T>::value, llvm::Optional<T>>
74 std::enable_if_t<std::is_signed<T>::value, llvm::Optional<T>>
H A DScaledNumber.h54 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getRounded()
81 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned");
115 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getProduct()
154 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getQuotient()
189 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getLgImpl()
252 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in compare()
288 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in matchScales()
334 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getSum()
374 static_assert(!std::numeric_limits<DigitsT>::is_signed, "expected unsigned"); in getDifference()
494 static_assert(!std::numeric_limits<DigitsT>::is_signed,
H A DMathExtras.h158 !std::numeric_limits<T>::is_signed,
227 !std::numeric_limits<T>::is_signed,
511 !std::numeric_limits<T>::is_signed,
527 !std::numeric_limits<T>::is_signed,
569 !std::numeric_limits<T>::is_signed,
884 std::enable_if_t<std::is_signed<T>::value, T> AddOverflow(T X, T Y, T &Result) {
910 std::enable_if_t<std::is_signed<T>::value, T> SubOverflow(T X, T Y, T &Result) {
936 std::enable_if_t<std::is_signed<T>::value, T> MulOverflow(T X, T Y, T &Result) {
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h643 #define is_signed(datatype) (((datatype)-1 / (datatype)2) == (datatype)0) macro
650 (sizeof(datatype) >= 8) ? (is_signed(datatype) ? INT64_MAX : UINT64_MAX) : \
651 (sizeof(datatype) >= 4) ? (is_signed(datatype) ? INT32_MAX : UINT32_MAX) : \
652 (sizeof(datatype) >= 2) ? (is_signed(datatype) ? INT16_MAX : UINT16_MAX) : \
653 (is_signed(datatype) ? INT8_MAX : UINT8_MAX) \
662 (sizeof(datatype) >= 8) ? (is_signed(datatype) ? INT64_MIN : 0) : \
663 (sizeof(datatype) >= 4) ? (is_signed(datatype) ? INT32_MIN : 0) : \
664 (sizeof(datatype) >= 2) ? (is_signed(datatype) ? INT16_MIN : 0) : \
665 (is_signed(datatype) ? INT8_MIN : 0) \
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp116 bool is_signed, unsigned radix) { in DumpAPInt() argument
119 std::string apint_str = toString(apint.getValue(), radix, is_signed); in DumpAPInt()
343 const bool is_signed = false; in DumpDataExtractor() local
345 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
403 const bool is_signed = true; in DumpDataExtractor() local
405 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
415 const bool is_signed = false; in DumpDataExtractor() local
417 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
427 const bool is_signed = false; in DumpDataExtractor() local
429 offset = DumpAPInt(s, DE, offset, item_byte_size, is_signed, radix); in DumpDataExtractor()
/freebsd-13.1/sys/ddb/
H A Ddb_access.c56 db_get_value(db_addr_t addr, int size, bool is_signed) in db_get_value() argument
79 if (is_signed && (value & db_extend[size]) != 0) in db_get_value()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp147 bool is_signed = false; in GetArgumentValues() local
149 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
200 if (is_signed) in GetArgumentValues()
220 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
670 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
712 if (is_signed) in GetReturnValueObjectImpl()
720 if (is_signed) in GetReturnValueObjectImpl()
728 if (is_signed) in GetReturnValueObjectImpl()
736 if (is_signed) in GetReturnValueObjectImpl()
H A DABISysV_arm64.cpp146 bool is_signed = false; in GetArgumentValues() local
151 if (value_type.IsIntegerOrEnumerationType(is_signed)) { in GetArgumentValues()
171 if (is_signed) in GetArgumentValues()
192 sp, arg_byte_size, is_signed, value->GetScalar(), error)) in GetArgumentValues()
639 const bool is_signed = (type_flags & eTypeIsSigned) != 0; in GetReturnValueObjectImpl() local
682 if (is_signed) in GetReturnValueObjectImpl()
690 if (is_signed) in GetReturnValueObjectImpl()
698 if (is_signed) in GetReturnValueObjectImpl()
706 if (is_signed) in GetReturnValueObjectImpl()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dlimits31 static constexpr bool is_signed = false;
156 static _LIBCPP_CONSTEXPR const bool is_signed = false;
260 static _LIBCPP_CONSTEXPR const bool is_signed = false;
308 static _LIBCPP_CONSTEXPR const bool is_signed = true;
354 static _LIBCPP_CONSTEXPR const bool is_signed = true;
400 static _LIBCPP_CONSTEXPR const bool is_signed = true;
457 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
497 _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_signed;
550 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
643 static _LIBCPP_CONSTEXPR const bool is_signed = __base::is_signed;
[all …]
/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_prf.c527 bool is_signed, is_upper; in bhnd_nvram_val_vprintf() local
529 is_signed = false; in bhnd_nvram_val_vprintf()
565 is_signed = true; in bhnd_nvram_val_vprintf()
589 arg_type = (is_signed) ? BHND_NVRAM_TYPE_INT ## _width : \ in bhnd_nvram_val_vprintf()
600 if (is_signed) { \ in bhnd_nvram_val_vprintf()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1454 bool is_signed = false; in GetArgumentValues() local
1459 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) in GetArgumentValues()
1497 if (is_signed) in GetArgumentValues()
1555 bool is_signed; in GetReturnValueObjectImpl() local
1561 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1638 if (is_signed) in GetReturnValueObjectImpl()
1644 if (is_signed) in GetReturnValueObjectImpl()
1652 if (is_signed) in GetReturnValueObjectImpl()
1660 if (is_signed) in GetReturnValueObjectImpl()
1701 bool is_signed; in SetReturnValueObject() local
[all …]
H A DABISysV_arm.cpp1457 bool is_signed = false; in GetArgumentValues() local
1459 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in GetArgumentValues()
1478 if (is_signed) in GetArgumentValues()
1556 bool is_signed; in GetReturnValueObjectImpl() local
1573 if (compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
1585 if (is_signed) in GetReturnValueObjectImpl()
1591 if (is_signed) in GetReturnValueObjectImpl()
1599 if (is_signed) in GetReturnValueObjectImpl()
1607 if (is_signed) in GetReturnValueObjectImpl()
1846 bool is_signed; in SetReturnValueObject() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp715 bool is_signed; in SetReturnValueObject() local
722 if (compiler_type.IsIntegerOrEnumerationType(is_signed) || in SetReturnValueObject()
802 bool is_signed = false; in GetReturnValueObjectImpl() local
811 if (return_compiler_type.IsIntegerOrEnumerationType(is_signed)) { in GetReturnValueObjectImpl()
822 if (is_signed) in GetReturnValueObjectImpl()
828 if (is_signed) in GetReturnValueObjectImpl()
836 if (is_signed) in GetReturnValueObjectImpl()
844 if (is_signed) in GetReturnValueObjectImpl()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerEmbeddedInt.h64 assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) &&
73 if (std::is_signed<IntT>::value)
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp141 bool CompilerType::IsIntegerType(bool &is_signed) const { in IsIntegerType()
143 return m_type_system->IsIntegerType(m_type, is_signed); in IsIntegerType()
147 bool CompilerType::IsEnumerationType(bool &is_signed) const { in IsEnumerationType()
149 return m_type_system->IsEnumerationType(m_type, is_signed); in IsEnumerationType()
153 bool CompilerType::IsIntegerOrEnumerationType(bool &is_signed) const { in IsIntegerOrEnumerationType()
154 return IsIntegerType(is_signed) || IsEnumerationType(is_signed); in IsIntegerOrEnumerationType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h208 static std::enable_if_t<std::is_signed<T>::value, bool> CheckAddUB(T A, T B,
221 static std::enable_if_t<std::is_signed<T>::value, bool> CheckSubUB(T A, T B,
234 static std::enable_if_t<std::is_signed<T>::value, bool> CheckMulUB(T A, T B,
247 static std::enable_if_t<std::is_signed<T>::value, bool>
/freebsd-13.1/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp159 bool is_signed = false; in GetItemFormatForFormat() local
160 element_type.IsIntegerType(is_signed); in GetItemFormatForFormat()
161 return is_char ? (is_signed ? lldb::eFormatDecimal : eFormatHex) : format; in GetItemFormatForFormat()

123