| /llvm-project-15.0.7/libcxx/include/ |
| H A D | limits | 23 static constexpr bool is_specialized = false; 31 static constexpr bool is_signed = false; 32 static constexpr bool is_integer = false; 33 static constexpr bool is_exact = false; 53 static constexpr bool is_iec559 = false; 54 static constexpr bool is_bounded = false; 55 static constexpr bool is_modulo = false; 57 static constexpr bool traps = false; 78 template<> class numeric_limits<cv bool>; 251 class __libcpp_numeric_limits<bool, true> [all …]
|
| H A D | filesystem | 104 bool create_directory(const path& p); 128 bool exists(file_status s) noexcept; 129 bool exists(const path& p); 142 bool is_block_file(const path& p); 150 bool is_directory(const path& p); 153 bool is_empty(const path& p); 157 bool is_fifo(const path& p); 161 bool is_other(const path& p); 169 bool is_socket(const path& p); 173 bool is_symlink(const path& p); [all …]
|
| H A D | compare | 23 constexpr bool is_eq (partial_ordering cmp) noexcept { return cmp == 0; } 24 constexpr bool is_neq (partial_ordering cmp) noexcept { return cmp != 0; } 25 constexpr bool is_lt (partial_ordering cmp) noexcept { return cmp < 0; } 26 constexpr bool is_lteq(partial_ordering cmp) noexcept { return cmp <= 0; } 27 constexpr bool is_gt (partial_ordering cmp) noexcept { return cmp > 0; } 28 constexpr bool is_gteq(partial_ordering cmp) noexcept { return cmp >= 0; } 99 friend constexpr bool operator==(weak_ordering v, unspecified) noexcept; 101 friend constexpr bool operator< (weak_ordering v, unspecified) noexcept; 102 friend constexpr bool operator> (weak_ordering v, unspecified) noexcept; 103 friend constexpr bool operator<=(weak_ordering v, unspecified) noexcept; [all …]
|
| H A D | type_traits | 30 template <bool, class T = void> struct enable_if; 31 template <bool, class T, class F> struct conditional; 207 inline constexpr bool is_bounded_array_v 209 inline constexpr bool is_unbounded_array_v 227 template <bool b, class T=void> 229 template <bool b, class T, class F> 302 template <class T> inline constexpr bool is_pod_v 541 template <class _Tp, bool> 645 static const bool value = 723 template <class _Tp, bool = is_enum<_Tp>::value> [all …]
|
| H A D | optional | 1297 bool 1305 bool 1313 bool 1321 bool 1329 bool 1337 bool 1345 bool 1353 bool 1361 bool 1369 bool [all …]
|
| H A D | system_error | 74 explicit operator bool() const noexcept; 307 bool 383 bool 391 bool 398 bool 406 bool 413 bool 420 bool 425 bool 430 bool [all …]
|
| H A D | shared_mutex | 66 bool 69 bool 222 bool 229 bool 238 bool 245 bool 251 bool 287 bool 449 bool 462 bool [all …]
|
| H A D | chrono | 288 static constexpr bool is_steady = false; 457 constexpr bool operator==(const year_month_day_last& x, 459 constexpr bool operator!=(const year_month_day_last& x, 461 constexpr bool operator< (const year_month_day_last& x, 463 constexpr bool operator> (const year_month_day_last& x, 486 constexpr bool operator==(const year_month_weekday& x, 488 constexpr bool operator!=(const year_month_weekday& x, 610 bool is_neg; // exposition only 623 constexpr bool is_negative() const noexcept; 634 constexpr bool is_am(hours const& h) noexcept; [all …]
|
| H A D | typeindex | 25 bool operator==(const type_index& rhs) const noexcept; 26 bool operator!=(const type_index& rhs) const noexcept; 27 bool operator< (const type_index& rhs) const noexcept; 28 bool operator<=(const type_index& rhs) const noexcept; 29 bool operator> (const type_index& rhs) const noexcept; 30 bool operator>=(const type_index& rhs) const noexcept; 76 bool operator==(const type_index& __y) const _NOEXCEPT 79 bool operator!=(const type_index& __y) const _NOEXCEPT 82 bool operator< (const type_index& __y) const _NOEXCEPT 85 bool operator<=(const type_index& __y) const _NOEXCEPT [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/transcoding/ |
| H A D | fcmp.ll | 94 ; CHECK-SPIRV: %[[#bool:]] = OpTypeBool 95 ; CHECK-SPIRV: %[[#r1]] = OpFOrdEqual %[[#bool]] 96 ; CHECK-SPIRV: %[[#r2]] = OpFOrdEqual %[[#bool]] 97 ; CHECK-SPIRV: %[[#r3]] = OpFOrdEqual %[[#bool]] 98 ; CHECK-SPIRV: %[[#r4]] = OpFOrdEqual %[[#bool]] 99 ; CHECK-SPIRV: %[[#r5]] = OpFOrdEqual %[[#bool]] 100 ; CHECK-SPIRV: %[[#r6]] = OpFOrdEqual %[[#bool]] 101 ; CHECK-SPIRV: %[[#r7]] = OpFOrdEqual %[[#bool]] 137 ; CHECK-SPIRV: %[[#r43]] = OpOrdered %[[#bool]] 138 ; CHECK-SPIRV: %[[#r44]] = OpOrdered %[[#bool]] [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flags.inc | 23 bool, symbolize, true, 31 bool, allow_addr2line, false, 59 bool, log_exe_name, false, 65 bool, log_to_syslog, (bool)SANITIZER_ANDROID || (bool)SANITIZER_APPLE, 71 COMMON_FLAG(bool, strip_env, true, 79 bool, leak_check_at_exit, true, 151 ((bool)SANITIZER_FUCHSIA || (bool)SANITIZER_WINDOWS) ? -1 : 5000, 160 bool, coverage, false, 217 bool, intercept_strcmp, true, 245 COMMON_FLAG(bool, decorate_proc_maps, (bool)SANITIZER_ANDROID, [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | use-bool-literals.rst | 1 .. title:: clang-tidy - modernize-use-bool-literals 3 modernize-use-bool-literals 6 Finds integer literals which are cast to ``bool``. 10 bool p = 1; 11 bool f = static_cast<bool>(1); 13 bool x = p ? 1 : 0; 17 bool p = true; 18 bool f = true; 20 bool x = p ? true : false;
|
| /llvm-project-15.0.7/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/ |
| H A D | control-flow-intrinsics.ll | 22 ; CHECK: DIVERGENT: %if.bool.ext = zext i1 %if.bool to i32 27 %if.bool = extractvalue { i1, i64 } %if, 0 29 %if.bool.ext = zext i1 %if.bool to i32 41 ; CHECK: DIVERGENT: %if.bool.ext = zext i1 %if.bool to i32 46 %if.bool = extractvalue { i1, i64 } %if, 0 48 %if.bool.ext = zext i1 %if.bool to i32 71 %else.bool = extractvalue { i1, i64 } %else, 0 73 %else.bool.ext = zext i1 %else.bool to i32 84 ; CHECK: DIVERGENT: %if.bool.ext = zext i1 %if.bool to i32 88 %if.bool = extractvalue { i1, i64 } %if, 0 [all …]
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | type_traits | 14 typedef integral_constant<bool, true> true_type; 15 typedef integral_constant<bool, false> false_type; 23 : public integral_constant<bool, false> {}; 24 template <> struct is_integral<bool> 25 : public integral_constant<bool, true> {}; 27 : public integral_constant<bool, true> {}; 29 : public integral_constant<bool, true> {}; 31 : public integral_constant<bool, true> {}; 33 : public integral_constant<bool, true> {}; 35 : public integral_constant<bool, true> {}; [all …]
|
| H A D | cmath | 69 bool isfinite(double); 70 bool isfinite(float); 75 bool isinf(long double); 76 bool isinf(double); 77 bool isinf(float); 89 bool isnan(double); 90 bool isnan(float); 92 bool isnormal(double); 93 bool isnormal(float); 141 bool signbit(double); [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_flags.inc | 23 MSAN_FLAG(bool, poison_heap_with_zeroes, false, "") 24 MSAN_FLAG(bool, poison_stack_with_zeroes, false, "") 25 MSAN_FLAG(bool, poison_in_malloc, true, "") 26 MSAN_FLAG(bool, poison_in_free, true, "") 27 MSAN_FLAG(bool, poison_in_dtor, true, "") 28 MSAN_FLAG(bool, report_umrs, true, "") 29 MSAN_FLAG(bool, wrap_signals, true, "") 30 MSAN_FLAG(bool, print_stats, false, "") 31 MSAN_FLAG(bool, halt_on_error, !&__msan_keep_going, "") 32 MSAN_FLAG(bool, atexit, false, "")
|
| /llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/_mlir/ |
| H A D | ir.pyi | 103 …bool = False, large_elements_limit: Optional[int] = None, enable_debug_info: bool = False, pretty_… 106 …bool = False, large_elements_limit: Optional[int] = None, enable_debug_info: bool = False, pretty_… 107 def verify(self) -> bool: ... 448 def value(self) -> bool: ... 499 def is_splat(self) -> bool: ... 552 def attached(self) -> bool: ... 554 def had_error(self) -> bool: ... 728 def is_eq(self) -> bool: ... 752 def is_signed(self) -> bool: ... 971 def has_rank(self) -> bool: ... [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_flags.inc | 19 TSAN_FLAG(bool, enable_annotations, true, 23 TSAN_FLAG(bool, suppress_equal_stacks, true, 26 TSAN_FLAG(bool, report_bugs, true, 29 TSAN_FLAG(bool, report_destroy_locked, true, 31 TSAN_FLAG(bool, report_mutex_bugs, true, 33 TSAN_FLAG(bool, report_signal_unsafe, true, 36 TSAN_FLAG(bool, report_atomic_races, true, 39 bool, force_seq_cst_atomics, false, 57 TSAN_FLAG(bool, stop_on_start, false, 59 TSAN_FLAG(bool, running_on_valgrind, false, [all …]
|
| /llvm-project-15.0.7/libcxx/include/experimental/ |
| H A D | propagate_const | 73 explicit constexpr operator bool() const; 258 explicit _LIBCPP_CONSTEXPR operator bool() const 305 _LIBCPP_CONSTEXPR bool operator==(const propagate_const<_Tp>& __pt, nullptr_t) 312 _LIBCPP_CONSTEXPR bool operator==(nullptr_t, const propagate_const<_Tp>& __pt) 319 _LIBCPP_CONSTEXPR bool operator!=(const propagate_const<_Tp>& __pt, nullptr_t) 333 _LIBCPP_CONSTEXPR bool operator==(const propagate_const<_Tp>& __pt, 341 _LIBCPP_CONSTEXPR bool operator!=(const propagate_const<_Tp>& __pt, 349 _LIBCPP_CONSTEXPR bool operator<(const propagate_const<_Tp>& __pt, 357 _LIBCPP_CONSTEXPR bool operator>(const propagate_const<_Tp>& __pt, 365 _LIBCPP_CONSTEXPR bool operator<=(const propagate_const<_Tp>& __pt, [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | simplify-boolean-expr.rst | 47 5. Implicit casts to ``bool`` are replaced with explicit casts to ``bool``. 49 are replaced with explicit casts to ``bool``. 55 parentheses and becomes ``bool b = i < 0;``. 67 implicit conversion of a pointer to ``bool`` and becomes 71 implicit conversion of ``i & 1`` to ``bool`` and becomes 72 ``bool b = (i & 1) != 0;``. 80 becomes ``return static_cast<bool>(x);`` 111 bool X = !(A && B) 112 bool Y = !(A || B) 118 bool X = !A || !B [all …]
|
| H A D | implicit-bool-conversion.rst | 1 .. title:: clang-tidy - readability-implicit-bool-conversion 3 readability-implicit-bool-conversion 12 ``bool`` conversion: 20 void setFoo(bool foo) { m_foo = foo; } // warning: implicit conversion bool -> int 25 bool value = foo.getFoo(); // warning: implicit conversion int -> bool 29 changed from ``bool`` to ``int``. The programmer forgot to change all 41 bool boolean = floating; 42 // ^ propose replacement: bool boolean = floating != 0.0f; 59 bool boolean; 87 - ``bool boolean = floating;`` is changed to [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_flags.inc | 19 TSAN_FLAG(bool, enable_annotations, true, 23 TSAN_FLAG(bool, suppress_equal_stacks, true, 30 TSAN_FLAG(bool, report_bugs, true, 33 TSAN_FLAG(bool, report_destroy_locked, true, 35 TSAN_FLAG(bool, report_mutex_bugs, true, 37 TSAN_FLAG(bool, report_signal_unsafe, true, 40 TSAN_FLAG(bool, report_atomic_races, true, 43 bool, force_seq_cst_atomics, false, 58 TSAN_FLAG(bool, stop_on_start, false, 60 TSAN_FLAG(bool, running_on_valgrind, false, [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_flags.inc | 19 LSAN_FLAG(bool, report_objects, false, 28 LSAN_FLAG(bool, use_globals, true, 30 LSAN_FLAG(bool, use_stacks, true, "Root set: include thread stacks") 31 LSAN_FLAG(bool, use_registers, true, "Root set: include thread registers") 32 LSAN_FLAG(bool, use_tls, true, 34 LSAN_FLAG(bool, use_root_regions, true, 36 LSAN_FLAG(bool, use_ld_allocations, true, 41 LSAN_FLAG(bool, use_unaligned, false, "Consider unaligned pointers valid.") 42 LSAN_FLAG(bool, use_poisoned, false, 44 LSAN_FLAG(bool, log_pointers, false, "Debug logging") [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_flags.inc | 37 bool, debug, false, 47 bool, replace_str, true, 50 ASAN_FLAG(bool, replace_intrin, true, 60 ASAN_FLAG(bool, uar_noreserve, false, 96 ASAN_FLAG(bool, print_stats, false, 102 ASAN_FLAG(bool, atexit, false, 110 bool, poison_heap, true, 113 ASAN_FLAG(bool, poison_partial, true, 131 bool, strict_init_order, false, 135 bool, start_deactivated, false, [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | FPOptions.def | 17 OPTION(RoundingMath, bool, 1, FPContractMode) 20 OPTION(AllowFEnvAccess, bool, 1, SpecifiedExceptionMode) 21 OPTION(AllowFPReassociate, bool, 1, AllowFEnvAccess) 22 OPTION(NoHonorNaNs, bool, 1, AllowFPReassociate) 23 OPTION(NoHonorInfs, bool, 1, NoHonorNaNs) 24 OPTION(NoSignedZero, bool, 1, NoHonorInfs) 25 OPTION(AllowReciprocal, bool, 1, NoSignedZero) 26 OPTION(AllowApproxFunc, bool, 1, AllowReciprocal)
|