Home
last modified time | relevance | path

Searched refs:constexpr (Results 1 – 25 of 1399) sorted by relevance

12345678910>>...56

/freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/
H A DX86TargetParser.cpp57 constexpr FeatureBitset FeaturesPentium2 =
64 constexpr FeatureBitset FeaturesNocona =
80 constexpr FeatureBitset FeaturesCore2 =
83 constexpr FeatureBitset FeaturesNehalem =
90 constexpr FeatureBitset FeaturesHaswell =
98 constexpr FeatureBitset FeaturesKNL =
173 constexpr FeatureBitset FeaturesGeode =
180 constexpr FeatureBitset FeaturesAthlon =
184 constexpr FeatureBitset FeaturesK8 =
192 constexpr FeatureBitset FeaturesBTVER1 =
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h40 constexpr DenseMapPair() = default;
41 constexpr DenseMapPair(const KeyT &f, const ValueT &s) in DenseMapPair()
45 constexpr DenseMapPair(KeyT2 &&f, ValueT2 &&s) in DenseMapPair()
81 static constexpr uptr Log2MaxAlign = 12;
83 static constexpr T *getEmptyKey() {
89 static constexpr T *getTombstoneKey() {
107 static constexpr char getEmptyKey() { return ~0; }
220 static constexpr long getEmptyKey() {
239 static constexpr long long getTombstoneKey() {
259 static constexpr Pair getEmptyKey() {
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DXCOFF.h28 constexpr size_t FileNamePadSize = 6;
29 constexpr size_t NameSize = 8;
30 constexpr size_t FileHeaderSize32 = 20;
31 constexpr size_t FileHeaderSize64 = 24;
32 constexpr size_t AuxFileHeaderSize32 = 72;
33 constexpr size_t AuxFileHeaderSize64 = 110;
35 constexpr size_t SectionHeaderSize32 = 40;
36 constexpr size_t SectionHeaderSize64 = 72;
37 constexpr size_t SymbolTableEntrySize = 18;
42 constexpr uint16_t RelocOverflow = 65535;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h33 constexpr uint32_t VersionMajorV3 = 1;
35 constexpr uint32_t VersionMinorV3 = 0;
38 constexpr uint32_t VersionMajorV4 = 1;
40 constexpr uint32_t VersionMinorV4 = 1;
43 constexpr uint32_t VersionMajorV5 = 1;
167 constexpr char Name[] = "Name";
171 constexpr char Size[] = "Size";
175 constexpr char Align[] = "Align";
378 constexpr char Name[] = "Name";
386 constexpr char Attrs[] = "Attrs";
[all …]
H A DTypeSize.h96 constexpr FixedOrScalableQuantity() = default;
171 constexpr bool isScalable() const { return Scalable; } in isScalable()
180 constexpr bool isKnownMultipleOf(ScalarTy RHS) const { in isKnownMultipleOf()
187 constexpr ScalarTy getFixedValue() const { in getFixedValue()
247 constexpr LeafTy coefficientNextPowerOf2() const { in coefficientNextPowerOf2()
255 constexpr bool
263 constexpr ScalarTy
289 constexpr ElementCount( in ElementCount()
307 constexpr bool isScalar() const { in isScalar()
311 constexpr bool isVector() const { in isVector()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dnumbers45 inline constexpr double e = e_v<double>;
77 inline constexpr bool __false = false;
87 inline constexpr _Tp e_v = __illformed<_Tp>{};
89 inline constexpr _Tp log2e_v = __illformed<_Tp>{};
93 inline constexpr _Tp pi_v = __illformed<_Tp>{};
99 inline constexpr _Tp ln2_v = __illformed<_Tp>{};
101 inline constexpr _Tp ln10_v = __illformed<_Tp>{};
103 inline constexpr _Tp sqrt2_v = __illformed<_Tp>{};
105 inline constexpr _Tp sqrt3_v = __illformed<_Tp>{};
111 inline constexpr _Tp phi_v = __illformed<_Tp>{};
[all …]
H A Dmdspan55 constexpr extents() noexcept = default;
58 constexpr explicit(see below)
63 constexpr explicit(N != rank_dynamic())
98 constexpr mapping() noexcept = default;
152 constexpr mapping() noexcept = default;
210 constexpr mapping() noexcept;
294 constexpr mdspan();
312 constexpr explicit(see below)
345 constexpr bool is_unique() const
347 constexpr bool is_exhaustive() const
[all …]
H A Dnumeric20 constexpr T // constexpr since C++20
24 constexpr T // constexpr since C++20
32 constexpr T // constexpr since C++20
36 constexpr T // constexpr since C++20
40 constexpr T // constexpr since C++20
44 constexpr T // constexpr since C++20
50 constexpr T // constexpr since C++20
55 constexpr T // constexpr since C++20
61 constexpr T // constexpr since C++20
66 constexpr OutputIterator // constexpr since C++20
[all …]
H A Dcompare23 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; }
55 inline constexpr unspecified strong_order = unspecified;
56 inline constexpr unspecified weak_order = unspecified;
57 inline constexpr unspecified partial_order = unspecified;
96 constexpr operator partial_ordering() const noexcept;
123 constexpr operator partial_ordering() const noexcept;
[all …]
H A Dchrono26 constexpr
157 constexpr
161 constexpr
165 constexpr
169 constexpr
173 constexpr
177 constexpr
183 constexpr
186 constexpr
189 constexpr
[all …]
H A Diterator267 constexpr bool // constexpr in C++17
271 constexpr bool // constexpr in C++17
275 constexpr bool // constexpr in C++17
296 constexpr auto
442 constexpr bool // constexpr in C++17
446 constexpr bool // constexpr in C++17
450 constexpr bool // constexpr in C++17
454 constexpr bool // constexpr in C++17
458 constexpr bool // constexpr in C++17
462 constexpr bool // constexpr in C++17
[all …]
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DInputSection.h310 constexpr const char binding[] = "__binding";
312 constexpr const char cString[] = "__cstring";
317 constexpr const char common[] = "__common";
319 constexpr const char data[] = "__data";
327 constexpr const char export_[] = "__export";
330 constexpr const char got[] = "__got";
334 constexpr const char const_[] = "__const";
354 constexpr const char rebase[] = "__rebase";
358 constexpr const char stubs[] = "__stubs";
359 constexpr const char swift[] = "__swift";
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dweekday.h46 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday& operator++() noexcept {
50 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday operator++(int) noexcept {
55 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday& operator--() noexcept {
142 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
169 inline constexpr weekday Sunday{0};
170 inline constexpr weekday Monday{1};
171 inline constexpr weekday Tuesday{2};
172 inline constexpr weekday Wednesday{3};
173 inline constexpr weekday Thursday{4};
174 inline constexpr weekday Friday{5};
[all …]
H A Dyear_month_weekday.h43 _LIBCPP_HIDE_FROM_ABI constexpr year_month_weekday( in year_month_weekday()
91 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
97 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
102 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
111 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
120 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
125 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
130 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
135 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
140 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_weekday
[all …]
H A Dyear_month_day.h46 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day( in year_month_day()
106 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
144 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day
149 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day
219 constexpr chrono::day __d[] = { in day()
237 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
242 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
247 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
256 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
261 _LIBCPP_HIDE_FROM_ABI inline constexpr bool
[all …]
H A Dmonth.h96 inline constexpr month January{1};
97 inline constexpr month February{2};
98 inline constexpr month March{3};
99 inline constexpr month April{4};
100 inline constexpr month May{5};
101 inline constexpr month June{6};
102 inline constexpr month July{7};
103 inline constexpr month August{8};
104 inline constexpr month September{9};
105 inline constexpr month October{10};
[all …]
H A Dformatter.h135 if constexpr (__is_time_point<_Tp>) in __use_fraction()
139 else if constexpr (__is_hh_mm_ss<_Tp>) in __use_fraction()
334 if constexpr (__is_time_point<_Tp>) in __weekday_ok()
366 else if constexpr (__is_hh_mm_ss<_Tp>) in __weekday_ok()
374 if constexpr (__is_time_point<_Tp>) in __weekday_name_ok()
406 else if constexpr (__is_hh_mm_ss<_Tp>) in __weekday_name_ok()
414 if constexpr (__is_time_point<_Tp>) in __date_ok()
446 else if constexpr (__is_hh_mm_ss<_Tp>) in __date_ok()
454 if constexpr (__is_time_point<_Tp>) in __month_name_ok()
486 else if constexpr (__is_hh_mm_ss<_Tp>) in __month_name_ok()
[all …]
H A Dyear.h39 _LIBCPP_HIDE_FROM_ABI inline constexpr year& operator++() noexcept {
43 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator++(int) noexcept {
48 _LIBCPP_HIDE_FROM_ABI inline constexpr year& operator--() noexcept {
52 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator--(int) noexcept {
57 _LIBCPP_HIDE_FROM_ABI constexpr year& operator+=(const years& __dy) noexcept;
58 _LIBCPP_HIDE_FROM_ABI constexpr year& operator-=(const years& __dy) noexcept;
59 _LIBCPP_HIDE_FROM_ABI inline constexpr year operator+() const noexcept { return *this; }
62 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_leap() const noexcept { in is_leap()
66 _LIBCPP_HIDE_FROM_ABI constexpr bool ok() const noexcept;
68 _LIBCPP_HIDE_FROM_ABI static inline constexpr year max() noexcept { return year{32767}; } in max()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dordering.h34 inline constexpr bool __one_of_v = (is_same_v<_Tp, _Args> || ...);
50 _LIBCPP_HIDE_FROM_ABI constexpr bool __is_ordered() const noexcept { in __is_ordered()
100 _LIBCPP_HIDE_FROM_ABI friend constexpr partial_ordering
105 _LIBCPP_HIDE_FROM_ABI friend constexpr partial_ordering
114 inline constexpr partial_ordering partial_ordering::less(_OrdResult::__less);
185 inline constexpr weak_ordering weak_ordering::less(_OrdResult::__less);
187 inline constexpr weak_ordering weak_ordering::greater(_OrdResult::__greater);
206 _LIBCPP_HIDE_FROM_ABI constexpr operator weak_ordering() const noexcept { in weak_ordering()
249 _LIBCPP_HIDE_FROM_ABI friend constexpr strong_ordering
254 _LIBCPP_HIDE_FROM_ABI friend constexpr strong_ordering
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcABISupport.h59 static constexpr unsigned StubSize = 1;
91 static constexpr unsigned PointerSize = 8;
93 static constexpr unsigned StubSize = 8;
132 static constexpr unsigned PointerSize = 8;
134 static constexpr unsigned StubSize = 8;
200 static constexpr unsigned PointerSize = 4;
202 static constexpr unsigned StubSize = 8;
243 static constexpr unsigned StubSize = 8;
305 static constexpr unsigned StubSize = 32;
345 static constexpr unsigned StubSize = 16;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLowLevelType.h76 static constexpr LLT float16() { in float16()
81 static constexpr LLT float32() { in float32()
86 static constexpr LLT float64() { in float64()
132 explicit constexpr LLT() in LLT()
141 constexpr bool isPointer() const { in isPointer()
160 constexpr bool isScalable() const { in isScalable()
183 constexpr TypeSize getSizeInBits() const { in getSizeInBits()
198 constexpr LLT getScalarType() const { in getScalarType()
227 constexpr LLT divide(int Factor) const { in divide()
253 constexpr bool isByteSized() const { in isByteSized()
[all …]
H A DRegister.h23 constexpr Register(unsigned Val = 0) : Reg(Val) {} in Reg()
24 constexpr Register(MCRegister Val) : Reg(Val) {} in Register()
44 static constexpr bool isStackSlot(unsigned Reg) { in isStackSlot()
65 static constexpr bool isPhysicalRegister(unsigned Reg) { in isPhysicalRegister()
71 static constexpr bool isVirtualRegister(unsigned Reg) { in isVirtualRegister()
101 constexpr operator unsigned() const { return Reg; }
103 constexpr unsigned id() const { return Reg; } in id()
119 constexpr bool operator==(const Register &Other) const {
122 constexpr bool operator!=(const Register &Other) const {
141 constexpr bool operator==(MCPhysReg Other) const {
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h34 constexpr CustomizableOptional() = default;
35 constexpr CustomizableOptional(std::nullopt_t) {} in CustomizableOptional()
40 constexpr CustomizableOptional(T &&y) in CustomizableOptional()
49 constexpr CustomizableOptional(const std::optional<T> &y) in CustomizableOptional()
51 constexpr CustomizableOptional(std::optional<T> &&y) in CustomizableOptional()
119 constexpr bool operator==(const CustomizableOptional<T> &X,
127 constexpr bool operator!=(const CustomizableOptional<T> &X,
133 constexpr bool operator<(const CustomizableOptional<T> &X,
141 constexpr bool operator<=(const CustomizableOptional<T> &X,
147 constexpr bool operator>(const CustomizableOptional<T> &X,
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Delements_view.h88 _LIBCPP_HIDE_FROM_ABI constexpr auto begin() in begin()
100 _LIBCPP_HIDE_FROM_ABI constexpr auto end() in end()
106 _LIBCPP_HIDE_FROM_ABI constexpr auto end() in end()
112 _LIBCPP_HIDE_FROM_ABI constexpr auto end() const in end()
118 _LIBCPP_HIDE_FROM_ABI constexpr auto end() const in end()
124 _LIBCPP_HIDE_FROM_ABI constexpr auto size() in size()
130 _LIBCPP_HIDE_FROM_ABI constexpr auto size() const in size()
188 if constexpr (random_access_range<_Base>) {
192 } else if constexpr (forward_range<_Base>) {
406 inline constexpr auto keys = elements<0>;
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h429 if constexpr (__put_flag_in_tail)
437 if constexpr (__put_flag_in_tail)
1034 if constexpr (!is_void_v<_Up>) {
1050 if constexpr (!is_void_v<_Up>) {
1066 if constexpr (!is_void_v<_Up>) {
1082 if constexpr (!is_void_v<_Up>) {
1332 if constexpr (__put_flag_in_tail)
1755 if constexpr (!is_void_v<_Up>) {
1770 if constexpr (!is_void_v<_Up>) {
1785 if constexpr (!is_void_v<_Up>) {
[all …]

12345678910>>...56