Home
last modified time | relevance | path

Searched refs:Span (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.sub/
H A Dsubspan.pass.cpp28 template <typename Span, size_t Offset, size_t Count>
29 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
37 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
47 template <typename Span, size_t Offset>
48 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
58 …static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Span::ext… in testConstexprSpan()
67 template <typename Span, size_t Offset, size_t Count>
68 void testRuntimeSpan(Span sp) in testRuntimeSpan()
86 template <typename Span, size_t Offset>
87 void testRuntimeSpan(Span sp) in testRuntimeSpan()
[all …]
H A Dlast.pass.cpp27 template <typename Span, size_t Count>
28 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
36 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
37 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
47 template <typename Span, size_t Count>
48 void testRuntimeSpan(Span sp) in testRuntimeSpan()
56 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testRuntimeSpan()
57 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testRuntimeSpan()
H A Dfirst.pass.cpp27 template <typename Span, size_t Count>
28 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
36 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
37 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
47 template <typename Span, size_t Count>
48 void testRuntimeSpan(Span sp) in testRuntimeSpan()
56 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testRuntimeSpan()
57 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testRuntimeSpan()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/include/automemcpy/
H A DFunctionDescriptor.h60 SizeSpan Span; member
62 COMPARABLE_AND_HASHABLE(Contiguous, Span)
73 SizeSpan Span; member
75 COMPARABLE_AND_HASHABLE(Overlap, Span)
81 SizeSpan Span; member
84 COMPARABLE_AND_HASHABLE(Loop, Span, BlockSize)
103 SizeSpan Span; member
105 COMPARABLE_AND_HASHABLE(Accelerator, Span)
/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.iterators/
H A Drbegin.pass.cpp21 template <class Span>
22 constexpr bool testConstexprSpan(Span s) in testConstexprSpan()
25 typename Span::reverse_iterator b = s.rbegin(); in testConstexprSpan()
32 const typename Span::size_type last = s.size() - 1; in testConstexprSpan()
40 template <class Span>
41 void testRuntimeSpan(Span s) in testRuntimeSpan()
43 typename Span::reverse_iterator b = s.rbegin(); in testRuntimeSpan()
50 const typename Span::size_type last = s.size() - 1; in testRuntimeSpan()
H A Dend.pass.cpp21 template <class Span>
22 constexpr bool testConstexprSpan(Span s) in testConstexprSpan()
25 typename Span::iterator e = s.end(); in testConstexprSpan()
32 typename Span::const_pointer last = &*(s.begin() + s.size() - 1); in testConstexprSpan()
41 template <class Span>
42 void testRuntimeSpan(Span s) in testRuntimeSpan()
44 typename Span::iterator e = s.end(); in testRuntimeSpan()
51 typename Span::const_pointer last = &*(s.begin() + s.size() - 1); in testRuntimeSpan()
H A Dbegin.pass.cpp21 template <class Span>
22 constexpr bool testConstexprSpan(Span s) in testConstexprSpan()
25 typename Span::iterator b = s.begin(); in testConstexprSpan()
40 template <class Span>
41 void testRuntimeSpan(Span s) in testRuntimeSpan()
43 typename Span::iterator b = s.begin(); in testRuntimeSpan()
H A Drend.pass.cpp21 template <class Span>
22 constexpr bool testConstexprSpan(Span s) in testConstexprSpan()
25 typename Span::reverse_iterator e = s.rend(); in testConstexprSpan()
39 template <class Span>
40 void testRuntimeSpan(Span s) in testRuntimeSpan()
42 typename Span::reverse_iterator e = s.rend(); in testRuntimeSpan()
/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.elem/
H A Dop_idx.pass.cpp23 template <typename Span>
24 constexpr bool testConstexprSpan(Span sp, size_t idx) in testConstexprSpan()
28 typename Span::reference r1 = sp[idx]; in testConstexprSpan()
29 typename Span::reference r2 = *(sp.data() + idx); in testConstexprSpan()
34 template <typename Span>
35 void testRuntimeSpan(Span sp, size_t idx) in testRuntimeSpan()
39 typename Span::reference r1 = sp[idx]; in testRuntimeSpan()
40 typename Span::reference r2 = *(sp.data() + idx); in testRuntimeSpan()
H A Dfront.pass.cpp25 template <typename Span>
26 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
33 template <typename Span>
34 void testRuntimeSpan(Span sp) in testRuntimeSpan()
40 template <typename Span>
41 void testEmptySpan(Span sp) in testEmptySpan()
H A Dback.pass.cpp25 template <typename Span>
26 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
32 template <typename Span>
33 void testRuntimeSpan(Span sp) in testRuntimeSpan()
39 template <typename Span>
40 void testEmptySpan(Span sp) in testEmptySpan()
H A Ddata.pass.cpp23 template <typename Span>
24 constexpr bool testConstexprSpan(Span sp, typename Span::pointer ptr) in testConstexprSpan()
31 template <typename Span>
32 void testRuntimeSpan(Span sp, typename Span::pointer ptr) in testRuntimeSpan()
/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.obs/
H A Dsize_bytes.pass.cpp24 template <typename Span>
25 constexpr bool testConstexprSpan(Span sp, size_t sz) in testConstexprSpan()
28 return (size_t) sp.size_bytes() == sz * sizeof(typename Span::element_type); in testConstexprSpan()
32 template <typename Span>
33 void testRuntimeSpan(Span sp, size_t sz) in testRuntimeSpan()
36 assert((size_t) sp.size_bytes() == sz * sizeof(typename Span::element_type)); in testRuntimeSpan()
H A Dsize.pass.cpp23 template <typename Span>
24 constexpr bool testConstexprSpan(Span sp, size_t sz) in testConstexprSpan()
31 template <typename Span>
32 void testRuntimeSpan(Span sp, size_t sz) in testRuntimeSpan()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DTrace.h143 class Span {
145 Span(llvm::Twine Name);
148 Span(llvm::Twine Name, const Metric &LatencyMetric);
149 ~Span();
158 Span(std::pair<Context, llvm::json::Object *>);
H A DTrace.cpp318 Span::Span(llvm::Twine Name) : Span(Name, SpanLatency) {} in Span() function in clang::clangd::trace::Span
319 Span::Span(llvm::Twine Name, const Metric &LatencyMetric) in Span() function in clang::clangd::trace::Span
320 : Span(makeSpanContext(Name, LatencyMetric)) {} in Span()
321 Span::Span(std::pair<Context, llvm::json::Object *> Pair) in Span() function in clang::clangd::trace::Span
324 Span::~Span() { in ~Span()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DProjectAware.cpp83 trace::Span Tracer("ProjectAwareIndex::lookup"); in lookup()
91 trace::Span Tracer("ProjectAwareIndex::refs"); in refs()
100 trace::Span Tracer("ProjectAwareIndex::fuzzyFind"); in fuzzyFind()
109 trace::Span Tracer("ProjectAwareIndex::relations"); in relations()
116 trace::Span Tracer("ProjectAwareIndex::indexedFiles"); in indexedFiles()
H A DMemIndex.cpp31 trace::Span Tracer("MemIndex fuzzyFind"); in fuzzyFind()
60 trace::Span Tracer("MemIndex lookup"); in lookup()
70 trace::Span Tracer("MemIndex refs"); in refs()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DCodeGen.cpp290 for (size_t I = C->Span.Begin; I < C->Span.End; ++I) in getImplementation()
293 for (size_t I = C->Span.Begin; I < C->Span.End; I *= 2) in getImplementation()
296 Impl.Loop = Loop{L->Span.End, ElementType{L->BlockSize}}; in getImplementation()
299 AL->Loop.Span.End, ElementType{AL->Loop.BlockSize}, in getImplementation()
302 Impl.Accelerator = Accelerator{A->Span.End}; in getImplementation()
338 return Stream << "Contiguous{" << O.Span << '}'; in operator <<()
341 return Stream << "Overlap{" << O.Span << '}'; in operator <<()
344 return Stream << "Loop{" << O.Span << ',' << O.BlockSize << '}'; in operator <<()
361 return Stream << "Accelerator{" << O.Span << '}'; in operator <<()
H A DRandomFunctionGenerator.cpp173 if (auto Span = AsSizeSpan(Begin, End)) { in As() local
175 Output.Span = *Span; in As()
183 if (auto Span = AsSizeSpan(Begin, End)) { in AsLoop() local
185 Output.Span = *Span; in AsLoop()
/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.objectrep/
H A Das_writable_bytes.pass.cpp26 template<typename Span>
27 void testRuntimeSpan(Span sp) in testRuntimeSpan()
38 assert(spBytes.extent == sizeof(typename Span::element_type) * sp.extent); in testRuntimeSpan()
H A Das_bytes.pass.cpp26 template<typename Span>
27 void testRuntimeSpan(Span sp) in testRuntimeSpan()
38 assert(spBytes.extent == sizeof(typename Span::element_type) * sp.extent); in testRuntimeSpan()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DASTSignals.cpp17 trace::Span Span("ASTSignals::derive"); in derive() local
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp143 int Span = MaxOffset - MinOffset; in compressJumpTable() local
145 if (isUInt<8>(Span / 4)) { in compressJumpTable()
151 if (isUInt<16>(Span / 4)) { in compressJumpTable()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp185 trace::Span Tracer("Renameable"); in renameable()
251 trace::Span Tracer("FindOccurrencesWithinFile"); in findOccurrencesWithinFile()
423 trace::Span Tracer("LookupSiblingWithName"); in lookupSiblingWithName()
488 trace::Span Tracer("CheckName"); in checkName()
516 trace::Span Tracer("RenameWithinFile"); in renameWithinFile()
560 trace::Span Tracer("FindOccurrencesOutsideFile"); in findOccurrencesOutsideFile()
611 trace::Span Tracer("RenameOutsideFile"); in renameOutsideFile()
694 trace::Span Tracer("Rename flow"); in rename()
807 trace::Span Tracer("BuildRenameEdit"); in buildRenameEdit()
873 trace::Span Tracer("AdjustRenameRanges"); in adjustRenameRanges()
[all …]

123