Home
last modified time | relevance | path

Searched refs:underlying (Results 1 – 25 of 214) sorted by relevance

123456789

/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.formatter/
H A Dunderlying.pass.cpp19 // constexpr formatter<T, charT>& underlying() noexcept;
20 // constexpr const formatter<T, charT>& underlying() const noexcept;
31 [[maybe_unused]] std::same_as<std::formatter<int, CharT>&> decltype(auto) underlying = formatter.underlying(); in test_underlying()
32 static_assert(noexcept(formatter.underlying())); in test_underlying()
36 [[maybe_unused]] std::same_as<const std::formatter<int, CharT>&> decltype(auto) underlying = formatter.underlying(); in test_underlying()
37 static_assert(noexcept(formatter.underlying())); in test_underlying()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Denum-size.rst6 Recommends the smallest possible underlying type for an ``enum`` or ``enum``
9 recommend the smallest possible underlying type that can represent all the
10 values of the ``enum``. The suggested underlying types are the integral types
13 Using the suggested underlying types can help reduce the memory footprint of
29 The `Color` ``enum`` uses the default underlying type, which is ``int`` in this
46 In the revised version of the `Color` ``enum``, the underlying type has been
50 By using a smaller underlying type, the memory footprint of the `Color`
/llvm-project/llvm/test/DebugInfo/Generic/
H A Ddebug-info-enum.ll2 ; * test value representation for each possible underlying integer type
36 ; Test enumeration with a fixed "signed char" underlying type.
54 ; Test enumeration with a fixed "unsigned char" underlying type.
68 ; Test enumeration with a fixed "short" underlying type.
86 ; Test enumeration with a fixed "unsigned short" underlying type.
100 ; Test enumeration with a fixed "int" underlying type.
118 ; Test enumeration with a fixed "unsigend int" underlying type.
132 ; Test enumeration with a fixed "long long" underlying type.
150 ; Test enumeration with a fixed "unsigned long long" underlying type.
164 ; Test enumeration without a fixed underlying typ
[all...]
/llvm-project/mlir/test/lib/Analysis/DataFlow/
H A DTestDenseDataFlowAnalysis.h20 /// This lattice represents a single underlying value for an SSA value.
23 /// Create an underlying value state with a known underlying value.
30 /// Returns the underlying value.
36 /// Join two underlying values. If there are conflicting underlying values,
49 /// Compare underlying values.
185 /// edges to determine single underlying values for block arguments. This
193 /// The underlying value of the results of an operation are not known.
206 /// At an entry point, the underlying valu
211 const UnderlyingValueLattice *underlying; getMostUnderlyingValue() local
[all...]
/llvm-project/lldb/source/Interpreter/
H A DCommandAlias.cpp207 auto underlying = GetUnderlyingCommand(); in Desugar() local
208 if (!underlying) in Desugar()
211 if (underlying->IsAlias()) { in Desugar()
214 auto desugared = ((CommandAlias *)underlying.get())->Desugar(); in Desugar()
221 return {underlying, GetOptionArguments()}; in Desugar()
/llvm-project/clang/test/CodeGenObjC/
H A Dobjc-fixed-enum.m2 // The DWARF standard says the underlying data type of an enum may be
4 // so the debugger knows about the signedness of the underlying type.
9 // Enum with no specified underlying type
21 // Enum declared with a fixed underlying type
/llvm-project/clang/test/SemaObjC/
H A Denum-fixed-type.m6 # error Enumerations with a fixed underlying type are not supported
11 # error Enumerations with a fixed underlying type are not supported
45 …lem } DerivedEnum; // expected-error {{non-integral type 'BaseEnum' is an invalid underlying type}}
H A Dblocks.m76 // In C, enum constants have the type of the underlying integer type, not the
152 // Since we fixed the underlying type of the enum, this is considered a
210 // Since we fixed the underlying type of the enum, these are considered
/llvm-project/clang/test/FixIt/
H A Dfixit-format-ios-nopedantic.m11 // For thumbv7-apple-ios8.0.0 the underlying type of ssize_t is long
12 // and the underlying type of size_t is unsigned long.
H A Dfixit-format-ios.m12 // For thumbv7-apple-ios8.0.0 the underlying type of ssize_t is long
13 // and the underlying type of size_t is unsigned long.
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.chunk.by/range.chunk.by.iter/
H A Dderef.pass.cpp35 Underlying underlying{Iter{array.data()}, Sent{Iter{array.data() + array.size()}}}; in test()
36 ChunkByView view{underlying, std::ranges::less_equal{}}; in test() local
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dmisplaced-const.rst22 The check does not diagnose when the underlying ``typedef``/``using`` type is a
25 (or disallowed) on the underlying pointee type.
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dredundant-casting.rst22 refer to the same underlying type, as well as bitfield-related casts and casts
36 `true`, it will resolve all type aliases and operate on the underlying
/llvm-project/libc/test/include/
H A DCMakeLists.txt53 # of the underlying functions which the type generic macros may dispatch
76 # of the underlying functions which the type generic macros may dispatch
/llvm-project/llvm/test/CodeGen/AMDGPU/
H A Dstore-barrier.ll5 ; an underlying object would be moved across the barrier. In this
7 ; won't have an underlying object.
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVImageOps.td28 underlying OpTypeImage (unless that underlying Sampled Type is
33 underlying OpTypeImage must be 0.
/llvm-project/mlir/include/mlir/IR/
H A DEnumAttr.td79 "bit position larger than underlying storage";
132 // The underlying type for the C++ enum class. An empty string mean the
133 // underlying type is not explicitly specified.
136 // The name of the utility function that converts a value of the underlying
140 // std::optional<<qualified-enum-class-name>> <fn-name>(<underlying-type>);
171 // The underlying Attribute class, which holds the enum value
403 // Op attribute getters should return the underlying C++ enum type.
406 // Convert from attribute to the underlying C++ type in op getters.
/llvm-project/mlir/test/Dialect/SPIRV/IR/
H A Dimage-ops.mlir40 … @+1 {{the component type of result must be the same as sampled type of the underlying image type}}
48 // expected-error @+1 {{the Dim operand of the underlying image type must be 2D, Cube, or Rect}}
56 // expected-error @+1 {{the MS operand of the underlying image type must be 0}}
/llvm-project/clang/test/Modules/
H A Dsignal.m7 // The dead symlink is still around, but the underlying lock file is gone.
/llvm-project/libcxx/docs/DesignDocs/
H A DFileTimeType.rst89 providing glorified C++ wrappers for it. If the underlying API supports
91 on users that are not present in the underlying filesystem.
93 Having a smaller range that the underlying filesystem forces the
144 the underlying system interfaces? If it wasn't good enough for them, then it
155 supported by the underlying filesystem; meaning ``last_write_time(p)`` will
179 with at least the same range and resolution of the underlying filesystem. The
252 what the underlying system uses, and because it might allow us to match
376 underlying filesystem uses the ``timespec`` struct for the same purpose.
/llvm-project/libcxx/include/__format/
H A Drange_default_formatter.h134 __underlying_.underlying().set_brackets({}, {});
135 __underlying_.underlying().set_separator(_LIBCPP_STATICALLY_WIDEN(_CharT, ": "));
197 // copy of the underlying data. The basic_string_view formatter
H A Drange_formatter.h52 _LIBCPP_HIDE_FROM_ABI constexpr formatter<_Tp, _CharT>& underlying() noexcept { return __underlying_; } in underlying() function
53 _LIBCPP_HIDE_FROM_ABI constexpr const formatter<_Tp, _CharT>& underlying() const noexcept { return __underlying_; } in underlying() function
76 // range-underlying-spec: in parse()
82 // processed by the underlying. For example {:-} for a range in invalid, in parse()
91 // However this test makes sure the underlying formatter left the parser in in parse()
103 // range-underlying-spec. in parse()
111 std::__throw_format_error("Type s and an underlying format specification can't be used together"); in parse()
112 std::__throw_format_error("Type ?s and an underlying format specification can't be used together"); in parse()
172 // copy of the underlying data. The basic_string_view formatter in __format_as_string()
250 "the underlying' in __parse_empty_range_underlying_spec()
[all...]
/llvm-project/llvm/docs/HistoricalNotes/
H A D2002-06-25-MegaPatchInfo.txt29 BasicBlock::iterator) now produces a reference to the underlying type (same
30 example: Instruction&) instead of a pointer to the underlying object. This
/llvm-project/flang/include/flang/Optimizer/CodeGen/
H A DCGOps.td43 - shape: A vector that is the runtime shape of the underlying array.
177 the underlying data is not contiguous.
178 - shape: A vector that is the runtime shape of the underlying array.
/llvm-project/llvm/docs/
H A DGetElementPtr.rst280 However, for the underlying integer computation implied, there is no
346 the actual underlying allocated object.
349 address is outside the actual underlying allocated object and not the address
370 Can I do GEP with a different pointer type than the type of the underlying object?
375 underlying integer computation. They need not correspond with the actual type of
376 the underlying object.
379 the underlying object. Types in this context serve only to specify memory size
390 The underlying integer computation is sufficiently defined; null has a defined
500 reconstruct this structure; sometimes the underlying addressing doesn't

123456789