Home
last modified time | relevance | path

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

12345678910>>...27

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DX86TargetParser.cpp33 constexpr FeatureBitset() = default;
43 constexpr FeatureBitset &set(unsigned I) { in set()
134 constexpr FeatureBitset FeaturesNocona =
150 constexpr FeatureBitset FeaturesCore2 =
153 constexpr FeatureBitset FeaturesNehalem =
160 constexpr FeatureBitset FeaturesHaswell =
168 constexpr FeatureBitset FeaturesKNL =
232 constexpr FeatureBitset FeaturesGeode =
239 constexpr FeatureBitset FeaturesAthlon =
243 constexpr FeatureBitset FeaturesK8 =
[all …]
H A DLowLevelType.cpp50 const constexpr LLT::BitFieldInfo LLT::ScalarSizeFieldInfo;
51 const constexpr LLT::BitFieldInfo LLT::PointerSizeFieldInfo;
52 const constexpr LLT::BitFieldInfo LLT::PointerAddressSpaceFieldInfo;
53 const constexpr LLT::BitFieldInfo LLT::VectorElementsFieldInfo;
54 const constexpr LLT::BitFieldInfo LLT::VectorScalableFieldInfo;
55 const constexpr LLT::BitFieldInfo LLT::VectorSizeFieldInfo;
56 const constexpr LLT::BitFieldInfo LLT::PointerVectorElementsFieldInfo;
57 const constexpr LLT::BitFieldInfo LLT::PointerVectorScalableFieldInfo;
58 const constexpr LLT::BitFieldInfo LLT::PointerVectorSizeFieldInfo;
59 const constexpr LLT::BitFieldInfo LLT::PointerVectorAddressSpaceFieldInfo;
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dnumbers45 inline constexpr double e = e_v<double>;
48 inline constexpr double pi = pi_v<double>;
51 inline constexpr double ln2 = ln2_v<double>;
52 inline constexpr double ln10 = ln10_v<double>;
57 inline constexpr double phi = phi_v<double>;
80 inline constexpr bool __false = false;
116 inline constexpr double e = e_v<double>;
119 inline constexpr double pi = pi_v<double>;
122 inline constexpr double ln2 = ln2_v<double>;
123 inline constexpr double ln10 = ln10_v<double>;
[all …]
H A Dalgorithm22 constexpr bool // constexpr in C++20
26 constexpr bool // constexpr in C++20
30 constexpr bool // constexpr in C++20
110 constexpr bool // constexpr in C++20
114 constexpr bool // constexpr in C++20
119 constexpr bool // constexpr in C++20
124 constexpr bool // constexpr in C++20
130 constexpr bool // constexpr in C++20
315 constexpr bool // constexpr in C++20
338 constexpr bool // constexpr in C++20
[all …]
H A Dcompare76 constexpr operator partial_ordering() const noexcept;
103 constexpr operator partial_ordering() const noexcept;
104 constexpr operator weak_ordering() const noexcept;
181 constexpr bool __is_ordered() const noexcept {
341 constexpr operator weak_ordering() const noexcept {
438 constexpr _ClassifyCompCategory
453 constexpr auto __get_comp_type() {
457 if constexpr (_Cat == _None)
459 else if constexpr (_Cat == _PartialOrd)
461 else if constexpr (_Cat == _WeakOrd)
[all …]
H A Dchrono22 constexpr
158 constexpr
162 constexpr
166 constexpr
170 constexpr
174 constexpr
178 constexpr
184 constexpr
187 constexpr
190 constexpr
[all …]
H A Diterator226 constexpr bool // constexpr in C++17
230 constexpr bool // constexpr in C++17
234 constexpr bool // constexpr in C++17
250 constexpr auto
366 constexpr bool // constexpr in C++17
370 constexpr bool // constexpr in C++17
374 constexpr bool // constexpr in C++17
378 constexpr bool // constexpr in C++17
382 constexpr bool // constexpr in C++17
386 constexpr bool // constexpr in C++17
[all …]
H A Dspan55 static constexpr size_type extent = Extent;
58 constexpr span() noexcept;
90 constexpr size_type size() const noexcept;
92 constexpr bool empty() const noexcept;
96 constexpr reference front() const;
97 constexpr reference back() const;
98 constexpr pointer data() const noexcept;
101 constexpr iterator begin() const noexcept;
102 constexpr iterator end() const noexcept;
311 constexpr auto subspan() const noexcept
[all …]
H A Doptional121 constexpr T *operator->();
123 constexpr T &operator*() &;
129 constexpr T &value() &;
130 constexpr T &&value() &&;
881 constexpr
894 constexpr
907 constexpr
916 constexpr
925 constexpr
934 constexpr
[all …]
H A Dutility54 move_if_noexcept(T& x) noexcept; // constexpr in C++14
80 explicit(see-below) constexpr pair();
122 get(pair<T1, T2>&) noexcept; // constexpr in C++14
130 get(pair<T1, T2>&&) noexcept; // constexpr in C++14
137 constexpr T1& get(pair<T1, T2>&) noexcept; // C++14
143 constexpr T1&& get(pair<T1, T2>&&) noexcept; // C++14
149 constexpr T1& get(pair<T2, T1>&) noexcept; // C++14
167 static constexpr size_t size() noexcept;
188 inline constexpr in_place_t in_place{};
194 inline constexpr in_place_type_t<T> in_place_type{};
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h33 constexpr uint32_t VersionMajorV2 = 1;
35 constexpr uint32_t VersionMinorV2 = 0;
38 constexpr uint32_t VersionMajorV3 = 1;
40 constexpr uint32_t VersionMinorV3 = 0;
43 constexpr uint32_t VersionMajorV4 = 1;
168 constexpr char Name[] = "Name";
172 constexpr char Size[] = "Size";
176 constexpr char Align[] = "Align";
379 constexpr char Name[] = "Name";
387 constexpr char Attrs[] = "Attrs";
[all …]
/freebsd-13.1/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 SectionHeaderSize32 = 40;
32 constexpr size_t SymbolTableEntrySize = 18;
33 constexpr size_t RelocationSerializationSize32 = 10;
34 constexpr uint16_t RelocOverflow = 65535;
35 constexpr uint8_t AllocRegNo = 31;
320 static constexpr uint8_t VersionShift = 24;
348 static constexpr uint32_t IsFixupMask = 0x4000'0000;
[all …]
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DInputSection.h289 constexpr const char binding[] = "__binding";
291 constexpr const char cString[] = "__cstring";
294 constexpr const char common[] = "__common";
296 constexpr const char data[] = "__data";
301 constexpr const char export_[] = "__export";
304 constexpr const char got[] = "__got";
307 constexpr const char const_[] = "__const";
323 constexpr const char rebase[] = "__rebase";
327 constexpr const char stubs[] = "__stubs";
328 constexpr const char swift[] = "__swift";
[all …]
H A DOutputSegment.h25 constexpr const char dataConst[] = "__DATA_CONST";
26 constexpr const char dataDirty[] = "__DATA_DIRTY";
27 constexpr const char data[] = "__DATA";
28 constexpr const char dwarf[] = "__DWARF";
29 constexpr const char import[] = "__IMPORT";
30 constexpr const char ld[] = "__LD"; // output only with -r
31 constexpr const char linkEdit[] = "__LINKEDIT";
32 constexpr const char llvm[] = "__LLVM";
33 constexpr const char pageZero[] = "__PAGEZERO";
34 constexpr const char textExec[] = "__TEXT_EXEC";
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcABISupport.h58 static constexpr unsigned TrampolineSize = 1;
59 static constexpr unsigned StubSize = 1;
90 static constexpr unsigned PointerSize = 8;
92 static constexpr unsigned StubSize = 8;
130 static constexpr unsigned PointerSize = 8;
132 static constexpr unsigned StubSize = 8;
197 static constexpr unsigned PointerSize = 4;
199 static constexpr unsigned StubSize = 8;
237 static constexpr unsigned PointerSize = 4;
239 static constexpr unsigned StubSize = 8;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DOptional.h93 constexpr bool hasValue() const noexcept { return hasVal; } in hasValue()
174 constexpr OptionalStorage() noexcept : empty{} {} in OptionalStorage()
244 constexpr Optional() {} in Optional()
245 constexpr Optional(NoneType) {} in Optional()
247 constexpr Optional(const T &y) : Storage(in_place, y) {} in Optional()
248 constexpr Optional(const Optional &O) = default;
251 constexpr Optional(Optional &&O) = default;
254 constexpr Optional(in_place_t, ArgTypes &&...Args) in Optional()
268 static constexpr Optional create(const T *y) { in create()
367 constexpr bool operator==(const Optional<T> &X, NoneType) {
[all …]
H A DBitfields.h102 static constexpr unsigned TypeBits = sizeof(Unsigned) * CHAR_BIT;
163 static constexpr size_t StorageBits = sizeof(StorageType) * CHAR_BIT;
166 static constexpr StorageType Mask = BP::Umax << Bitfield::Shift;
227 static constexpr unsigned Shift = Offset;
228 static constexpr unsigned Bits = Size;
229 static constexpr unsigned FirstBit = Offset;
230 static constexpr unsigned LastBit = Shift + Bits - 1;
231 static constexpr unsigned NextBit = Shift + Bits;
237 static constexpr size_t TypeBits = sizeof(IntegerType) * CHAR_BIT;
248 static constexpr IntegerType UserMaxValue =
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DLaneBitmask.h44 constexpr static const char *const FormatStr = "%016llX";
46 constexpr LaneBitmask() = default;
47 explicit constexpr LaneBitmask(Type V) : Mask(V) {} in LaneBitmask()
52 constexpr bool none() const { return Mask == 0; } in none()
53 constexpr bool any() const { return Mask != 0; } in any()
54 constexpr bool all() const { return ~Mask == 0; } in all()
56 constexpr LaneBitmask operator~() const {
59 constexpr LaneBitmask operator|(LaneBitmask M) const {
62 constexpr LaneBitmask operator&(LaneBitmask M) const {
74 constexpr Type getAsInteger() const { return Mask; } in getAsInteger()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dadt.h39 static constexpr std::size_t extent = Extent;
41 constexpr span() noexcept = default;
42 constexpr span(T *first, size_type count) noexcept in span()
48 constexpr iterator begin() const noexcept { return Data; } in begin()
50 constexpr pointer data() const noexcept { return Data; } in data()
52 constexpr size_type size() const noexcept { return Size; } in size()
53 constexpr bool empty() const noexcept { return Size == 0; } in empty()
75 constexpr string_view() noexcept = default;
76 constexpr string_view(const char *S, size_type Count) in string_view()
84 constexpr size_type size() const noexcept { return Size; } in size()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DBitstreamRemarkContainer.h26 constexpr uint64_t CurrentContainerVersion = 0;
28 constexpr StringLiteral ContainerMagic("RMRK");
70 constexpr StringRef MetaBlockName = StringRef("Meta", 4);
71 constexpr StringRef RemarkBlockName = StringRef("Remark", 6);
92 constexpr StringRef MetaContainerInfoName = StringRef("Container info", 14);
93 constexpr StringRef MetaRemarkVersionName = StringRef("Remark version", 14);
94 constexpr StringRef MetaStrTabName = StringRef("String table", 12);
95 constexpr StringRef MetaExternalFileName = StringRef("External File", 13);
96 constexpr StringRef RemarkHeaderName = StringRef("Remark header", 13);
98 constexpr StringRef RemarkHotnessName = StringRef("Remark hotness", 14);
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/__ranges/
H A Dtransform_view.h69 constexpr __iterator<false> begin() { in begin()
73 constexpr __iterator<true> begin() const in begin()
81 constexpr __sentinel<false> end() { in end()
85 constexpr __iterator<false> end() in end()
91 constexpr __sentinel<true> end() const in end()
98 constexpr __iterator<true> end() const in end()
191 constexpr iterator_t<_Base> base() && {
203 constexpr __iterator& operator++() {
212 constexpr __iterator operator++(int)
221 constexpr __iterator& operator--()
[all …]
H A Dsubrange.h69 static constexpr bool __store_size = false;
74 constexpr __subrange_base() = default;
83 static constexpr bool __store_size = true;
89 constexpr __subrange_base() = default;
126 constexpr subrange(_Range&& __range)
135 constexpr subrange(_Range&& __range)
171 if constexpr (_Base::__store_size)
201 if constexpr (_Base::__store_size)
208 if constexpr (_Base::__store_size)
234 if constexpr (_Index == 0)
[all …]
H A Dcommon_view.h47 constexpr explicit common_view(_View __v) : __base_(_VSTD::move(__v)) { } in common_view()
53 constexpr _View base() && { return _VSTD::move(__base_); } in base()
56 constexpr auto begin() { in begin()
57 if constexpr (random_access_range<_View> && sized_range<_View>) in begin()
64 constexpr auto begin() const requires range<const _View> { in begin()
65 if constexpr (random_access_range<const _View> && sized_range<const _View>) in begin()
72 constexpr auto end() { in end()
73 if constexpr (random_access_range<_View> && sized_range<_View>) in end()
80 constexpr auto end() const requires range<const _View> { in end()
88 constexpr auto size() requires sized_range<_View> { in size()
[all …]
H A Ddrop_view.h58 constexpr drop_view(_View __base, range_difference_t<_View> __count) in drop_view()
66 _LIBCPP_HIDE_FROM_ABI constexpr _View base() && { return _VSTD::move(__base_); } in base()
69 constexpr auto begin() in begin()
73 if constexpr (_UseCache) in begin()
78 if constexpr (_UseCache) in begin()
84 constexpr auto begin() const in begin()
91 constexpr auto end() in end()
96 constexpr auto end() const in end()
101 static constexpr auto __size(auto& __self) { in __size()
108 constexpr auto size() in size()
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/__iterator/
H A Dcounted_iterator.h109 constexpr decltype(auto) operator*() {
115 constexpr decltype(auto) operator*() const
123 constexpr auto operator->() const noexcept
130 constexpr counted_iterator& operator++() {
150 constexpr counted_iterator operator++(int)
160 constexpr counted_iterator& operator--()
169 constexpr counted_iterator operator--(int)
185 friend constexpr counted_iterator operator+(
253 friend constexpr bool operator==(
260 friend constexpr bool operator==(
[all …]

12345678910>>...27