Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h33 constexpr uint32_t VersionMajor = 1;
35 constexpr uint32_t VersionMinor = 0;
155 constexpr char Name[] = "Name";
159 constexpr char Size[] = "Size";
161 constexpr char Align[] = "Align";
171 constexpr char AccQual[] = "AccQual";
181 constexpr char IsPipe[] = "IsPipe";
364 constexpr char Name[] = "Name";
372 constexpr char Attrs[] = "Attrs";
374 constexpr char Args[] = "Args";
[all …]
H A DMathExtras.h284 constexpr inline uint32_t Hi_32(uint64_t Value) {
289 constexpr inline uint32_t Lo_32(uint64_t Value) {
303 template <> constexpr inline bool isInt<8>(int64_t x) {
306 template <> constexpr inline bool isInt<16>(int64_t x) {
309 template <> constexpr inline bool isInt<32>(int64_t x) {
315 constexpr inline bool isShiftedInt(int64_t x) {
355 constexpr inline bool isShiftedUInt(uint64_t x) {
405 constexpr inline bool isMask_32(uint32_t Value) {
411 constexpr inline bool isMask_64(uint64_t Value) {
429 constexpr inline bool isPowerOf2_32(uint32_t Value) {
[all …]
H A DLowLevelTypeImpl.h170 static const constexpr BitFieldInfo ScalarSizeFieldInfo{32, 0};
174 static const constexpr BitFieldInfo PointerSizeFieldInfo{16, 0};
175 static const constexpr BitFieldInfo PointerAddressSpaceFieldInfo{
180 static const constexpr BitFieldInfo VectorElementsFieldInfo{16, 0};
181 static const constexpr BitFieldInfo VectorSizeFieldInfo{
187 static const constexpr BitFieldInfo PointerVectorElementsFieldInfo{16, 0};
188 static const constexpr BitFieldInfo PointerVectorSizeFieldInfo{
191 static const constexpr BitFieldInfo PointerVectorAddressSpaceFieldInfo{
H A DCompression.h26 static constexpr int NoCompression = 0;
27 static constexpr int BestSpeedCompression = 1;
28 static constexpr int DefaultCompression = 6;
29 static constexpr int BestSizeCompression = 9;
/freebsd-12.1/contrib/libc++/include/
H A Dcompare222 constexpr bool __is_ordered() const noexcept {
233 constexpr operator weak_equality() const noexcept {
342 constexpr operator weak_equality() const noexcept {
615 constexpr _ClassifyCompCategory
636 constexpr auto __get_comp_type() {
641 if constexpr (_Cat == _None)
643 else if constexpr (_Cat == _WeakEq)
645 else if constexpr (_Cat == _StrongEq)
647 else if constexpr (_Cat == _PartialOrd)
649 else if constexpr (_Cat == _WeakOrd)
[all …]
H A Dchrono23 constexpr
159 constexpr
163 constexpr
167 constexpr
171 constexpr
175 constexpr
179 constexpr
185 constexpr
188 constexpr
191 constexpr
[all …]
H A Dspan20 inline constexpr ptrdiff_t dynamic_extent = -1;
51 static constexpr index_type extent = Extent;
54 constexpr span() noexcept;
64 constexpr span(Container& cont);
66 constexpr span(const Container& cont);
86 constexpr index_type size() const noexcept;
88 constexpr bool empty() const noexcept;
93 constexpr pointer data() const noexcept;
96 constexpr iterator begin() const noexcept;
97 constexpr iterator end() const noexcept;
[all …]
H A Doptional122 constexpr T *operator->();
124 constexpr T &operator*() &;
130 constexpr T &value() &;
131 constexpr T &&value() &&;
869 constexpr
882 constexpr
895 constexpr
904 constexpr
913 constexpr
922 constexpr
[all …]
H A Dvariant35 constexpr explicit variant(
42 constexpr explicit variant(
143 constexpr add_pointer_t<T>
147 constexpr add_pointer_t<const T>
358 constexpr _Trait __trait =
440 constexpr auto __fdiagonal =
451 constexpr auto __fmatrix =
1165 explicit constexpr variant(
1179 explicit constexpr variant(
1206 explicit constexpr variant(
[all …]
H A Dstring_view75 constexpr basic_string_view() noexcept;
79 constexpr basic_string_view(const charT* str);
84 constexpr const_iterator end() const noexcept;
93 constexpr size_type size() const noexcept;
94 constexpr size_type length() const noexcept;
96 constexpr bool empty() const noexcept;
101 constexpr const_reference front() const;
102 constexpr const_reference back() const;
106 constexpr void remove_prefix(size_type n);
107 constexpr void remove_suffix(size_type n);
[all …]
H A Diterator110 constexpr bool // constexpr in C++17
114 constexpr bool // constexpr in C++17
118 constexpr bool // constexpr in C++17
134 constexpr auto
244 constexpr bool // constexpr in C++17
248 constexpr bool // constexpr in C++17
252 constexpr bool // constexpr in C++17
256 constexpr bool // constexpr in C++17
260 constexpr bool // constexpr in C++17
264 constexpr bool // constexpr in C++17
[all …]
H A Dcstddef68 constexpr byte operator| (byte __lhs, byte __rhs) noexcept
76 constexpr byte& operator|=(byte& __lhs, byte __rhs) noexcept
79 constexpr byte operator& (byte __lhs, byte __rhs) noexcept
87 constexpr byte& operator&=(byte& __lhs, byte __rhs) noexcept
90 constexpr byte operator^ (byte __lhs, byte __rhs) noexcept
98 constexpr byte& operator^=(byte& __lhs, byte __rhs) noexcept
101 constexpr byte operator~ (byte __b) noexcept
H A Dtuple23 constexpr tuple();
24 explicit tuple(const T&...); // constexpr in C++14
26 explicit tuple(U&&...); // constexpr in C++14
30 tuple(const tuple<U...>&); // constexpr in C++14
32 tuple(tuple<U...>&&); // constexpr in C++14
73 inline constexpr unspecified ignore;
84 constexpr T make_from_tuple(Tuple&& t); // C++17
99 get(tuple<T...>&) noexcept; // constexpr in C++14
176 static constexpr bool __can_bind_reference() {
993 static constexpr size_t __not_found = -1;
[all …]
H A Dios33 static constexpr fmtflags dec;
34 static constexpr fmtflags fixed;
35 static constexpr fmtflags hex;
37 static constexpr fmtflags left;
38 static constexpr fmtflags oct;
58 static constexpr openmode app;
59 static constexpr openmode ate;
61 static constexpr openmode in;
66 static constexpr seekdir beg;
67 static constexpr seekdir cur;
[all …]
H A Dinitializer_list32 initializer_list() noexcept; // constexpr in C++14
34 size_t size() const noexcept; // constexpr in C++14
35 const E* begin() const noexcept; // constexpr in C++14
36 const E* end() const noexcept; // constexpr in C++14
39 template<class E> const E* begin(initializer_list<E> il) noexcept; // constexpr in C++14
40 template<class E> const E* end(initializer_list<E> il) noexcept; // constexpr in C++14
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DLaneBitmask.h44 constexpr static const char *const FormatStr = "%08X";
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-12.1/contrib/llvm/lib/Support/
H A DLowLevelType.cpp49 const constexpr LLT::BitFieldInfo LLT::ScalarSizeFieldInfo;
50 const constexpr LLT::BitFieldInfo LLT::PointerSizeFieldInfo;
51 const constexpr LLT::BitFieldInfo LLT::PointerAddressSpaceFieldInfo;
52 const constexpr LLT::BitFieldInfo LLT::VectorElementsFieldInfo;
53 const constexpr LLT::BitFieldInfo LLT::VectorSizeFieldInfo;
54 const constexpr LLT::BitFieldInfo LLT::PointerVectorElementsFieldInfo;
55 const constexpr LLT::BitFieldInfo LLT::PointerVectorSizeFieldInfo;
56 const constexpr LLT::BitFieldInfo LLT::PointerVectorAddressSpaceFieldInfo;
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DMsgPack.h25 constexpr support::endianness Endianness = support::big;
29 #define HANDLE_MP_FIRST_BYTE(ID, NAME) constexpr uint8_t NAME = ID;
41 #define HANDLE_MP_FIX_BITS(ID, NAME) constexpr uint8_t NAME = ID;
54 #define HANDLE_MP_FIX_BITS_MASK(ID, NAME) constexpr uint8_t NAME = ID;
63 #define HANDLE_MP_FIX_MAX(ID, NAME) constexpr uint8_t NAME = ID;
73 #define HANDLE_MP_FIX_LEN(ID, NAME) constexpr uint8_t NAME = ID;
86 #define HANDLE_MP_FIX_MIN(ID, NAME) constexpr int8_t NAME = ID;
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_rtems.h26 constexpr const char *kFormatDemangle = "{{{symbol:%s}}}";
27 constexpr uptr kFormatDemangleMax = 1024; // Arbitrary.
30 constexpr const char *kFormatFunction = "{{{pc:%p}}}";
31 constexpr uptr kFormatFunctionMax = 64; // More than big enough for 64-bit hex.
34 constexpr const char *kFormatData = "{{{data:%p}}}";
37 constexpr const char *kFormatFrame = " [%u] IP: %p";
H A Dsanitizer_symbolizer_fuchsia.h25 constexpr const char *kFormatDemangle = "{{{symbol:%s}}}";
26 constexpr uptr kFormatDemangleMax = 1024; // Arbitrary.
29 constexpr const char *kFormatFunction = "{{{pc:%p}}}";
30 constexpr uptr kFormatFunctionMax = 64; // More than big enough for 64-bit hex.
33 constexpr const char *kFormatData = "{{{data:%p}}}";
36 constexpr const char *kFormatFrame = "{{{bt:%u:%p}}}";
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_utils.h58 constexpr size_t gcd(size_t a, size_t b) { in gcd()
62 constexpr size_t lcm(size_t a, size_t b) { return a * b / gcd(a, b); } in lcm()
64 constexpr size_t nearest_boundary(size_t number, size_t multiple) { in nearest_boundary()
68 constexpr size_t next_pow2_helper(size_t num, size_t acc) { in next_pow2_helper()
72 constexpr size_t next_pow2(size_t number) { in next_pow2()
76 template <class T> constexpr T &max(T &A, T &B) { return A > B ? A : B; } in max()
78 template <class T> constexpr T &min(T &A, T &B) { return A <= B ? A : B; } in min()
80 constexpr ptrdiff_t diff(uintptr_t A, uintptr_t B) { in diff()
H A Dxray_x86_64.cc57 static constexpr size_t BufSize = 256; in readValueFromFile()
118 static constexpr uint8_t CallOpCode = 0xe8;
119 static constexpr uint16_t MovR10Seq = 0xba41;
120 static constexpr uint16_t Jmp9Seq = 0x09eb;
121 static constexpr uint16_t Jmp20Seq = 0x14eb;
122 static constexpr uint16_t Jmp15Seq = 0x0feb;
123 static constexpr uint8_t JmpOpCode = 0xe9;
124 static constexpr uint8_t RetOpCode = 0xc3;
125 static constexpr uint16_t NopwSeq = 0x9066;
127 static constexpr int64_t MinOffset{std::numeric_limits<int32_t>::min()};
[all …]
/freebsd-12.1/contrib/libc++/include/experimental/
H A Dpropagate_const60 constexpr propagate_const() = default;
62 constexpr propagate_const(propagate_const&& p) = default;
73 explicit constexpr operator bool() const;
74 constexpr const element_type* operator->() const;
76 constexpr const element_type& operator*() const;
77 constexpr const element_type* get() const;
80 constexpr element_type* operator->();
81 constexpr operator element_type*(); // Not always defined
82 constexpr element_type& operator*();
83 constexpr element_type* get();
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DXRayInstr.h38 constexpr XRayInstrMask None = 0;
39 constexpr XRayInstrMask Function = 1U << XRIO_Function;
40 constexpr XRayInstrMask Custom = 1U << XRIO_Custom;
41 constexpr XRayInstrMask Typed = 1U << XRIO_Typed;
42 constexpr XRayInstrMask All = Function | Custom | Typed;
/freebsd-12.1/contrib/libc++/src/
H A Dtypeinfo.cpp28 constexpr size_t fnv_offset_basis = 14695981039346656037ull; in hash_code()
29 constexpr size_t fnv_prime = 10995116282110ull; in hash_code()
31 constexpr size_t fnv_offset_basis = 2166136261ull; in hash_code()
32 constexpr size_t fnv_prime = 16777619ull; in hash_code()

12345678910>>...12