/home/arjun/llvm-project/llvm/include/llvm/ADT/SmallVector.h
Line | Count | Source (jump to first uncovered line) |
1 | | //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===// |
2 | | // |
3 | | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | | // See https://llvm.org/LICENSE.txt for license information. |
5 | | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | | // |
7 | | //===----------------------------------------------------------------------===// |
8 | | // |
9 | | // This file defines the SmallVector class. |
10 | | // |
11 | | //===----------------------------------------------------------------------===// |
12 | | |
13 | | #ifndef LLVM_ADT_SMALLVECTOR_H |
14 | | #define LLVM_ADT_SMALLVECTOR_H |
15 | | |
16 | | #include "llvm/ADT/iterator_range.h" |
17 | | #include "llvm/Support/AlignOf.h" |
18 | | #include "llvm/Support/Compiler.h" |
19 | | #include "llvm/Support/ErrorHandling.h" |
20 | | #include "llvm/Support/MathExtras.h" |
21 | | #include "llvm/Support/MemAlloc.h" |
22 | | #include "llvm/Support/type_traits.h" |
23 | | #include <algorithm> |
24 | | #include <cassert> |
25 | | #include <cstddef> |
26 | | #include <cstdlib> |
27 | | #include <cstring> |
28 | | #include <initializer_list> |
29 | | #include <iterator> |
30 | | #include <limits> |
31 | | #include <memory> |
32 | | #include <new> |
33 | | #include <type_traits> |
34 | | #include <utility> |
35 | | |
36 | | namespace llvm { |
37 | | |
38 | | /// This is all the stuff common to all SmallVectors. |
39 | | /// |
40 | | /// The template parameter specifies the type which should be used to hold the |
41 | | /// Size and Capacity of the SmallVector, so it can be adjusted. |
42 | | /// Using 32 bit size is desirable to shrink the size of the SmallVector. |
43 | | /// Using 64 bit size is desirable for cases like SmallVector<char>, where a |
44 | | /// 32 bit size would limit the vector to ~4GB. SmallVectors are used for |
45 | | /// buffering bitcode output - which can exceed 4GB. |
46 | | template <class Size_T> class SmallVectorBase { |
47 | | protected: |
48 | | void *BeginX; |
49 | | Size_T Size = 0, Capacity; |
50 | | |
51 | | /// The maximum value of the Size_T used. |
52 | 396 | static constexpr size_t SizeTypeMax() { |
53 | 396 | return std::numeric_limits<Size_T>::max(); |
54 | 396 | } _ZN4llvm15SmallVectorBaseIjE11SizeTypeMaxEv Line | Count | Source | 52 | 396 | static constexpr size_t SizeTypeMax() { | 53 | 396 | return std::numeric_limits<Size_T>::max(); | 54 | 396 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorBaseImE11SizeTypeMaxEv |
55 | | |
56 | | SmallVectorBase() = delete; |
57 | | SmallVectorBase(void *FirstEl, size_t TotalCapacity) |
58 | 1.69k | : BeginX(FirstEl), Capacity(TotalCapacity) {} _ZN4llvm15SmallVectorBaseIjEC2EPvm Line | Count | Source | 58 | 1.69k | : BeginX(FirstEl), Capacity(TotalCapacity) {} |
_ZN4llvm15SmallVectorBaseImEC2EPvm Line | Count | Source | 58 | 2 | : BeginX(FirstEl), Capacity(TotalCapacity) {} |
|
59 | | |
60 | | /// This is an implementation of the grow() method which only works |
61 | | /// on POD-like data types and is out of line to reduce code duplication. |
62 | | /// This function will report a fatal error if it cannot increase capacity. |
63 | | void grow_pod(void *FirstEl, size_t MinCapacity, size_t TSize); |
64 | | |
65 | | public: |
66 | 261k | size_t size() const { return Size; } _ZNK4llvm15SmallVectorBaseIjE4sizeEv Line | Count | Source | 66 | 261k | size_t size() const { return Size; } |
_ZNK4llvm15SmallVectorBaseImE4sizeEv Line | Count | Source | 66 | 2 | size_t size() const { return Size; } |
|
67 | 15.4k | size_t capacity() const { return Capacity; } _ZNK4llvm15SmallVectorBaseIjE8capacityEv Line | Count | Source | 67 | 15.4k | size_t capacity() const { return Capacity; } |
Unexecuted instantiation: _ZNK4llvm15SmallVectorBaseImE8capacityEv |
68 | | |
69 | 3.82k | LLVM_NODISCARD bool empty() const { return !Size; } _ZNK4llvm15SmallVectorBaseIjE5emptyEv Line | Count | Source | 69 | 3.82k | LLVM_NODISCARD bool empty() const { return !Size; } |
Unexecuted instantiation: _ZNK4llvm15SmallVectorBaseImE5emptyEv |
70 | | |
71 | | /// Set the array size to \p N, which the current array must have enough |
72 | | /// capacity for. |
73 | | /// |
74 | | /// This does not construct or destroy any elements in the vector. |
75 | | /// |
76 | | /// Clients can use this in conjunction with capacity() to write past the end |
77 | | /// of the buffer when they know that more elements are available, and only |
78 | | /// update the size later. This avoids the cost of value initializing elements |
79 | | /// which will only be overwritten. |
80 | 8.42k | void set_size(size_t N) { |
81 | 8.42k | assert(N <= capacity()); |
82 | 8.42k | Size = N; |
83 | 8.42k | } _ZN4llvm15SmallVectorBaseIjE8set_sizeEm Line | Count | Source | 80 | 8.42k | void set_size(size_t N) { | 81 | 8.42k | assert(N <= capacity()); | 82 | 8.42k | Size = N; | 83 | 8.42k | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorBaseImE8set_sizeEm |
84 | | }; |
85 | | |
86 | | template <class T> |
87 | | using SmallVectorSizeType = |
88 | | typename std::conditional<sizeof(T) < 4 && sizeof(void *) >= 8, uint64_t, |
89 | | uint32_t>::type; |
90 | | |
91 | | /// Figure out the offset of the first element. |
92 | | template <class T, typename = void> struct SmallVectorAlignmentAndSize { |
93 | | AlignedCharArrayUnion<SmallVectorBase<SmallVectorSizeType<T>>> Base; |
94 | | AlignedCharArrayUnion<T> FirstEl; |
95 | | }; |
96 | | |
97 | | /// This is the part of SmallVectorTemplateBase which does not depend on whether |
98 | | /// the type T is a POD. The extra dummy template argument is used by ArrayRef |
99 | | /// to avoid unnecessarily requiring T to be complete. |
100 | | template <typename T, typename = void> |
101 | | class SmallVectorTemplateCommon |
102 | | : public SmallVectorBase<SmallVectorSizeType<T>> { |
103 | | using Base = SmallVectorBase<SmallVectorSizeType<T>>; |
104 | | |
105 | | /// Find the address of the first element. For this pointer math to be valid |
106 | | /// with small-size of 0 for T with lots of alignment, it's important that |
107 | | /// SmallVectorStorage is properly-aligned even for small-size of 0. |
108 | 3.55k | void *getFirstEl() const { |
109 | 3.55k | return const_cast<void *>(reinterpret_cast<const void *>( |
110 | 3.55k | reinterpret_cast<const char *>(this) + |
111 | 3.55k | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); |
112 | 3.55k | } _ZNK4llvm25SmallVectorTemplateCommonIlvE10getFirstElEv Line | Count | Source | 108 | 2.40k | void *getFirstEl() const { | 109 | 2.40k | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 2.40k | reinterpret_cast<const char *>(this) + | 111 | 2.40k | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 2.40k | } |
_ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE10getFirstElEv Line | Count | Source | 108 | 62 | void *getFirstEl() const { | 109 | 62 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 62 | reinterpret_cast<const char *>(this) + | 111 | 62 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 62 | } |
_ZNK4llvm25SmallVectorTemplateCommonIjvE10getFirstElEv Line | Count | Source | 108 | 86 | void *getFirstEl() const { | 109 | 86 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 86 | reinterpret_cast<const char *>(this) + | 111 | 86 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 86 | } |
_ZNK4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE10getFirstElEv Line | Count | Source | 108 | 181 | void *getFirstEl() const { | 109 | 181 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 181 | reinterpret_cast<const char *>(this) + | 111 | 181 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 181 | } |
_ZNK4llvm25SmallVectorTemplateCommonISt4pairIPvmEvE10getFirstElEv Line | Count | Source | 108 | 8 | void *getFirstEl() const { | 109 | 8 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 8 | reinterpret_cast<const char *>(this) + | 111 | 8 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 8 | } |
_ZNK4llvm25SmallVectorTemplateCommonIPvvE10getFirstElEv Line | Count | Source | 108 | 8 | void *getFirstEl() const { | 109 | 8 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 8 | reinterpret_cast<const char *>(this) + | 111 | 8 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 8 | } |
_ZNK4llvm25SmallVectorTemplateCommonIcvE10getFirstElEv Line | Count | Source | 108 | 4 | void *getFirstEl() const { | 109 | 4 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 4 | reinterpret_cast<const char *>(this) + | 111 | 4 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 4 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvE10getFirstElEv _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE10getFirstElEv Line | Count | Source | 108 | 26 | void *getFirstEl() const { | 109 | 26 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 26 | reinterpret_cast<const char *>(this) + | 111 | 26 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 26 | } |
_ZNK4llvm25SmallVectorTemplateCommonINS_9StringRefEvE10getFirstElEv Line | Count | Source | 108 | 16 | void *getFirstEl() const { | 109 | 16 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 16 | reinterpret_cast<const char *>(this) + | 111 | 16 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 16 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE10getFirstElEv _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvE10getFirstElEv Line | Count | Source | 108 | 10 | void *getFirstEl() const { | 109 | 10 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 10 | reinterpret_cast<const char *>(this) + | 111 | 10 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 10 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_2cl15OptionEnumValueEvE10getFirstElEv _ZNK4llvm25SmallVectorTemplateCommonIPKcvE10getFirstElEv Line | Count | Source | 108 | 8 | void *getFirstEl() const { | 109 | 8 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 8 | reinterpret_cast<const char *>(this) + | 111 | 8 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 8 | } |
_ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvE10getFirstElEv Line | Count | Source | 108 | 4 | void *getFirstEl() const { | 109 | 4 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 4 | reinterpret_cast<const char *>(this) + | 111 | 4 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 4 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvE10getFirstElEv CommandLine.cpp:_ZNK4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvE10getFirstElEv Line | Count | Source | 108 | 4 | void *getFirstEl() const { | 109 | 4 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 4 | reinterpret_cast<const char *>(this) + | 111 | 4 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 4 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonItvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonImvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_3vfs12YAMLVFSEntryEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjjEvE10getFirstElEv Unexecuted instantiation: YAMLParser.cpp:_ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE10getFirstElEv _ZNK4llvm25SmallVectorTemplateCommonIivE10getFirstElEv Line | Count | Source | 108 | 258 | void *getFirstEl() const { | 109 | 258 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 258 | reinterpret_cast<const char *>(this) + | 111 | 258 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 258 | } |
_ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE10getFirstElEv Line | Count | Source | 108 | 331 | void *getFirstEl() const { | 109 | 331 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 331 | reinterpret_cast<const char *>(this) + | 111 | 331 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 331 | } |
_ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE10getFirstElEv Line | Count | Source | 108 | 124 | void *getFirstEl() const { | 109 | 124 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 124 | reinterpret_cast<const char *>(this) + | 111 | 124 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 124 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIbvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE10getFirstElEv _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvE10getFirstElEv Line | Count | Source | 108 | 24 | void *getFirstEl() const { | 109 | 24 | return const_cast<void *>(reinterpret_cast<const void *>( | 110 | 24 | reinterpret_cast<const char *>(this) + | 111 | 24 | offsetof(SmallVectorAlignmentAndSize<T>, FirstEl))); | 112 | 24 | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7APFloatEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_5APIntEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir9AttributeENS_9StringRefEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir4TypeENS_9StringRefEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE10getFirstElEv Unexecuted instantiation: SymbolTable.cpp:_ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE10getFirstElEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE10getFirstElEv |
113 | | // Space after 'FirstEl' is clobbered, do not add any instance vars after it. |
114 | | |
115 | | protected: |
116 | 1.66k | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} _ZN4llvm25SmallVectorTemplateCommonIlvEC2Em Line | Count | Source | 116 | 1.10k | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvEC2Em Line | Count | Source | 116 | 31 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIjvEC2Em Line | Count | Source | 116 | 43 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvEC2Em Line | Count | Source | 116 | 90 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIcvEC2Em Line | Count | Source | 116 | 2 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvEC2Em Line | Count | Source | 116 | 8 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvEC2Em Line | Count | Source | 116 | 26 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIPvvEC2Em Line | Count | Source | 116 | 4 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonISt4pairIPvmEvEC2Em Line | Count | Source | 116 | 4 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIPKcvEC2Em Line | Count | Source | 116 | 4 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvEC2Em Line | Count | Source | 116 | 2 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvEC2Em _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvEC2Em Line | Count | Source | 116 | 10 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
CommandLine.cpp:_ZN4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvEC2Em Line | Count | Source | 116 | 2 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonImvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjjEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em _ZN4llvm25SmallVectorTemplateCommonIivEC2Em Line | Count | Source | 116 | 120 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIbvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvEC2Em _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvEC2Em Line | Count | Source | 116 | 60 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvEC2Em Line | Count | Source | 116 | 144 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvEC2Em Line | Count | Source | 116 | 12 | SmallVectorTemplateCommon(size_t Size) : Base(getFirstEl(), Size) {} |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7APFloatEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_5APIntEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir9AttributeENS_9StringRefEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir4TypeENS_9StringRefEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvEC2Em Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvEC2Em Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvEC2Em |
117 | | |
118 | 131 | void grow_pod(size_t MinCapacity, size_t TSize) { |
119 | 131 | Base::grow_pod(getFirstEl(), MinCapacity, TSize); |
120 | 131 | } _ZN4llvm25SmallVectorTemplateCommonIlvE8grow_podEmm Line | Count | Source | 118 | 92 | void grow_pod(size_t MinCapacity, size_t TSize) { | 119 | 92 | Base::grow_pod(getFirstEl(), MinCapacity, TSize); | 120 | 92 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIjvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPvmEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPvvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_2cl15OptionEnumValueEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIcvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPKcvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonItvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonImvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjjEvE8grow_podEmm Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE8grow_podEmm _ZN4llvm25SmallVectorTemplateCommonIivE8grow_podEmm Line | Count | Source | 118 | 18 | void grow_pod(size_t MinCapacity, size_t TSize) { | 119 | 18 | Base::grow_pod(getFirstEl(), MinCapacity, TSize); | 120 | 18 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIbvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE8grow_podEmm _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE8grow_podEmm Line | Count | Source | 118 | 17 | void grow_pod(size_t MinCapacity, size_t TSize) { | 119 | 17 | Base::grow_pod(getFirstEl(), MinCapacity, TSize); | 120 | 17 | } |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE8grow_podEmm Line | Count | Source | 118 | 4 | void grow_pod(size_t MinCapacity, size_t TSize) { | 119 | 4 | Base::grow_pod(getFirstEl(), MinCapacity, TSize); | 120 | 4 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE8grow_podEmm Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE8grow_podEmm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE8grow_podEmm |
121 | | |
122 | | /// Return true if this is a smallvector which has not had dynamic |
123 | | /// memory allocated for it. |
124 | 1.75k | bool isSmall() const { return this->BeginX == getFirstEl(); } _ZNK4llvm25SmallVectorTemplateCommonIlvE7isSmallEv Line | Count | Source | 124 | 1.20k | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE7isSmallEv Line | Count | Source | 124 | 31 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIjvE7isSmallEv Line | Count | Source | 124 | 43 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE7isSmallEv Line | Count | Source | 124 | 91 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIcvE7isSmallEv Line | Count | Source | 124 | 2 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE7isSmallEv _ZNK4llvm25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv Line | Count | Source | 124 | 8 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_2cl15OptionEnumValueEvE7isSmallEv _ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvE7isSmallEv Line | Count | Source | 124 | 2 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvE7isSmallEv CommandLine.cpp:_ZNK4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvE7isSmallEv Line | Count | Source | 124 | 2 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIPKcvE7isSmallEv Line | Count | Source | 124 | 4 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonISt4pairIPvmEvE7isSmallEv Line | Count | Source | 124 | 4 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIPvvE7isSmallEv Line | Count | Source | 124 | 4 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonImvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_3vfs12YAMLVFSEntryEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjjEvE7isSmallEv Unexecuted instantiation: YAMLParser.cpp:_ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE7isSmallEv _ZNK4llvm25SmallVectorTemplateCommonIivE7isSmallEv Line | Count | Source | 124 | 120 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE7isSmallEv Line | Count | Source | 124 | 169 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
_ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE7isSmallEv Line | Count | Source | 124 | 60 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIbvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE7isSmallEv _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvE7isSmallEv Line | Count | Source | 124 | 12 | bool isSmall() const { return this->BeginX == getFirstEl(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7APFloatEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_5APIntEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir4TypeENS_9StringRefEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir9AttributeENS_9StringRefEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE7isSmallEv Unexecuted instantiation: SymbolTable.cpp:_ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE7isSmallEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE7isSmallEv |
125 | | |
126 | | /// Put this vector in a state of being small. |
127 | 1 | void resetToSmall() { |
128 | 1 | this->BeginX = getFirstEl(); |
129 | 1 | this->Size = this->Capacity = 0; // FIXME: Setting Capacity to 0 is suspect. |
130 | 1 | } Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIlvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIcvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE12resetToSmallEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE12resetToSmallEv Line | Count | Source | 127 | 1 | void resetToSmall() { | 128 | 1 | this->BeginX = getFirstEl(); | 129 | 1 | this->Size = this->Capacity = 0; // FIXME: Setting Capacity to 0 is suspect. | 130 | 1 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIivE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE12resetToSmallEv Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE12resetToSmallEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE12resetToSmallEv |
131 | | |
132 | | public: |
133 | | using size_type = size_t; |
134 | | using difference_type = ptrdiff_t; |
135 | | using value_type = T; |
136 | | using iterator = T *; |
137 | | using const_iterator = const T *; |
138 | | |
139 | | using const_reverse_iterator = std::reverse_iterator<const_iterator>; |
140 | | using reverse_iterator = std::reverse_iterator<iterator>; |
141 | | |
142 | | using reference = T &; |
143 | | using const_reference = const T &; |
144 | | using pointer = T *; |
145 | | using const_pointer = const T *; |
146 | | |
147 | | using Base::capacity; |
148 | | using Base::empty; |
149 | | using Base::size; |
150 | | |
151 | | // forward iterator creation methods. |
152 | 214k | iterator begin() { return (iterator)this->BeginX; } _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE5beginEv Line | Count | Source | 152 | 124 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonIlvE5beginEv Line | Count | Source | 152 | 197k | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE5beginEv Line | Count | Source | 152 | 507 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonIjvE5beginEv Line | Count | Source | 152 | 411 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonISt4pairIPvmEvE5beginEv Line | Count | Source | 152 | 16 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonIPvvE5beginEv Line | Count | Source | 152 | 16 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonIcvE5beginEv Line | Count | Source | 152 | 4 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE5beginEv Line | Count | Source | 152 | 62 | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv Line | Count | Source | 152 | 110 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvE5beginEv Line | Count | Source | 152 | 6 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_2cl15OptionEnumValueEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvE5beginEv Line | Count | Source | 152 | 4 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIPKcvE5beginEv Line | Count | Source | 152 | 18 | iterator begin() { return (iterator)this->BeginX; } |
CommandLine.cpp:_ZN4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvE5beginEv Line | Count | Source | 152 | 10 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonItvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonImvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_3vfs12YAMLVFSEntryEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjjEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIivE5beginEv Line | Count | Source | 152 | 4.77k | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE5beginEv Line | Count | Source | 152 | 9.61k | iterator begin() { return (iterator)this->BeginX; } |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE5beginEv Line | Count | Source | 152 | 1.24k | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIbvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE5beginEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvE5beginEv Line | Count | Source | 152 | 242 | iterator begin() { return (iterator)this->BeginX; } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7APFloatEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_5APIntEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir9AttributeENS_9StringRefEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir4TypeENS_9StringRefEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE5beginEv Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE5beginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE5beginEv |
153 | 27.9k | const_iterator begin() const { return (const_iterator)this->BeginX; } _ZNK4llvm25SmallVectorTemplateCommonIlvE5beginEv Line | Count | Source | 153 | 14.2k | const_iterator begin() const { return (const_iterator)this->BeginX; } |
_ZNK4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE5beginEv Line | Count | Source | 153 | 24 | const_iterator begin() const { return (const_iterator)this->BeginX; } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIcvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE5beginEv _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE5beginEv Line | Count | Source | 153 | 4 | const_iterator begin() const { return (const_iterator)this->BeginX; } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonImvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIjvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjjEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIbvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE5beginEv _ZNK4llvm25SmallVectorTemplateCommonIivE5beginEv Line | Count | Source | 153 | 7.65k | const_iterator begin() const { return (const_iterator)this->BeginX; } |
_ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE5beginEv Line | Count | Source | 153 | 6.01k | const_iterator begin() const { return (const_iterator)this->BeginX; } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7APFloatEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_5APIntEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE5beginEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE5beginEv |
154 | 12.7k | iterator end() { return begin() + size(); } _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE3endEv Line | Count | Source | 154 | 62 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonIlvE3endEv Line | Count | Source | 154 | 6.78k | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE3endEv Line | Count | Source | 154 | 286 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonIjvE3endEv Line | Count | Source | 154 | 302 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonISt4pairIPvmEvE3endEv Line | Count | Source | 154 | 8 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonIPvvE3endEv Line | Count | Source | 154 | 8 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonIcvE3endEv Line | Count | Source | 154 | 2 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE3endEv Line | Count | Source | 154 | 28 | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvE3endEv Line | Count | Source | 154 | 42 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvE3endEv Line | Count | Source | 154 | 4 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_2cl15OptionEnumValueEvE3endEv _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvE3endEv Line | Count | Source | 154 | 2 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIPKcvE3endEv Line | Count | Source | 154 | 8 | iterator end() { return begin() + size(); } |
CommandLine.cpp:_ZN4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvE3endEv Line | Count | Source | 154 | 8 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonItvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonImvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_15ReplacementItemEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_3vfs12YAMLVFSEntryEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjjEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIivE3endEv Line | Count | Source | 154 | 1.47k | iterator end() { return begin() + size(); } |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE3endEv Line | Count | Source | 154 | 2.48k | iterator end() { return begin() + size(); } |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE3endEv Line | Count | Source | 154 | 1.17k | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIbvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE3endEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvE3endEv Line | Count | Source | 154 | 92 | iterator end() { return begin() + size(); } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_7APFloatEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_5APIntEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir9AttributeENS_9StringRefEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir4TypeENS_9StringRefEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE3endEv Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE3endEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE3endEv |
155 | 259 | const_iterator end() const { return begin() + size(); } _ZNK4llvm25SmallVectorTemplateCommonIlvE3endEv Line | Count | Source | 155 | 202 | const_iterator end() const { return begin() + size(); } |
_ZNK4llvm25SmallVectorTemplateCommonINS_11SmallVectorIlLj4EEEvE3endEv Line | Count | Source | 155 | 12 | const_iterator end() const { return begin() + size(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIjvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIcvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE3endEv _ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE3endEv Line | Count | Source | 155 | 45 | const_iterator end() const { return begin() + size(); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjPN4mlir5BlockEEvE3endEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE3endEv |
156 | | |
157 | | // reverse iterator creation methods. |
158 | 0 | reverse_iterator rbegin() { return reverse_iterator(end()); } Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE6rbeginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIjvE6rbeginEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE6rbeginEv |
159 | 0 | const_reverse_iterator rbegin() const{ return const_reverse_iterator(end()); } |
160 | 0 | reverse_iterator rend() { return reverse_iterator(begin()); } Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEvE4rendEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIjvE4rendEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEvE4rendEv |
161 | 0 | const_reverse_iterator rend() const { return const_reverse_iterator(begin());} |
162 | | |
163 | | size_type size_in_bytes() const { return size() * sizeof(T); } |
164 | | size_type max_size() const { |
165 | | return std::min(this->SizeTypeMax(), size_type(-1) / sizeof(T)); |
166 | | } |
167 | | |
168 | | size_t capacity_in_bytes() const { return capacity() * sizeof(T); } |
169 | | |
170 | | /// Return a pointer to the vector's buffer, even if empty(). |
171 | 0 | pointer data() { return pointer(begin()); } Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIcvE4dataEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE4dataEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIlvE4dataEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvE4dataEv |
172 | | /// Return a pointer to the vector's buffer, even if empty(). |
173 | 725 | const_pointer data() const { return const_pointer(begin()); } _ZNK4llvm25SmallVectorTemplateCommonIlvE4dataEv Line | Count | Source | 173 | 677 | const_pointer data() const { return const_pointer(begin()); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIcvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir18DiagnosticArgumentEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonImvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIjvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjjEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_9StringRefEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIbvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13OperationNameEvE4dataEv _ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE4dataEv Line | Count | Source | 173 | 48 | const_pointer data() const { return const_pointer(begin()); } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIivE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_7APFloatEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_5APIntEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir8LocationEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIPN4mlir5BlockEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE4dataEv Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEvE4dataEv |
174 | | |
175 | 197k | reference operator[](size_type idx) { |
176 | 197k | assert(idx < size()); |
177 | 197k | return begin()[idx]; |
178 | 197k | } _ZN4llvm25SmallVectorTemplateCommonIlvEixEm Line | Count | Source | 175 | 187k | reference operator[](size_type idx) { | 176 | 187k | assert(idx < size()); | 177 | 187k | return begin()[idx]; | 178 | 187k | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl6OptionEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairINS_9StringRefEjEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl6OptionEEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIPKcPNS_2cl10SubCommandEEvEixEm _ZN4llvm25SmallVectorTemplateCommonIPNS_2cl14OptionCategoryEvEixEm Line | Count | Source | 175 | 32 | reference operator[](size_type idx) { | 176 | 32 | assert(idx < size()); | 177 | 32 | return begin()[idx]; | 178 | 32 | } |
_ZN4llvm25SmallVectorTemplateCommonIPKcvEixEm Line | Count | Source | 175 | 6 | reference operator[](size_type idx) { | 176 | 6 | assert(idx < size()); | 177 | 6 | return begin()[idx]; | 178 | 6 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonItvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIcvEixEm _ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvEixEm Line | Count | Source | 175 | 58 | reference operator[](size_type idx) { | 176 | 58 | assert(idx < size()); | 177 | 58 | return begin()[idx]; | 178 | 58 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIbvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AffineMapEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIjvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvEixEm _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvEixEm Line | Count | Source | 175 | 6.80k | reference operator[](size_type idx) { | 176 | 6.80k | assert(idx < size()); | 177 | 6.80k | return begin()[idx]; | 178 | 6.80k | } |
_ZN4llvm25SmallVectorTemplateCommonIivEixEm Line | Count | Source | 175 | 3.14k | reference operator[](size_type idx) { | 176 | 3.14k | assert(idx < size()); | 177 | 3.14k | return begin()[idx]; | 178 | 3.14k | } |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir8FractionEvEixEm Line | Count | Source | 175 | 115 | reference operator[](size_type idx) { | 176 | 115 | assert(idx < size()); | 177 | 115 | return begin()[idx]; | 178 | 115 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonI15llvm_regmatch_tvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir6detail12ExpectedDiagEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvEixEm Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvEixEm |
179 | 26.7k | const_reference operator[](size_type idx) const { |
180 | 26.7k | assert(idx < size()); |
181 | 26.7k | return begin()[idx]; |
182 | 26.7k | } _ZNK4llvm25SmallVectorTemplateCommonIlvEixEm Line | Count | Source | 179 | 13.1k | const_reference operator[](size_type idx) const { | 180 | 13.1k | assert(idx < size()); | 181 | 13.1k | return begin()[idx]; | 182 | 13.1k | } |
Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvEixEm Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir10AffineExprEvEixEm Unexecuted instantiation: _ZNK4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvEixEm _ZNK4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvEixEm Line | Count | Source | 179 | 5.87k | const_reference operator[](size_type idx) const { | 180 | 5.87k | assert(idx < size()); | 181 | 5.87k | return begin()[idx]; | 182 | 5.87k | } |
_ZNK4llvm25SmallVectorTemplateCommonIivEixEm Line | Count | Source | 179 | 7.65k | const_reference operator[](size_type idx) const { | 180 | 7.65k | assert(idx < size()); | 181 | 7.65k | return begin()[idx]; | 182 | 7.65k | } |
|
183 | | |
184 | 0 | reference front() { |
185 | 0 | assert(!empty()); |
186 | 0 | return begin()[0]; |
187 | 0 | } Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPvvE5frontEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir12OpFoldResultEvE5frontEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11OpAsmParser11OperandTypeEvE5frontEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE5frontEv |
188 | 0 | const_reference front() const { |
189 | 0 | assert(!empty()); |
190 | 0 | return begin()[0]; |
191 | 0 | } |
192 | | |
193 | 3.47k | reference back() { |
194 | 3.47k | assert(!empty()); |
195 | 3.47k | return end()[-1]; |
196 | 3.47k | } CommandLine.cpp:_ZN4llvm25SmallVectorTemplateCommonIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordvE4backEv Line | Count | Source | 193 | 4 | reference back() { | 194 | 4 | assert(!empty()); | 195 | 4 | return end()[-1]; | 196 | 4 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_9StringRefEvE4backEv _ZN4llvm25SmallVectorTemplateCommonIivE4backEv Line | Count | Source | 193 | 176 | reference back() { | 194 | 176 | assert(!empty()); | 195 | 176 | return end()[-1]; | 196 | 176 | } |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_19SimpleKeyEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonINS_8OptionalIN4mlir5ValueEEEvE4backEv _ZN4llvm25SmallVectorTemplateCommonIlvE4backEv Line | Count | Source | 193 | 1.49k | reference back() { | 194 | 1.49k | assert(!empty()); | 195 | 1.49k | return end()[-1]; | 196 | 1.49k | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir5ValueEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEvE4backEv _ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex7UnknownEvE4backEv Line | Count | Source | 193 | 1.27k | reference back() { | 194 | 1.27k | assert(!empty()); | 195 | 1.27k | return end()[-1]; | 196 | 1.27k | } |
_ZN4llvm25SmallVectorTemplateCommonIN4mlir7Simplex12UndoLogEntryEvE4backEv Line | Count | Source | 193 | 430 | reference back() { | 194 | 430 | assert(!empty()); | 195 | 430 | return end()[-1]; | 196 | 430 | } |
_ZN4llvm25SmallVectorTemplateCommonIjvE4backEv Line | Count | Source | 193 | 88 | reference back() { | 194 | 88 | assert(!empty()); | 195 | 88 | return end()[-1]; | 196 | 88 | } |
Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9SubViewOp5RangeEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir9OperationEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIcvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIjNS_9StringRefEEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir4TypeEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir21MutableDictionaryAttrEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13NamedAttrListEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt4pairIN4mlir10IdentifierENS2_9AttributeEEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIPN4mlir6RegionEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir9AttributeEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir17FlatSymbolRefAttrEvE4backEv Unexecuted instantiation: _ZN4llvm25SmallVectorTemplateCommonIN4mlir13SymbolRefAttrEvE4backEv Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_111SymbolScopeEvE4backEv |
197 | | const_reference back() const { |
198 | | assert(!empty()); |
199 | | return end()[-1]; |
200 | | } |
201 | | }; |
202 | | |
203 | | /// SmallVectorTemplateBase<TriviallyCopyable = false> - This is where we put |
204 | | /// method implementations that are designed to work with non-trivial T's. |
205 | | /// |
206 | | /// We approximate is_trivially_copyable with trivial move/copy construction and |
207 | | /// trivial destruction. While the standard doesn't specify that you're allowed |
208 | | /// copy these types with memcpy, there is no way for the type to observe this. |
209 | | /// This catches the important case of std::pair<POD, POD>, which is not |
210 | | /// trivially assignable. |
211 | | template <typename T, bool = (is_trivially_copy_constructible<T>::value) && |
212 | | (is_trivially_move_constructible<T>::value) && |
213 | | std::is_trivially_destructible<T>::value> |
214 | | class SmallVectorTemplateBase : public SmallVectorTemplateCommon<T> { |
215 | | protected: |
216 | 92 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EEC2Em Line | Count | Source | 216 | 90 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EEC2Em Line | Count | Source | 216 | 2 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7APFloatELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_5APIntELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13NamedAttrListELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELb0EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEELb0EEC2Em |
217 | | |
218 | 123 | static void destroy_range(T *S, T *E) { |
219 | 299 | while (S != E) { |
220 | 176 | --E; |
221 | 176 | E->~T(); |
222 | 176 | } |
223 | 123 | } _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EE13destroy_rangeEPS2_S4_ Line | Count | Source | 218 | 121 | static void destroy_range(T *S, T *E) { | 219 | 295 | while (S != E) { | 220 | 174 | --E; | 221 | 174 | E->~T(); | 222 | 174 | } | 223 | 121 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EE13destroy_rangeEPS6_S8_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_ CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EE13destroy_rangeEPSH_SJ_ Line | Count | Source | 218 | 2 | static void destroy_range(T *S, T *E) { | 219 | 4 | while (S != E) { | 220 | 2 | --E; | 221 | 2 | E->~T(); | 222 | 2 | } | 223 | 2 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_3vfs12YAMLVFSEntryELb0EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EE13destroy_rangeEPS4_S6_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELb0EE13destroy_rangeEPS6_S8_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7APFloatELb0EE13destroy_rangeEPS1_S3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_5APIntELb0EE13destroy_rangeEPS1_S3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EE13destroy_rangeEPS9_SB_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13NamedAttrListELb0EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEELb0EE13destroy_rangeEPS6_S8_ |
224 | | |
225 | | /// Move the range [I, E) into the uninitialized memory starting with "Dest", |
226 | | /// constructing elements as needed. |
227 | | template<typename It1, typename It2> |
228 | 1 | static void uninitialized_move(It1 I, It1 E, It2 Dest) { |
229 | 1 | std::uninitialized_copy(std::make_move_iterator(I), |
230 | 1 | std::make_move_iterator(E), Dest); |
231 | 1 | } _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Line | Count | Source | 228 | 1 | static void uninitialized_move(It1 I, It1 E, It2 Dest) { | 229 | 1 | std::uninitialized_copy(std::make_move_iterator(I), | 230 | 1 | std::make_move_iterator(E), Dest); | 231 | 1 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_moveIPS1_S4_EEvT_S5_T0_ Unexecuted instantiation: CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EE18uninitialized_moveIPSH_SK_EEvT_SL_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_3vfs12YAMLVFSEntryELb0EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EE18uninitialized_moveIPS4_S7_EEvT_S8_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7APFloatELb0EE18uninitialized_moveIPS1_S4_EEvT_S5_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_5APIntELb0EE18uninitialized_moveIPS1_S4_EEvT_S5_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EE18uninitialized_moveIPS9_SC_EEvT_SD_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13NamedAttrListELb0EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_ |
232 | | |
233 | | /// Copy the range [I, E) onto the uninitialized memory starting with "Dest", |
234 | | /// constructing elements as needed. |
235 | | template<typename It1, typename It2> |
236 | 42 | static void uninitialized_copy(It1 I, It1 E, It2 Dest) { |
237 | 42 | std::uninitialized_copy(I, E, Dest); |
238 | 42 | } _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EE18uninitialized_copyIPKS2_PS2_EEvT_S8_T0_ Line | Count | Source | 236 | 42 | static void uninitialized_copy(It1 I, It1 E, It2 Dest) { | 237 | 42 | std::uninitialized_copy(I, E, Dest); | 238 | 42 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_ |
239 | | |
240 | | /// Grow the allocated memory (without initializing new elements), doubling |
241 | | /// the size of the allocated memory. Guarantees space for at least one more |
242 | | /// element, or MinSize more elements if specified. |
243 | | void grow(size_t MinSize = 0); |
244 | | |
245 | | public: |
246 | 0 | void push_back(const T &Elt) { |
247 | 0 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) |
248 | 0 | this->grow(); |
249 | 0 | ::new ((void*) this->end()) T(Elt); |
250 | 0 | this->set_size(this->size() + 1); |
251 | 0 | } Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EE9push_backERKS1_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EE9push_backERKS4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13NamedAttrListELb0EE9push_backERKS2_ |
252 | | |
253 | 50 | void push_back(T &&Elt) { |
254 | 50 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) |
255 | 50 | this->grow(); |
256 | 50 | ::new ((void*) this->end()) T(::std::move(Elt)); |
257 | 50 | this->set_size(this->size() + 1); |
258 | 50 | } _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EE9push_backEOS2_ Line | Count | Source | 253 | 48 | void push_back(T &&Elt) { | 254 | 48 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 255 | 48 | this->grow(); | 256 | 48 | ::new ((void*) this->end()) T(::std::move(Elt)); | 257 | 48 | this->set_size(this->size() + 1); | 258 | 48 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EE9push_backEOS6_ CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EE9push_backEOSH_ Line | Count | Source | 253 | 2 | void push_back(T &&Elt) { | 254 | 2 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 255 | 2 | this->grow(); | 256 | 2 | ::new ((void*) this->end()) T(::std::move(Elt)); | 257 | 2 | this->set_size(this->size() + 1); | 258 | 2 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_3vfs12YAMLVFSEntryELb0EE9push_backEOS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EE9push_backEOS4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7APFloatELb0EE9push_backEOS1_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_5APIntELb0EE9push_backEOS1_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EE9push_backEOS9_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELb0EE9push_backEOS6_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEELb0EE9push_backEOS6_ |
259 | | |
260 | 0 | void pop_back() { |
261 | 0 | this->set_size(this->size() - 1); |
262 | 0 | this->end()->~T(); |
263 | 0 | } Unexecuted instantiation: CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EE8pop_backEv |
264 | | }; |
265 | | |
266 | | // Define this out-of-line to dissuade the C++ compiler from inlining it. |
267 | | template <typename T, bool TriviallyCopyable> |
268 | 1 | void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { |
269 | 1 | // Ensure we can fit the new capacity. |
270 | 1 | // This is only going to be applicable when the capacity is 32 bit. |
271 | 1 | if (MinSize > this->SizeTypeMax()) |
272 | 0 | report_bad_alloc_error("SmallVector capacity overflow during allocation"); |
273 | 1 | |
274 | 1 | // Ensure we can meet the guarantee of space for at least one more element. |
275 | 1 | // The above check alone will not catch the case where grow is called with a |
276 | 1 | // default MinCapacity of 0, but the current capacity cannot be increased. |
277 | 1 | // This is only going to be applicable when the capacity is 32 bit. |
278 | 1 | if (this->capacity() == this->SizeTypeMax()) |
279 | 0 | report_bad_alloc_error("SmallVector capacity unable to grow"); |
280 | 1 | |
281 | 1 | // Always grow, even from zero. |
282 | 1 | size_t NewCapacity = size_t(NextPowerOf2(this->capacity() + 2)); |
283 | 1 | NewCapacity = std::min(std::max(NewCapacity, MinSize), this->SizeTypeMax()); |
284 | 1 | T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*sizeof(T))); |
285 | 1 | |
286 | 1 | // Move the elements over. |
287 | 1 | this->uninitialized_move(this->begin(), this->end(), NewElts); |
288 | 1 | |
289 | 1 | // Destroy the original elements. |
290 | 1 | destroy_range(this->begin(), this->end()); |
291 | 1 | |
292 | 1 | // If this wasn't grown from the inline copy, deallocate the old space. |
293 | 1 | if (!this->isSmall()) |
294 | 0 | free(this->begin()); |
295 | 1 | |
296 | 1 | this->BeginX = NewElts; |
297 | 1 | this->Capacity = NewCapacity; |
298 | 1 | } _ZN4llvm23SmallVectorTemplateBaseINS_11SmallVectorIlLj4EEELb0EE4growEm Line | Count | Source | 268 | 1 | void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { | 269 | 1 | // Ensure we can fit the new capacity. | 270 | 1 | // This is only going to be applicable when the capacity is 32 bit. | 271 | 1 | if (MinSize > this->SizeTypeMax()) | 272 | 0 | report_bad_alloc_error("SmallVector capacity overflow during allocation"); | 273 | 1 | | 274 | 1 | // Ensure we can meet the guarantee of space for at least one more element. | 275 | 1 | // The above check alone will not catch the case where grow is called with a | 276 | 1 | // default MinCapacity of 0, but the current capacity cannot be increased. | 277 | 1 | // This is only going to be applicable when the capacity is 32 bit. | 278 | 1 | if (this->capacity() == this->SizeTypeMax()) | 279 | 0 | report_bad_alloc_error("SmallVector capacity unable to grow"); | 280 | 1 | | 281 | 1 | // Always grow, even from zero. | 282 | 1 | size_t NewCapacity = size_t(NextPowerOf2(this->capacity() + 2)); | 283 | 1 | NewCapacity = std::min(std::max(NewCapacity, MinSize), this->SizeTypeMax()); | 284 | 1 | T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*sizeof(T))); | 285 | 1 | | 286 | 1 | // Move the elements over. | 287 | 1 | this->uninitialized_move(this->begin(), this->end(), NewElts); | 288 | 1 | | 289 | 1 | // Destroy the original elements. | 290 | 1 | destroy_range(this->begin(), this->end()); | 291 | 1 | | 292 | 1 | // If this wasn't grown from the inline copy, deallocate the old space. | 293 | 1 | if (!this->isSmall()) | 294 | 0 | free(this->begin()); | 295 | 1 | | 296 | 1 | this->BeginX = NewElts; | 297 | 1 | this->Capacity = NewCapacity; | 298 | 1 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7SMFixItELb0EE4growEm Unexecuted instantiation: CommandLine.cpp:_ZN4llvm23SmallVectorTemplateBaseIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_3vfs12YAMLVFSEntryELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_7APFloatELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_5APIntELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13NamedAttrListELb0EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEELb0EE4growEm |
299 | | |
300 | | /// SmallVectorTemplateBase<TriviallyCopyable = true> - This is where we put |
301 | | /// method implementations that are designed to work with trivially copyable |
302 | | /// T's. This allows using memcpy in place of copy/move construction and |
303 | | /// skipping destruction. |
304 | | template <typename T> |
305 | | class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> { |
306 | | protected: |
307 | 1.57k | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} _ZN4llvm23SmallVectorTemplateBaseIlLb1EEC2Em Line | Count | Source | 307 | 1.10k | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EEC2Em Line | Count | Source | 307 | 31 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIjLb1EEC2Em Line | Count | Source | 307 | 43 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIcLb1EEC2Em Line | Count | Source | 307 | 2 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em Line | Count | Source | 307 | 8 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EEC2Em Line | Count | Source | 307 | 26 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIPvLb1EEC2Em Line | Count | Source | 307 | 4 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseISt4pairIPvmELb1EEC2Em Line | Count | Source | 307 | 4 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIPKcLb1EEC2Em Line | Count | Source | 307 | 4 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseISt4pairINS_9StringRefEjELb1EEC2Em Line | Count | Source | 307 | 2 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl6OptionEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl10SubCommandEELb1EEC2Em _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl6OptionELb1EEC2Em Line | Count | Source | 307 | 10 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseImLb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjjELb1EEC2Em _ZN4llvm23SmallVectorTemplateBaseIiLb1EEC2Em Line | Count | Source | 307 | 120 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_19SimpleKeyELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir10AffineExprELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIbLb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir12OpFoldResultELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11OpAsmParser11OperandTypeELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13OperationNameELb1EEC2Em _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EEC2Em Line | Count | Source | 307 | 60 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EEC2Em Line | Count | Source | 307 | 144 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir8FractionELb1EEC2Em Line | Count | Source | 307 | 12 | SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9SubViewOp5RangeELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir9OperationELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjPN4mlir5BlockEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjNS_9StringRefEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir9AttributeENS_9StringRefEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir4TypeENS_9StringRefEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseI15llvm_regmatch_tLb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir6detail12ExpectedDiagELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir8LocationELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir21MutableDictionaryAttrELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EEC2Em Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13SymbolRefAttrELb1EEC2Em Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EEC2Em |
308 | | |
309 | | // No need to do a destroy loop for POD's. |
310 | 2.55k | static void destroy_range(T *, T *) {} _ZN4llvm23SmallVectorTemplateBaseIlLb1EE13destroy_rangeEPlS2_ Line | Count | Source | 310 | 2.05k | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE13destroy_rangeEPS4_S6_ Line | Count | Source | 310 | 31 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseIjLb1EE13destroy_rangeEPjS2_ Line | Count | Source | 310 | 45 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_ Line | Count | Source | 310 | 2 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE13destroy_rangeEPS5_S7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE13destroy_rangeEPS2_S4_ _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EE13destroy_rangeEPS3_S5_ Line | Count | Source | 310 | 2 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_ Line | Count | Source | 310 | 8 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl6OptionELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_2cl15OptionEnumValueELb1EE13destroy_rangeEPS2_S4_ _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_9StringRefEjELb1EE13destroy_rangeEPS3_S5_ Line | Count | Source | 310 | 2 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl6OptionEELb1EE13destroy_rangeEPS7_S9_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl10SubCommandEELb1EE13destroy_rangeEPS7_S9_ _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE13destroy_rangeEPS2_S4_ Line | Count | Source | 310 | 4 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseISt4pairIPvmELb1EE13destroy_rangeEPS3_S5_ Line | Count | Source | 310 | 4 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_ Line | Count | Source | 310 | 4 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseItLb1EE13destroy_rangeEPtS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseImLb1EE13destroy_rangeEPmS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EE13destroy_rangeEPS1_S3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjjELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_19SimpleKeyELb1EE13destroy_rangeEPS2_S4_ _ZN4llvm23SmallVectorTemplateBaseIiLb1EE13destroy_rangeEPiS2_ Line | Count | Source | 310 | 132 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE13destroy_rangeEPS3_S5_ Line | Count | Source | 310 | 180 | static void destroy_range(T *, T *) {} |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE13destroy_rangeEPS3_S5_ Line | Count | Source | 310 | 60 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir10AffineExprELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIbLb1EE13destroy_rangeEPbS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELb1EE13destroy_rangeEPS6_S8_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE13destroy_rangeEPS6_S8_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir12OpFoldResultELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11OpAsmParser11OperandTypeELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13OperationNameELb1EE13destroy_rangeEPS2_S4_ _ZN4llvm23SmallVectorTemplateBaseIN4mlir8FractionELb1EE13destroy_rangeEPS2_S4_ Line | Count | Source | 310 | 35 | static void destroy_range(T *, T *) {} |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9SubViewOp5RangeELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir9OperationELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjPN4mlir5BlockEELb1EE13destroy_rangeEPS5_S7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir4TypeENS_9StringRefEELb1EE13destroy_rangeEPS5_S7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir9AttributeENS_9StringRefEELb1EE13destroy_rangeEPS5_S7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjNS_9StringRefEELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseI15llvm_regmatch_tLb1EE13destroy_rangeEPS1_S3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir6detail12ExpectedDiagELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir8LocationELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir21MutableDictionaryAttrELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELb1EE13destroy_rangeEPS7_S9_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EE13destroy_rangeEPS3_S5_ Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE13destroy_rangeEPS2_S4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13SymbolRefAttrELb1EE13destroy_rangeEPS2_S4_ |
311 | | |
312 | | /// Move the range [I, E) onto the uninitialized memory |
313 | | /// starting with "Dest", constructing elements into it as needed. |
314 | | template<typename It1, typename It2> |
315 | 76 | static void uninitialized_move(It1 I, It1 E, It2 Dest) { |
316 | 76 | // Just do a copy. |
317 | 76 | uninitialized_copy(I, E, Dest); |
318 | 76 | } _ZN4llvm23SmallVectorTemplateBaseIlLb1EE18uninitialized_moveIPlS3_EEvT_S4_T0_ Line | Count | Source | 315 | 65 | static void uninitialized_move(It1 I, It1 E, It2 Dest) { | 316 | 65 | // Just do a copy. | 317 | 65 | uninitialized_copy(I, E, Dest); | 318 | 65 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE18uninitialized_moveIPcS3_EEvT_S4_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EE18uninitialized_moveIPS1_S4_EEvT_S5_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_ _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE18uninitialized_moveIPS3_S6_EEvT_S7_T0_ Line | Count | Source | 315 | 11 | static void uninitialized_move(It1 I, It1 E, It2 Dest) { | 316 | 11 | // Just do a copy. | 317 | 11 | uninitialized_copy(I, E, Dest); | 318 | 11 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE18uninitialized_moveIPS3_S6_EEvT_S7_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIiLb1EE18uninitialized_moveIPiS3_EEvT_S4_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9SubViewOp5RangeELb1EE18uninitialized_moveIPS3_S6_EEvT_S7_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE18uninitialized_moveIPS5_S8_EEvT_S9_T0_ Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE18uninitialized_moveIPS2_S5_EEvT_S6_T0_ |
319 | | |
320 | | /// Copy the range [I, E) onto the uninitialized memory |
321 | | /// starting with "Dest", constructing elements into it as needed. |
322 | | template<typename It1, typename It2> |
323 | 0 | static void uninitialized_copy(It1 I, It1 E, It2 Dest) { |
324 | 0 | // Arbitrary iterator types; just use the basic implementation. |
325 | 0 | std::uninitialized_copy(I, E, Dest); |
326 | 0 | } Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE18uninitialized_copyISt13move_iteratorIPS2_ES6_EEvT_S8_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES5_EEvT_SD_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyISt13move_iteratorIPcES4_EEvT_S6_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE18uninitialized_copyIPKS3_PS4_EEvT_SA_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_6detail27indexed_accessor_range_baseINS1_10ValueRangeENS1_6detail15ValueRangeOwnerES2_S2_S2_E8iteratorEPS2_EEvT_SD_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyISt13move_iteratorIPS2_ES6_EEvT_S8_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEPS2_EEvT_SD_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE18uninitialized_copyISt13move_iteratorIPS3_ES7_EEvT_S9_T0_ Unexecuted instantiation: Ops.cpp:_ZN4llvm23SmallVectorTemplateBaseIlLb1EE18uninitialized_copyINS_15mapped_iteratorIPKN4mlir9AttributeEZL23extractFromI64ArrayAttrS5_E4$_15lEEPlEEvT_SB_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE18uninitialized_copyINS1_17ValueTypeIteratorINS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandENS1_5ValueESB_SB_E8iteratorEEEPS2_EEvT_SG_T0_ Unexecuted instantiation: Ops.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateOffsetsERNS1_9OpBuilderENS1_8LocationEE4$_16S2_EEPS2_EEvT_SG_T0_ Unexecuted instantiation: Ops.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp16getOrCreateSizesERNS1_9OpBuilderENS1_8LocationEE4$_17S2_EEPS2_EEvT_SG_T0_ Unexecuted instantiation: Ops.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateStridesERNS1_9OpBuilderENS1_8LocationEE4$_18S2_EEPS2_EEvT_SG_T0_ Unexecuted instantiation: AffineMap.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPlZNKS1_9AffineMap12constantFoldENS_8ArrayRefIS2_EERNS_15SmallVectorImplIS2_EEE3$_0NS1_11IntegerAttrEEEPS2_EEvT_SH_T0_ Unexecuted instantiation: AsmPrinter.cpp:_ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE18uninitialized_copyINS_20filter_iterator_implIPKS5_ZN12_GLOBAL__N_113ModulePrinter21printOptionalAttrDictENS_8ArrayRefIS5_EENSD_INS_9StringRefEEEbE4$_17St26bidirectional_iterator_tagEEPS5_EEvT_SL_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyINS_6detail27indexed_accessor_range_baseINS1_11ResultRangeESt4pairIPNS1_9OperationElENS1_8OpResultESC_SC_E8iteratorEPS2_EEvT_SG_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKbZNS1_7Builder16getBoolArrayAttrENS_8ArrayRefIbEEE3$_0S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKiZNS1_7Builder15getI32ArrayAttrENS_8ArrayRefIiEEE3$_1S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKlZNS1_7Builder15getI64ArrayAttrENS_8ArrayRefIlEEE3$_2S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKlZNS1_7Builder17getIndexArrayAttrENS_8ArrayRefIlEEE3$_3S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKfZNS1_7Builder15getF32ArrayAttrENS_8ArrayRefIfEEE3$_4S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKdZNS1_7Builder15getF64ArrayAttrENS_8ArrayRefIdEEE3$_5S2_EEPS2_EEvT_SE_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKNS_9StringRefEZNS1_7Builder15getStrArrayAttrENS_8ArrayRefIS6_EEE3$_6S2_EEPS2_EEvT_SF_T0_ Unexecuted instantiation: Builders.cpp:_ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyINS_15mapped_iteratorIPKNS1_9AffineMapEZNS1_7Builder21getAffineMapArrayAttrENS_8ArrayRefIS6_EEE3$_7S2_EEPS2_EEvT_SF_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE18uninitialized_copyINS2_9Operation21dialect_attr_iteratorEPS5_EEvT_SB_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE18uninitialized_copyIN9__gnu_cxx17__normal_iteratorIPNS_11SmallStringILj8EEESt6vectorIS7_SaIS7_EEEEPS1_EEvT_SE_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir12OpFoldResultELb1EE18uninitialized_copyIPNS1_9AttributeEPS2_EEvT_S8_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EE18uninitialized_copyINS_6detail27indexed_accessor_range_baseINS1_14SuccessorRangeEPNS1_12BlockOperandES3_S3_S3_E8iteratorEPS3_EEvT_SE_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIiLb1EE18uninitialized_copyIN4mlir17DenseElementsAttr15ElementIteratorIiEEPiEEvT_S8_T0_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EE18uninitialized_copyINS_16pointer_iteratorIS3_S3_EEPS3_EEvT_S9_T0_ |
327 | | |
328 | | /// Copy the range [I, E) onto the uninitialized memory |
329 | | /// starting with "Dest", constructing elements into it as needed. |
330 | | template <typename T1, typename T2> |
331 | | static void uninitialized_copy( |
332 | | T1 *I, T1 *E, T2 *Dest, |
333 | | std::enable_if_t<std::is_same<typename std::remove_const<T1>::type, |
334 | 682 | T2>::value> * = nullptr) { |
335 | 682 | // Use memcpy for PODs iterated by pointers (which includes SmallVector |
336 | 682 | // iterators): std::uninitialized_copy optimizes to memmove, but we can |
337 | 682 | // use memcpy here. Note that I and E are iterators and thus might be |
338 | 682 | // invalid for memcpy if they are equal. |
339 | 682 | if (I != E) |
340 | 682 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); |
341 | 682 | } Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE18uninitialized_copyIKS4_S4_EEvPT_S9_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS8_E4typeESA_EE5valueEvE4typeE _ZN4llvm23SmallVectorTemplateBaseIlLb1EE18uninitialized_copyIllEEvPT_S4_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS3_E4typeES5_EE5valueEvE4typeE Line | Count | Source | 334 | 65 | T2>::value> * = nullptr) { | 335 | 65 | // Use memcpy for PODs iterated by pointers (which includes SmallVector | 336 | 65 | // iterators): std::uninitialized_copy optimizes to memmove, but we can | 337 | 65 | // use memcpy here. Note that I and E are iterators and thus might be | 338 | 65 | // invalid for memcpy if they are equal. | 339 | 65 | if (I != E) | 340 | 65 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); | 341 | 65 | } |
_ZN4llvm23SmallVectorTemplateBaseIlLb1EE18uninitialized_copyIKllEEvPT_S5_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS4_E4typeES6_EE5valueEvE4typeE Line | Count | Source | 334 | 556 | T2>::value> * = nullptr) { | 335 | 556 | // Use memcpy for PODs iterated by pointers (which includes SmallVector | 336 | 556 | // iterators): std::uninitialized_copy optimizes to memmove, but we can | 337 | 556 | // use memcpy here. Note that I and E are iterators and thus might be | 338 | 556 | // invalid for memcpy if they are equal. | 339 | 556 | if (I != E) | 340 | 556 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); | 341 | 556 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EE18uninitialized_copyIKS3_S3_EEvPT_S8_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS7_E4typeES9_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_2cl15OptionEnumValueELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EE18uninitialized_copyIKS3_S3_EEvPT_S8_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS7_E4typeES9_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS4_E4typeES6_EE5valueEvE4typeE _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Line | Count | Source | 334 | 2 | T2>::value> * = nullptr) { | 335 | 2 | // Use memcpy for PODs iterated by pointers (which includes SmallVector | 336 | 2 | // iterators): std::uninitialized_copy optimizes to memmove, but we can | 337 | 2 | // use memcpy here. Note that I and E are iterators and thus might be | 338 | 2 | // invalid for memcpy if they are equal. | 339 | 2 | if (I != E) | 340 | 2 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); | 341 | 2 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS3_E4typeES5_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIjLb1EE18uninitialized_copyIKjjEEvPT_S5_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS4_E4typeES6_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EE18uninitialized_copyIS1_S1_EEvPT_S5_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS4_E4typeES6_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE18uninitialized_copyIS4_S4_EEvPT_S8_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS7_E4typeES9_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE18uninitialized_copyIKS1_S1_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir10AffineExprELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE18uninitialized_copyIS6_S6_EEvPT_SA_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS9_E4typeESB_EE5valueEvE4typeE _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE18uninitialized_copyIS3_S3_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Line | Count | Source | 334 | 11 | T2>::value> * = nullptr) { | 335 | 11 | // Use memcpy for PODs iterated by pointers (which includes SmallVector | 336 | 11 | // iterators): std::uninitialized_copy optimizes to memmove, but we can | 337 | 11 | // use memcpy here. Note that I and E are iterators and thus might be | 338 | 11 | // invalid for memcpy if they are equal. | 339 | 11 | if (I != E) | 340 | 11 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); | 341 | 11 | } |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE18uninitialized_copyIKS3_S3_EEvPT_S8_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS7_E4typeES9_EE5valueEvE4typeE Line | Count | Source | 334 | 48 | T2>::value> * = nullptr) { | 335 | 48 | // Use memcpy for PODs iterated by pointers (which includes SmallVector | 336 | 48 | // iterators): std::uninitialized_copy optimizes to memmove, but we can | 337 | 48 | // use memcpy here. Note that I and E are iterators and thus might be | 338 | 48 | // invalid for memcpy if they are equal. | 339 | 48 | if (I != E) | 340 | 48 | memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T)); | 341 | 48 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE18uninitialized_copyIS3_S3_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIiLb1EE18uninitialized_copyIiiEEvPT_S4_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS3_E4typeES5_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIiLb1EE18uninitialized_copyIKiiEEvPT_S5_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS4_E4typeES6_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9SubViewOp5RangeELb1EE18uninitialized_copyIS3_S3_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE18uninitialized_copyIKS5_S5_EEvPT_SA_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS9_E4typeESB_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE18uninitialized_copyIS5_S5_EEvPT_S9_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS8_E4typeESA_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE18uninitialized_copyIKS6_S6_EEvPT_SB_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constISA_E4typeESC_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE18uninitialized_copyIKS2_S2_EEvPT_S7_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS6_E4typeES8_EE5valueEvE4typeE Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE18uninitialized_copyIS2_S2_EEvPT_S6_PT0_PNSt9enable_ifIXsr3std7is_sameINSt12remove_constIS5_E4typeES7_EE5valueEvE4typeE |
342 | | |
343 | | /// Double the size of the allocated memory, guaranteeing space for at |
344 | | /// least one more element or MinSize if specified. |
345 | 131 | void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); } _ZN4llvm23SmallVectorTemplateBaseIlLb1EE4growEm Line | Count | Source | 345 | 92 | void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIjLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPvmELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPvLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_2cl15OptionEnumValueELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl6OptionELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_9StringRefEjELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl6OptionEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl10SubCommandEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseItLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseImLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjjELb1EE4growEm Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_19SimpleKeyELb1EE4growEm _ZN4llvm23SmallVectorTemplateBaseIiLb1EE4growEm Line | Count | Source | 345 | 18 | void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIbLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir10AffineExprELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir12OpFoldResultELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE4growEm _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE4growEm Line | Count | Source | 345 | 17 | void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); } |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE4growEm Line | Count | Source | 345 | 4 | void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir8FractionELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11OpAsmParser11OperandTypeELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9SubViewOp5RangeELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir9OperationELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjPN4mlir5BlockEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjNS_9StringRefEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseI15llvm_regmatch_tLb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir6detail12ExpectedDiagELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir8LocationELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir21MutableDictionaryAttrELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13OperationNameELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EE4growEm Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13SymbolRefAttrELb1EE4growEm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE4growEm |
346 | | |
347 | | public: |
348 | 2.53k | void push_back(const T &Elt) { |
349 | 2.53k | if (LLVM_UNLIKELY(this->size() >= this->capacity())) |
350 | 2.53k | this->grow(); |
351 | 2.53k | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); |
352 | 2.53k | this->set_size(this->size() + 1); |
353 | 2.53k | } _ZN4llvm23SmallVectorTemplateBaseIlLb1EE9push_backERKl Line | Count | Source | 348 | 467 | void push_back(const T &Elt) { | 349 | 467 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 467 | this->grow(); | 351 | 467 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 467 | this->set_size(this->size() + 1); | 353 | 467 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPvmELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir18DiagnosticArgumentELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir5BlockELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE9push_backERKS2_ _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EE9push_backERKS3_ Line | Count | Source | 348 | 26 | void push_back(const T &Elt) { | 349 | 26 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 26 | this->grow(); | 351 | 26 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 26 | this->set_size(this->size() + 1); | 353 | 26 | } |
_ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_ Line | Count | Source | 348 | 32 | void push_back(const T &Elt) { | 349 | 32 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 32 | this->grow(); | 351 | 32 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 32 | this->set_size(this->size() + 1); | 353 | 32 | } |
_ZN4llvm23SmallVectorTemplateBaseIPNS_2cl6OptionELb1EE9push_backERKS3_ Line | Count | Source | 348 | 2 | void push_back(const T &Elt) { | 349 | 2 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 2 | this->grow(); | 351 | 2 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 2 | this->set_size(this->size() + 1); | 353 | 2 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairINS_9StringRefEjELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl6OptionEELb1EE9push_backERKS7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIPKcPNS_2cl10SubCommandEELb1EE9push_backERKS7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE9push_backERKc _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE9push_backERKS2_ Line | Count | Source | 348 | 2 | void push_back(const T &Elt) { | 349 | 2 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 2 | this->grow(); | 351 | 2 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 2 | this->set_size(this->size() + 1); | 353 | 2 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseItLb1EE9push_backERKt _ZN4llvm23SmallVectorTemplateBaseIjLb1EE9push_backERKj Line | Count | Source | 348 | 105 | void push_back(const T &Elt) { | 349 | 105 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 105 | this->grow(); | 351 | 105 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 105 | this->set_size(this->size() + 1); | 353 | 105 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjjELb1EE9push_backERKS2_ Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_19SimpleKeyELb1EE9push_backERKS2_ _ZN4llvm23SmallVectorTemplateBaseIiLb1EE9push_backERKi Line | Count | Source | 348 | 1.15k | void push_back(const T &Elt) { | 349 | 1.15k | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 1.15k | this->grow(); | 351 | 1.15k | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 1.15k | this->set_size(this->size() + 1); | 353 | 1.15k | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_15ReplacementItemELb1EE9push_backERKS1_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8OptionalIN4mlir5ValueEEELb1EE9push_backERKS4_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir10AffineExprELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir4TypeELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir12OpFoldResultELb1EE9push_backERKS2_ _ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE9push_backERKS3_ Line | Count | Source | 348 | 686 | void push_back(const T &Elt) { | 349 | 686 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 686 | this->grow(); | 351 | 686 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 686 | this->set_size(this->size() + 1); | 353 | 686 | } |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir8FractionELb1EE9push_backERKS2_ Line | Count | Source | 348 | 57 | void push_back(const T &Elt) { | 349 | 57 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 350 | 57 | this->grow(); | 351 | 57 | memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T)); | 352 | 57 | this->set_size(this->size() + 1); | 353 | 57 | } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir11OpAsmParser11OperandTypeELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseImLb1EE9push_backERKm Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir9OperationELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AffineMapELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjPN4mlir5BlockEELb1EE9push_backERKS5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE9push_backERKS5_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir6detail12ExpectedDiagELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir8LocationELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELb1EE9push_backERKS7_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELb1EE9push_backERKS6_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13OperationNameELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EE9push_backERKS3_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir13SymbolRefAttrELb1EE9push_backERKS2_ Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir17FlatSymbolRefAttrELb1EE9push_backERKS2_ Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_111SymbolScopeELb1EE9push_backERKS2_ |
354 | | |
355 | 1.38k | void pop_back() { this->set_size(this->size() - 1); } Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseISt4pairIN4mlir10IdentifierENS2_9AttributeEELb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPNS_2cl6OptionELb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIcLb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPKcLb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseItLb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseINS_9StringRefELb1EE8pop_backEv Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm23SmallVectorTemplateBaseIN12_GLOBAL__N_19SimpleKeyELb1EE8pop_backEv _ZN4llvm23SmallVectorTemplateBaseIiLb1EE8pop_backEv Line | Count | Source | 355 | 421 | void pop_back() { this->set_size(this->size() - 1); } |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex7UnknownELb1EE8pop_backEv Line | Count | Source | 355 | 421 | void pop_back() { this->set_size(this->size() - 1); } |
_ZN4llvm23SmallVectorTemplateBaseIN4mlir7Simplex12UndoLogEntryELb1EE8pop_backEv Line | Count | Source | 355 | 430 | void pop_back() { this->set_size(this->size() - 1); } |
_ZN4llvm23SmallVectorTemplateBaseIjLb1EE8pop_backEv Line | Count | Source | 355 | 75 | void pop_back() { this->set_size(this->size() - 1); } |
_ZN4llvm23SmallVectorTemplateBaseIlLb1EE8pop_backEv Line | Count | Source | 355 | 38 | void pop_back() { this->set_size(this->size() - 1); } |
Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir5ValueELb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir9OperationELb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIPN4mlir6RegionELb1EE8pop_backEv Unexecuted instantiation: _ZN4llvm23SmallVectorTemplateBaseIN4mlir9AttributeELb1EE8pop_backEv |
356 | | }; |
357 | | |
358 | | /// This class consists of common code factored out of the SmallVector class to |
359 | | /// reduce code duplication based on the SmallVector 'N' template parameter. |
360 | | template <typename T> |
361 | | class SmallVectorImpl : public SmallVectorTemplateBase<T> { |
362 | | using SuperClass = SmallVectorTemplateBase<T>; |
363 | | |
364 | | public: |
365 | | using iterator = typename SuperClass::iterator; |
366 | | using const_iterator = typename SuperClass::const_iterator; |
367 | | using reference = typename SuperClass::reference; |
368 | | using size_type = typename SuperClass::size_type; |
369 | | |
370 | | protected: |
371 | | // Default ctor - Initialize to empty. |
372 | | explicit SmallVectorImpl(unsigned N) |
373 | 1.66k | : SmallVectorTemplateBase<T>(N) {} _ZN4llvm15SmallVectorImplIlEC2Ej Line | Count | Source | 373 | 1.10k | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEEC2Ej Line | Count | Source | 373 | 31 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIjEC2Ej Line | Count | Source | 373 | 43 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEEC2Ej Line | Count | Source | 373 | 90 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIcEC2Ej Line | Count | Source | 373 | 2 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplINS_9StringRefEEC2Ej Line | Count | Source | 373 | 8 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIPNS_2cl14OptionCategoryEEC2Ej Line | Count | Source | 373 | 26 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIPvEC2Ej Line | Count | Source | 373 | 4 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplISt4pairIPvmEEC2Ej Line | Count | Source | 373 | 4 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIPKcEC2Ej Line | Count | Source | 373 | 4 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplISt4pairINS_9StringRefEjEEC2Ej Line | Count | Source | 373 | 2 | : SmallVectorTemplateBase<T>(N) {} |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIPKcPNS_2cl6OptionEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIPKcPNS_2cl10SubCommandEEEC2Ej _ZN4llvm15SmallVectorImplIPNS_2cl6OptionEEC2Ej Line | Count | Source | 373 | 10 | : SmallVectorTemplateBase<T>(N) {} |
CommandLine.cpp:_ZN4llvm15SmallVectorImplIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS0_IPKcEEbES8_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordEC2Ej Line | Count | Source | 373 | 2 | : SmallVectorTemplateBase<T>(N) {} |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplImEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjjEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7SMFixItEEC2Ej _ZN4llvm15SmallVectorImplIiEC2Ej Line | Count | Source | 373 | 120 | : SmallVectorTemplateBase<T>(N) {} |
Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_19SimpleKeyEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_15ReplacementItemEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIbEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir12OpFoldResultEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11OpAsmParser11OperandTypeEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13OperationNameEEC2Ej _ZN4llvm15SmallVectorImplIN4mlir7Simplex12UndoLogEntryEEC2Ej Line | Count | Source | 373 | 60 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEEC2Ej Line | Count | Source | 373 | 144 | : SmallVectorTemplateBase<T>(N) {} |
_ZN4llvm15SmallVectorImplIN4mlir8FractionEEC2Ej Line | Count | Source | 373 | 12 | : SmallVectorTemplateBase<T>(N) {} |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7APFloatEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_5APIntEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir9OperationEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjPN4mlir5BlockEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjNS_9StringRefEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir9AttributeENS_9StringRefEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir4TypeENS_9StringRefEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplI15llvm_regmatch_tEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir18DiagnosticArgumentEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir6detail12ExpectedDiagEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir8LocationEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir21MutableDictionaryAttrEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13NamedAttrListEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir5BlockEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir6RegionEEC2Ej Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13SymbolRefAttrEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEEC2Ej Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEEC2Ej |
374 | | |
375 | | public: |
376 | | SmallVectorImpl(const SmallVectorImpl &) = delete; |
377 | | |
378 | 1.63k | ~SmallVectorImpl() { |
379 | 1.63k | // Subclass has already destructed this vector's elements. |
380 | 1.63k | // If this wasn't grown from the inline copy, deallocate the old space. |
381 | 1.63k | if (!this->isSmall()) |
382 | 129 | free(this->begin()); |
383 | 1.63k | } _ZN4llvm15SmallVectorImplIlED2Ev Line | Count | Source | 378 | 1.10k | ~SmallVectorImpl() { | 379 | 1.10k | // Subclass has already destructed this vector's elements. | 380 | 1.10k | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 1.10k | if (!this->isSmall()) | 382 | 91 | free(this->begin()); | 383 | 1.10k | } |
_ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEED2Ev Line | Count | Source | 378 | 31 | ~SmallVectorImpl() { | 379 | 31 | // Subclass has already destructed this vector's elements. | 380 | 31 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 31 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 31 | } |
_ZN4llvm15SmallVectorImplIjED2Ev Line | Count | Source | 378 | 43 | ~SmallVectorImpl() { | 379 | 43 | // Subclass has already destructed this vector's elements. | 380 | 43 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 43 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 43 | } |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEED2Ev Line | Count | Source | 378 | 90 | ~SmallVectorImpl() { | 379 | 90 | // Subclass has already destructed this vector's elements. | 380 | 90 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 90 | if (!this->isSmall()) | 382 | 1 | free(this->begin()); | 383 | 90 | } |
_ZN4llvm15SmallVectorImplIcED2Ev Line | Count | Source | 378 | 2 | ~SmallVectorImpl() { | 379 | 2 | // Subclass has already destructed this vector's elements. | 380 | 2 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 2 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 2 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPNS_2cl14OptionCategoryEED2Ev _ZN4llvm15SmallVectorImplINS_9StringRefEED2Ev Line | Count | Source | 378 | 8 | ~SmallVectorImpl() { | 379 | 8 | // Subclass has already destructed this vector's elements. | 380 | 8 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 8 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 8 | } |
_ZN4llvm15SmallVectorImplISt4pairINS_9StringRefEjEED2Ev Line | Count | Source | 378 | 2 | ~SmallVectorImpl() { | 379 | 2 | // Subclass has already destructed this vector's elements. | 380 | 2 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 2 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 2 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIPKcPNS_2cl6OptionEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIPKcPNS_2cl10SubCommandEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPNS_2cl6OptionEED2Ev CommandLine.cpp:_ZN4llvm15SmallVectorImplIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS0_IPKcEEbES8_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordED2Ev Line | Count | Source | 378 | 2 | ~SmallVectorImpl() { | 379 | 2 | // Subclass has already destructed this vector's elements. | 380 | 2 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 2 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 2 | } |
_ZN4llvm15SmallVectorImplIPKcED2Ev Line | Count | Source | 378 | 4 | ~SmallVectorImpl() { | 379 | 4 | // Subclass has already destructed this vector's elements. | 380 | 4 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 4 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 4 | } |
_ZN4llvm15SmallVectorImplISt4pairIPvmEED2Ev Line | Count | Source | 378 | 4 | ~SmallVectorImpl() { | 379 | 4 | // Subclass has already destructed this vector's elements. | 380 | 4 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 4 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 4 | } |
_ZN4llvm15SmallVectorImplIPvED2Ev Line | Count | Source | 378 | 4 | ~SmallVectorImpl() { | 379 | 4 | // Subclass has already destructed this vector's elements. | 380 | 4 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 4 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 4 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplImED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7SMFixItEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjjEED2Ev Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_19SimpleKeyEED2Ev _ZN4llvm15SmallVectorImplIiED2Ev Line | Count | Source | 378 | 120 | ~SmallVectorImpl() { | 379 | 120 | // Subclass has already destructed this vector's elements. | 380 | 120 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 120 | if (!this->isSmall()) | 382 | 17 | free(this->begin()); | 383 | 120 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_15ReplacementItemEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir18DiagnosticArgumentEED2Ev _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEED2Ev Line | Count | Source | 378 | 144 | ~SmallVectorImpl() { | 379 | 144 | // Subclass has already destructed this vector's elements. | 380 | 144 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 144 | if (!this->isSmall()) | 382 | 16 | free(this->begin()); | 383 | 144 | } |
_ZN4llvm15SmallVectorImplIN4mlir7Simplex12UndoLogEntryEED2Ev Line | Count | Source | 378 | 60 | ~SmallVectorImpl() { | 379 | 60 | // Subclass has already destructed this vector's elements. | 380 | 60 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 60 | if (!this->isSmall()) | 382 | 4 | free(this->begin()); | 383 | 60 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIbED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir12OpFoldResultEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11OpAsmParser11OperandTypeEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir5BlockEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13OperationNameEED2Ev _ZN4llvm15SmallVectorImplIN4mlir8FractionEED2Ev Line | Count | Source | 378 | 12 | ~SmallVectorImpl() { | 379 | 12 | // Subclass has already destructed this vector's elements. | 380 | 12 | // If this wasn't grown from the inline copy, deallocate the old space. | 381 | 12 | if (!this->isSmall()) | 382 | 0 | free(this->begin()); | 383 | 12 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7APFloatEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_5APIntEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir9OperationEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjPN4mlir5BlockEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir4TypeENS_9StringRefEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir9AttributeENS_9StringRefEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjNS_9StringRefEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplI15llvm_regmatch_tED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir6detail12ExpectedDiagEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir8LocationEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir21MutableDictionaryAttrEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13NamedAttrListEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir6RegionEED2Ev Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13SymbolRefAttrEED2Ev Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEED2Ev |
384 | | |
385 | 544 | void clear() { |
386 | 544 | this->destroy_range(this->begin(), this->end()); |
387 | 544 | this->Size = 0; |
388 | 544 | } _ZN4llvm15SmallVectorImplIjE5clearEv Line | Count | Source | 385 | 2 | void clear() { | 386 | 2 | this->destroy_range(this->begin(), this->end()); | 387 | 2 | this->Size = 0; | 388 | 2 | } |
_ZN4llvm15SmallVectorImplIlE5clearEv Line | Count | Source | 385 | 477 | void clear() { | 386 | 477 | this->destroy_range(this->begin(), this->end()); | 387 | 477 | this->Size = 0; | 388 | 477 | } |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEE5clearEv Line | Count | Source | 385 | 30 | void clear() { | 386 | 30 | this->destroy_range(this->begin(), this->end()); | 387 | 30 | this->Size = 0; | 388 | 30 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir18DiagnosticArgumentEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_2cl15OptionEnumValueEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPNS_2cl6OptionEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplItE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplImE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7SMFixItEE5clearEv Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_19SimpleKeyEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIPvmEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_15ReplacementItemEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIbE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEE5clearEv _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE5clearEv Line | Count | Source | 385 | 23 | void clear() { | 386 | 23 | this->destroy_range(this->begin(), this->end()); | 387 | 23 | this->Size = 0; | 388 | 23 | } |
_ZN4llvm15SmallVectorImplIiE5clearEv Line | Count | Source | 385 | 12 | void clear() { | 386 | 12 | this->destroy_range(this->begin(), this->end()); | 387 | 12 | this->Size = 0; | 388 | 12 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir7Simplex12UndoLogEntryEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir9OperationEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir12OpFoldResultEE5clearEv Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEE5clearEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairINS_11SmallVectorIiLj1EEEN4mlir13SymbolRefAttrEEE5clearEv |
389 | | |
390 | 1.24k | void resize(size_type N) { |
391 | 1.24k | if (N < this->size()) { |
392 | 445 | this->destroy_range(this->begin()+N, this->end()); |
393 | 445 | this->set_size(N); |
394 | 804 | } else if (N > this->size()) { |
395 | 804 | if (this->capacity() < N) |
396 | 15 | this->grow(N); |
397 | 6.16k | for (auto I = this->end(), E = this->begin() + N; I != E; ++I) |
398 | 5.35k | new (&*I) T(); |
399 | 804 | this->set_size(N); |
400 | 804 | } |
401 | 1.24k | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplItE6resizeEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE6resizeEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6resizeEm _ZN4llvm15SmallVectorImplIlE6resizeEm Line | Count | Source | 390 | 1.22k | void resize(size_type N) { | 391 | 1.22k | if (N < this->size()) { | 392 | 422 | this->destroy_range(this->begin()+N, this->end()); | 393 | 422 | this->set_size(N); | 394 | 804 | } else if (N > this->size()) { | 395 | 804 | if (this->capacity() < N) | 396 | 15 | this->grow(N); | 397 | 6.16k | for (auto I = this->end(), E = this->begin() + N; I != E; ++I) | 398 | 5.35k | new (&*I) T(); | 399 | 804 | this->set_size(N); | 400 | 804 | } | 401 | 1.22k | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE6resizeEm _ZN4llvm15SmallVectorImplIN4mlir8FractionEE6resizeEm Line | Count | Source | 390 | 23 | void resize(size_type N) { | 391 | 23 | if (N < this->size()) { | 392 | 23 | this->destroy_range(this->begin()+N, this->end()); | 393 | 23 | this->set_size(N); | 394 | 23 | } else if (N > this->size()) { | 395 | 0 | if (this->capacity() < N) | 396 | 0 | this->grow(N); | 397 | 0 | for (auto I = this->end(), E = this->begin() + N; I != E; ++I) | 398 | 0 | new (&*I) T(); | 399 | 0 | this->set_size(N); | 400 | 0 | } | 401 | 23 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplI15llvm_regmatch_tE6resizeEm |
402 | | |
403 | 31 | void resize(size_type N, const T &NV) { |
404 | 31 | if (N < this->size()) { |
405 | 0 | this->destroy_range(this->begin()+N, this->end()); |
406 | 0 | this->set_size(N); |
407 | 31 | } else if (N > this->size()) { |
408 | 31 | if (this->capacity() < N) |
409 | 0 | this->grow(N); |
410 | 31 | std::uninitialized_fill(this->end(), this->begin()+N, NV); |
411 | 31 | this->set_size(N); |
412 | 31 | } |
413 | 31 | } |
414 | | |
415 | 204 | void reserve(size_type N) { |
416 | 204 | if (this->capacity() < N) |
417 | 1 | this->grow(N); |
418 | 204 | } _ZN4llvm15SmallVectorImplIlE7reserveEm Line | Count | Source | 415 | 120 | void reserve(size_type N) { | 416 | 120 | if (this->capacity() < N) | 417 | 0 | this->grow(N); | 418 | 120 | } |
_ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE7reserveEm Line | Count | Source | 415 | 31 | void reserve(size_type N) { | 416 | 31 | if (this->capacity() < N) | 417 | 0 | this->grow(N); | 418 | 31 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPKcE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEE7reserveEm _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE7reserveEm Line | Count | Source | 415 | 24 | void reserve(size_type N) { | 416 | 24 | if (this->capacity() < N) | 417 | 1 | this->grow(N); | 418 | 24 | } |
_ZN4llvm15SmallVectorImplIjE7reserveEm Line | Count | Source | 415 | 29 | void reserve(size_type N) { | 416 | 29 | if (this->capacity() < N) | 417 | 0 | this->grow(N); | 418 | 29 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7APFloatEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_5APIntEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir5BlockEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13OperationNameEE7reserveEm Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir6RegionEE7reserveEm |
419 | | |
420 | 0 | LLVM_NODISCARD T pop_back_val() { |
421 | 0 | T Result = ::std::move(this->back()); |
422 | 0 | this->pop_back(); |
423 | 0 | return Result; |
424 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiE12pop_back_valEv Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_19SimpleKeyEE12pop_back_valEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir9OperationEE12pop_back_valEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE12pop_back_valEv Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir6RegionEE12pop_back_valEv |
425 | | |
426 | | void swap(SmallVectorImpl &RHS); |
427 | | |
428 | | /// Add the specified range to the end of the SmallVector. |
429 | | template <typename in_iter, |
430 | | typename = std::enable_if_t<std::is_convertible< |
431 | | typename std::iterator_traits<in_iter>::iterator_category, |
432 | | std::input_iterator_tag>::value>> |
433 | 448 | void append(in_iter in_start, in_iter in_end) { |
434 | 448 | size_type NumInputs = std::distance(in_start, in_end); |
435 | 448 | if (NumInputs > this->capacity() - this->size()) |
436 | 14 | this->grow(this->size()+NumInputs); |
437 | 448 | |
438 | 448 | this->uninitialized_copy(in_start, in_end, this->end()); |
439 | 448 | this->set_size(this->size() + NumInputs); |
440 | 448 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE6appendIPKS4_vEEvT_S9_ _ZN4llvm15SmallVectorImplIlE6appendIPKlvEEvT_S5_ Line | Count | Source | 433 | 368 | void append(in_iter in_start, in_iter in_end) { | 434 | 368 | size_type NumInputs = std::distance(in_start, in_end); | 435 | 368 | if (NumInputs > this->capacity() - this->size()) | 436 | 13 | this->grow(this->size()+NumInputs); | 437 | 368 | | 438 | 368 | this->uninitialized_copy(in_start, in_end, this->end()); | 439 | 368 | this->set_size(this->size() + NumInputs); | 440 | 368 | } |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEE6appendIPKS2_vEEvT_S7_ Line | Count | Source | 433 | 30 | void append(in_iter in_start, in_iter in_end) { | 434 | 30 | size_type NumInputs = std::distance(in_start, in_end); | 435 | 30 | if (NumInputs > this->capacity() - this->size()) | 436 | 1 | this->grow(this->size()+NumInputs); | 437 | 30 | | 438 | 30 | this->uninitialized_copy(in_start, in_end, this->end()); | 439 | 30 | this->set_size(this->size() + NumInputs); | 440 | 30 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir5BlockEE6appendIPKS3_vEEvT_S8_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_2cl15OptionEnumValueEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6appendIPKcvEEvT_S5_ _ZN4llvm15SmallVectorImplIPKcE6appendIPKS2_vEEvT_S7_ Line | Count | Source | 433 | 2 | void append(in_iter in_start, in_iter in_end) { | 434 | 2 | size_type NumInputs = std::distance(in_start, in_end); | 435 | 2 | if (NumInputs > this->capacity() - this->size()) | 436 | 0 | this->grow(this->size()+NumInputs); | 437 | 2 | | 438 | 2 | this->uninitialized_copy(in_start, in_end, this->end()); | 439 | 2 | this->set_size(this->size() + NumInputs); | 440 | 2 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPKcE6appendIPS2_vEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPKcE6appendISt13move_iteratorIPS2_EvEEvT_S8_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIjE6appendIPKjvEEvT_S5_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6appendIPcvEEvT_S4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6appendIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvEEvT_SD_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7SMFixItEE6appendIPKS1_vEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6appendISt13move_iteratorIPcEvEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendIPS2_vEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE6appendIPKS3_vEEvT_S9_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_6detail27indexed_accessor_range_baseINS1_10ValueRangeENS1_6detail15ValueRangeOwnerES2_S2_S2_E8iteratorEvEEvT_SC_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE6appendIPS4_vEEvT_S8_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE6appendIPKS1_vEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendISt13move_iteratorIPS2_EvEEvT_S8_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEvEEvT_SC_ _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE6appendIPKS3_vEEvT_S8_ Line | Count | Source | 433 | 48 | void append(in_iter in_start, in_iter in_end) { | 434 | 48 | size_type NumInputs = std::distance(in_start, in_end); | 435 | 48 | if (NumInputs > this->capacity() - this->size()) | 436 | 0 | this->grow(this->size()+NumInputs); | 437 | 48 | | 438 | 48 | this->uninitialized_copy(in_start, in_end, this->end()); | 439 | 48 | this->set_size(this->size() + NumInputs); | 440 | 48 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE6appendISt13move_iteratorIPS3_EvEEvT_S9_ Unexecuted instantiation: Ops.cpp:_ZN4llvm15SmallVectorImplIlE6appendINS_15mapped_iteratorIPKN4mlir9AttributeEZL23extractFromI64ArrayAttrS5_E4$_15lEEvEEvT_SA_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiE6appendIPKivEEvT_S5_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE6appendINS1_17ValueTypeIteratorINS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandENS1_5ValueESB_SB_E8iteratorEEEvEEvT_SF_ Unexecuted instantiation: Ops.cpp:_ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateOffsetsERNS1_9OpBuilderENS1_8LocationEE4$_16S2_EEvEEvT_SF_ Unexecuted instantiation: Ops.cpp:_ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp16getOrCreateSizesERNS1_9OpBuilderENS1_8LocationEE4$_17S2_EEvEEvT_SF_ Unexecuted instantiation: Ops.cpp:_ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateStridesERNS1_9OpBuilderENS1_8LocationEE4$_18S2_EEvEEvT_SF_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: AffineMap.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPlZNKS1_9AffineMap12constantFoldENS_8ArrayRefIS2_EERS3_E3$_0NS1_11IntegerAttrEEEvEEvT_SE_ Unexecuted instantiation: AsmPrinter.cpp:_ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6appendINS_20filter_iterator_implIPKS5_ZN12_GLOBAL__N_113ModulePrinter21printOptionalAttrDictENS_8ArrayRefIS5_EENSD_INS_9StringRefEEEbE4$_17St26bidirectional_iterator_tagEEvEEvT_SK_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6appendIPKS5_vEEvT_SA_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6appendINS_6detail27indexed_accessor_range_baseINS1_11ResultRangeESt4pairIPNS1_9OperationElENS1_8OpResultESC_SC_E8iteratorEvEEvT_SF_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKbZNS1_7Builder16getBoolArrayAttrENS_8ArrayRefIbEEE3$_0S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKiZNS1_7Builder15getI32ArrayAttrENS_8ArrayRefIiEEE3$_1S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKlZNS1_7Builder15getI64ArrayAttrENS_8ArrayRefIlEEE3$_2S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKlZNS1_7Builder17getIndexArrayAttrENS_8ArrayRefIlEEE3$_3S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKfZNS1_7Builder15getF32ArrayAttrENS_8ArrayRefIfEEE3$_4S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKdZNS1_7Builder15getF64ArrayAttrENS_8ArrayRefIdEEE3$_5S2_EEvEEvT_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKNS_9StringRefEZNS1_7Builder15getStrArrayAttrENS_8ArrayRefIS6_EEE3$_6S2_EEvEEvT_SE_ Unexecuted instantiation: Builders.cpp:_ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendINS_15mapped_iteratorIPKNS1_9AffineMapEZNS1_7Builder21getAffineMapArrayAttrENS_8ArrayRefIS6_EEE3$_7S2_EEvEEvT_SE_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6appendINS2_9Operation21dialect_attr_iteratorEvEEvT_SA_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE6appendIN9__gnu_cxx17__normal_iteratorIPNS_11SmallStringILj8EEESt6vectorIS7_SaIS7_EEEEvEEvT_SD_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir12OpFoldResultEE6appendIPNS1_9AttributeEvEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir5BlockEE6appendINS_6detail27indexed_accessor_range_baseINS1_14SuccessorRangeEPNS1_12BlockOperandES3_S3_S3_E8iteratorEvEEvT_SD_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEE6appendIPKS6_vEEvT_SB_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiE6appendIN4mlir17DenseElementsAttr15ElementIteratorIiEEvEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir6RegionEE6appendINS_16pointer_iteratorIS3_S3_EEvEEvT_S8_ Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEE6appendIPKS2_vEEvT_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6appendIPKS2_vEEvT_S7_ |
441 | | |
442 | | /// Append \p NumInputs copies of \p Elt to the end. |
443 | 0 | void append(size_type NumInputs, const T &Elt) { |
444 | 0 | if (NumInputs > this->capacity() - this->size()) |
445 | 0 | this->grow(this->size()+NumInputs); |
446 | 0 |
|
447 | 0 | std::uninitialized_fill_n(this->end(), NumInputs, Elt); |
448 | 0 | this->set_size(this->size() + NumInputs); |
449 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6appendEmRKc Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE6appendEmRKS2_ |
450 | | |
451 | 159 | void append(std::initializer_list<T> IL) { |
452 | 159 | append(IL.begin(), IL.end()); |
453 | 159 | } _ZN4llvm15SmallVectorImplIlE6appendESt16initializer_listIlE Line | Count | Source | 451 | 129 | void append(std::initializer_list<T> IL) { | 452 | 129 | append(IL.begin(), IL.end()); | 453 | 129 | } |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEE6appendESt16initializer_listIS2_E Line | Count | Source | 451 | 30 | void append(std::initializer_list<T> IL) { | 452 | 30 | append(IL.begin(), IL.end()); | 453 | 30 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_2cl15OptionEnumValueEE6appendESt16initializer_listIS2_E Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE6appendESt16initializer_listIS1_E Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiE6appendESt16initializer_listIiE Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6appendESt16initializer_listIS5_E Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEE6appendESt16initializer_listIS2_E |
454 | | |
455 | | // FIXME: Consider assigning over existing elements, rather than clearing & |
456 | | // re-initializing them - for all assign(...) variants. |
457 | | |
458 | 122 | void assign(size_type NumElts, const T &Elt) { |
459 | 122 | clear(); |
460 | 122 | if (this->capacity() < NumElts) |
461 | 0 | this->grow(NumElts); |
462 | 122 | this->set_size(NumElts); |
463 | 122 | std::uninitialized_fill(this->begin(), this->end(), Elt); |
464 | 122 | } _ZN4llvm15SmallVectorImplIjE6assignEmRKj Line | Count | Source | 458 | 2 | void assign(size_type NumElts, const T &Elt) { | 459 | 2 | clear(); | 460 | 2 | if (this->capacity() < NumElts) | 461 | 0 | this->grow(NumElts); | 462 | 2 | this->set_size(NumElts); | 463 | 2 | std::uninitialized_fill(this->begin(), this->end(), Elt); | 464 | 2 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplImE6assignEmRKm _ZN4llvm15SmallVectorImplIlE6assignEmRKl Line | Count | Source | 458 | 108 | void assign(size_type NumElts, const T &Elt) { | 459 | 108 | clear(); | 460 | 108 | if (this->capacity() < NumElts) | 461 | 0 | this->grow(NumElts); | 462 | 108 | this->set_size(NumElts); | 463 | 108 | std::uninitialized_fill(this->begin(), this->end(), Elt); | 464 | 108 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIbE6assignEmRKb Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE6assignEmRKS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE6assignEmRKS2_ _ZN4llvm15SmallVectorImplIiE6assignEmRKi Line | Count | Source | 458 | 12 | void assign(size_type NumElts, const T &Elt) { | 459 | 12 | clear(); | 460 | 12 | if (this->capacity() < NumElts) | 461 | 0 | this->grow(NumElts); | 462 | 12 | this->set_size(NumElts); | 463 | 12 | std::uninitialized_fill(this->begin(), this->end(), Elt); | 464 | 12 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPN4mlir9OperationEE6assignEmRKS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6assignEmRKc Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEE6assignEmRKS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEE6assignEmRKS2_ |
465 | | |
466 | | template <typename in_iter, |
467 | | typename = std::enable_if_t<std::is_convertible< |
468 | | typename std::iterator_traits<in_iter>::iterator_category, |
469 | | std::input_iterator_tag>::value>> |
470 | 0 | void assign(in_iter in_start, in_iter in_end) { |
471 | 0 | clear(); |
472 | 0 | append(in_start, in_end); |
473 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6assignIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvEEvT_SD_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE6assignIPKS3_vEEvT_S9_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6assignIPS2_vEEvT_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6assignINS_6detail27indexed_accessor_range_baseINS1_10ValueRangeENS1_6detail15ValueRangeOwnerES2_S2_S2_E8iteratorEvEEvT_SC_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6assignIPKS5_vEEvT_SA_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6assignINS_6detail27indexed_accessor_range_baseINS1_11ResultRangeESt4pairIPNS1_9OperationElENS1_8OpResultESC_SC_E8iteratorEvEEvT_SF_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir12OpFoldResultEE6assignIPNS1_9AttributeEvEEvT_S7_ |
474 | | |
475 | 159 | void assign(std::initializer_list<T> IL) { |
476 | 159 | clear(); |
477 | 159 | append(IL); |
478 | 159 | } _ZN4llvm15SmallVectorImplIlE6assignESt16initializer_listIlE Line | Count | Source | 475 | 129 | void assign(std::initializer_list<T> IL) { | 476 | 129 | clear(); | 477 | 129 | append(IL); | 478 | 129 | } |
_ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEE6assignESt16initializer_listIS2_E Line | Count | Source | 475 | 30 | void assign(std::initializer_list<T> IL) { | 476 | 30 | clear(); | 477 | 30 | append(IL); | 478 | 30 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_2cl15OptionEnumValueEE6assignESt16initializer_listIS2_E Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE6assignESt16initializer_listIS1_E Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiE6assignESt16initializer_listIiE Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6assignESt16initializer_listIS5_E Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEE6assignESt16initializer_listIS2_E |
479 | | |
480 | 0 | iterator erase(const_iterator CI) { |
481 | 0 | // Just cast away constness because this is a non-const member function. |
482 | 0 | iterator I = const_cast<iterator>(CI); |
483 | 0 |
|
484 | 0 | assert(I >= this->begin() && "Iterator to erase is out of bounds."); |
485 | 0 | assert(I < this->end() && "Erasing at past-the-end iterator."); |
486 | 0 |
|
487 | 0 | iterator N = I; |
488 | 0 | // Shift all elts down one. |
489 | 0 | std::move(I+1, this->end(), I); |
490 | 0 | // Drop the last elt. |
491 | 0 | this->pop_back(); |
492 | 0 | return(N); |
493 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPNS_2cl6OptionEE5eraseEPKS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPKcE5eraseEPKS2_ Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_19SimpleKeyEE5eraseEPKS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE5eraseEPKS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEEE5eraseEPKS9_ |
494 | | |
495 | 0 | iterator erase(const_iterator CS, const_iterator CE) { |
496 | 0 | // Just cast away constness because this is a non-const member function. |
497 | 0 | iterator S = const_cast<iterator>(CS); |
498 | 0 | iterator E = const_cast<iterator>(CE); |
499 | 0 |
|
500 | 0 | assert(S >= this->begin() && "Range to erase is out of bounds."); |
501 | 0 | assert(S <= E && "Trying to erase invalid range."); |
502 | 0 | assert(E <= this->end() && "Trying to erase past the end."); |
503 | 0 |
|
504 | 0 | iterator N = S; |
505 | 0 | // Shift all elts down. |
506 | 0 | iterator I = std::move(E, this->end(), S); |
507 | 0 | // Drop the last elts. |
508 | 0 | this->destroy_range(I, this->end()); |
509 | 0 | this->set_size(I - this->begin()); |
510 | 0 | return(N); |
511 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE5eraseEPKcS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPvE5eraseEPKS1_S4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE5eraseEPKS4_S7_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE5eraseEPKS6_S9_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEE5eraseEPKS2_S5_ |
512 | | |
513 | 0 | iterator insert(iterator I, T &&Elt) { |
514 | 0 | if (I == this->end()) { // Important special case for empty vector. |
515 | 0 | this->push_back(::std::move(Elt)); |
516 | 0 | return this->end()-1; |
517 | 0 | } |
518 | 0 | |
519 | 0 | assert(I >= this->begin() && "Insertion iterator is out of bounds."); |
520 | 0 | assert(I <= this->end() && "Inserting past the end of the vector."); |
521 | 0 |
|
522 | 0 | if (this->size() >= this->capacity()) { |
523 | 0 | size_t EltNo = I-this->begin(); |
524 | 0 | this->grow(); |
525 | 0 | I = this->begin()+EltNo; |
526 | 0 | } |
527 | 0 |
|
528 | 0 | ::new ((void*) this->end()) T(::std::move(this->back())); |
529 | 0 | // Push everything else over. |
530 | 0 | std::move_backward(I, this->end()-1, this->end()); |
531 | 0 | this->set_size(this->size() + 1); |
532 | 0 |
|
533 | 0 | // If we just moved the element we're inserting, be sure to update |
534 | 0 | // the reference. |
535 | 0 | T *EltPtr = &Elt; |
536 | 0 | if (I <= EltPtr && EltPtr < this->end()) |
537 | 0 | ++EltPtr; |
538 | 0 |
|
539 | 0 | *I = ::std::move(*EltPtr); |
540 | 0 | return I; |
541 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEE6insertEPS4_OS4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIlE6insertEPlOl Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEE6insertEPS5_OS5_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEE6insertEPS2_OS2_ |
542 | | |
543 | 0 | iterator insert(iterator I, const T &Elt) { |
544 | 0 | if (I == this->end()) { // Important special case for empty vector. |
545 | 0 | this->push_back(Elt); |
546 | 0 | return this->end()-1; |
547 | 0 | } |
548 | 0 | |
549 | 0 | assert(I >= this->begin() && "Insertion iterator is out of bounds."); |
550 | 0 | assert(I <= this->end() && "Inserting past the end of the vector."); |
551 | 0 |
|
552 | 0 | if (this->size() >= this->capacity()) { |
553 | 0 | size_t EltNo = I-this->begin(); |
554 | 0 | this->grow(); |
555 | 0 | I = this->begin()+EltNo; |
556 | 0 | } |
557 | 0 | ::new ((void*) this->end()) T(std::move(this->back())); |
558 | 0 | // Push everything else over. |
559 | 0 | std::move_backward(I, this->end()-1, this->end()); |
560 | 0 | this->set_size(this->size() + 1); |
561 | 0 |
|
562 | 0 | // If we just moved the element we're inserting, be sure to update |
563 | 0 | // the reference. |
564 | 0 | const T *EltPtr = &Elt; |
565 | 0 | if (I <= EltPtr && EltPtr < this->end()) |
566 | 0 | ++EltPtr; |
567 | 0 |
|
568 | 0 | *I = *EltPtr; |
569 | 0 | return I; |
570 | 0 | } |
571 | | |
572 | | iterator insert(iterator I, size_type NumToInsert, const T &Elt) { |
573 | | // Convert iterator to elt# to avoid invalidating iterator when we reserve() |
574 | | size_t InsertElt = I - this->begin(); |
575 | | |
576 | | if (I == this->end()) { // Important special case for empty vector. |
577 | | append(NumToInsert, Elt); |
578 | | return this->begin()+InsertElt; |
579 | | } |
580 | | |
581 | | assert(I >= this->begin() && "Insertion iterator is out of bounds."); |
582 | | assert(I <= this->end() && "Inserting past the end of the vector."); |
583 | | |
584 | | // Ensure there is enough space. |
585 | | reserve(this->size() + NumToInsert); |
586 | | |
587 | | // Uninvalidate the iterator. |
588 | | I = this->begin()+InsertElt; |
589 | | |
590 | | // If there are more elements between the insertion point and the end of the |
591 | | // range than there are being inserted, we can use a simple approach to |
592 | | // insertion. Since we already reserved space, we know that this won't |
593 | | // reallocate the vector. |
594 | | if (size_t(this->end()-I) >= NumToInsert) { |
595 | | T *OldEnd = this->end(); |
596 | | append(std::move_iterator<iterator>(this->end() - NumToInsert), |
597 | | std::move_iterator<iterator>(this->end())); |
598 | | |
599 | | // Copy the existing elements that get replaced. |
600 | | std::move_backward(I, OldEnd-NumToInsert, OldEnd); |
601 | | |
602 | | std::fill_n(I, NumToInsert, Elt); |
603 | | return I; |
604 | | } |
605 | | |
606 | | // Otherwise, we're inserting more elements than exist already, and we're |
607 | | // not inserting at the end. |
608 | | |
609 | | // Move over the elements that we're about to overwrite. |
610 | | T *OldEnd = this->end(); |
611 | | this->set_size(this->size() + NumToInsert); |
612 | | size_t NumOverwritten = OldEnd-I; |
613 | | this->uninitialized_move(I, OldEnd, this->end()-NumOverwritten); |
614 | | |
615 | | // Replace the overwritten part. |
616 | | std::fill_n(I, NumOverwritten, Elt); |
617 | | |
618 | | // Insert the non-overwritten middle part. |
619 | | std::uninitialized_fill_n(OldEnd, NumToInsert-NumOverwritten, Elt); |
620 | | return I; |
621 | | } |
622 | | |
623 | | template <typename ItTy, |
624 | | typename = std::enable_if_t<std::is_convertible< |
625 | | typename std::iterator_traits<ItTy>::iterator_category, |
626 | | std::input_iterator_tag>::value>> |
627 | 48 | iterator insert(iterator I, ItTy From, ItTy To) { |
628 | 48 | // Convert iterator to elt# to avoid invalidating iterator when we reserve() |
629 | 48 | size_t InsertElt = I - this->begin(); |
630 | 48 | |
631 | 48 | if (I == this->end()) { // Important special case for empty vector. |
632 | 48 | append(From, To); |
633 | 48 | return this->begin()+InsertElt; |
634 | 48 | } |
635 | 0 | |
636 | 0 | assert(I >= this->begin() && "Insertion iterator is out of bounds."); |
637 | 0 | assert(I <= this->end() && "Inserting past the end of the vector."); |
638 | 0 |
|
639 | 0 | size_t NumToInsert = std::distance(From, To); |
640 | 0 |
|
641 | 0 | // Ensure there is enough space. |
642 | 0 | reserve(this->size() + NumToInsert); |
643 | 0 |
|
644 | 0 | // Uninvalidate the iterator. |
645 | 0 | I = this->begin()+InsertElt; |
646 | 0 |
|
647 | 0 | // If there are more elements between the insertion point and the end of the |
648 | 0 | // range than there are being inserted, we can use a simple approach to |
649 | 0 | // insertion. Since we already reserved space, we know that this won't |
650 | 0 | // reallocate the vector. |
651 | 0 | if (size_t(this->end()-I) >= NumToInsert) { |
652 | 0 | T *OldEnd = this->end(); |
653 | 0 | append(std::move_iterator<iterator>(this->end() - NumToInsert), |
654 | 0 | std::move_iterator<iterator>(this->end())); |
655 | 0 |
|
656 | 0 | // Copy the existing elements that get replaced. |
657 | 0 | std::move_backward(I, OldEnd-NumToInsert, OldEnd); |
658 | 0 |
|
659 | 0 | std::copy(From, To, I); |
660 | 0 | return I; |
661 | 0 | } |
662 | 0 | |
663 | 0 | // Otherwise, we're inserting more elements than exist already, and we're |
664 | 0 | // not inserting at the end. |
665 | 0 | |
666 | 0 | // Move over the elements that we're about to overwrite. |
667 | 0 | T *OldEnd = this->end(); |
668 | 0 | this->set_size(this->size() + NumToInsert); |
669 | 0 | size_t NumOverwritten = OldEnd-I; |
670 | 0 | this->uninitialized_move(I, OldEnd, this->end()-NumOverwritten); |
671 | 0 |
|
672 | 0 | // Replace the overwritten part. |
673 | 0 | for (T *J = I; NumOverwritten > 0; --NumOverwritten) { |
674 | 0 | *J = *From; |
675 | 0 | ++J; ++From; |
676 | 0 | } |
677 | 0 |
|
678 | 0 | // Insert the non-overwritten middle part. |
679 | 0 | this->uninitialized_copy(From, To, OldEnd); |
680 | 0 | return I; |
681 | 0 | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplIPKcE6insertIPS2_vEES5_S5_T_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6insertIPKcvEEPcS5_T_S6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcE6insertIPcvEES3_S3_T_S4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEE6insertIPKS2_vEEPS2_S7_T_S8_ _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE6insertIPKS3_vEEPS3_S8_T_S9_ Line | Count | Source | 627 | 48 | iterator insert(iterator I, ItTy From, ItTy To) { | 628 | 48 | // Convert iterator to elt# to avoid invalidating iterator when we reserve() | 629 | 48 | size_t InsertElt = I - this->begin(); | 630 | 48 | | 631 | 48 | if (I == this->end()) { // Important special case for empty vector. | 632 | 48 | append(From, To); | 633 | 48 | return this->begin()+InsertElt; | 634 | 48 | } | 635 | 0 | | 636 | 0 | assert(I >= this->begin() && "Insertion iterator is out of bounds."); | 637 | 0 | assert(I <= this->end() && "Inserting past the end of the vector."); | 638 | 0 |
| 639 | 0 | size_t NumToInsert = std::distance(From, To); | 640 | 0 |
| 641 | 0 | // Ensure there is enough space. | 642 | 0 | reserve(this->size() + NumToInsert); | 643 | 0 |
| 644 | 0 | // Uninvalidate the iterator. | 645 | 0 | I = this->begin()+InsertElt; | 646 | 0 |
| 647 | 0 | // If there are more elements between the insertion point and the end of the | 648 | 0 | // range than there are being inserted, we can use a simple approach to | 649 | 0 | // insertion. Since we already reserved space, we know that this won't | 650 | 0 | // reallocate the vector. | 651 | 0 | if (size_t(this->end()-I) >= NumToInsert) { | 652 | 0 | T *OldEnd = this->end(); | 653 | 0 | append(std::move_iterator<iterator>(this->end() - NumToInsert), | 654 | 0 | std::move_iterator<iterator>(this->end())); | 655 | 0 |
| 656 | 0 | // Copy the existing elements that get replaced. | 657 | 0 | std::move_backward(I, OldEnd-NumToInsert, OldEnd); | 658 | 0 |
| 659 | 0 | std::copy(From, To, I); | 660 | 0 | return I; | 661 | 0 | } | 662 | 0 | | 663 | 0 | // Otherwise, we're inserting more elements than exist already, and we're | 664 | 0 | // not inserting at the end. | 665 | 0 | | 666 | 0 | // Move over the elements that we're about to overwrite. | 667 | 0 | T *OldEnd = this->end(); | 668 | 0 | this->set_size(this->size() + NumToInsert); | 669 | 0 | size_t NumOverwritten = OldEnd-I; | 670 | 0 | this->uninitialized_move(I, OldEnd, this->end()-NumOverwritten); | 671 | 0 |
| 672 | 0 | // Replace the overwritten part. | 673 | 0 | for (T *J = I; NumOverwritten > 0; --NumOverwritten) { | 674 | 0 | *J = *From; | 675 | 0 | ++J; ++From; | 676 | 0 | } | 677 | 0 |
| 678 | 0 | // Insert the non-overwritten middle part. | 679 | 0 | this->uninitialized_copy(From, To, OldEnd); | 680 | 0 | return I; | 681 | 0 | } |
|
682 | | |
683 | | void insert(iterator I, std::initializer_list<T> IL) { |
684 | | insert(I, IL.begin(), IL.end()); |
685 | | } |
686 | | |
687 | 2.25k | template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { |
688 | 2.25k | if (LLVM_UNLIKELY(this->size() >= this->capacity())) |
689 | 2.25k | this->grow(); |
690 | 2.25k | ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); |
691 | 2.25k | this->set_size(this->size() + 1); |
692 | 2.25k | return this->back(); |
693 | 2.25k | } Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_9StringRefEE12emplace_backIJRPKcEEERS1_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_4ReadERNS1_5ValueEPNS2_15DefaultResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_5WriteERNS1_5ValueEPNS2_15DefaultResourceEEEERS6_DpOT_ _ZN4llvm15SmallVectorImplIlE12emplace_backIJiEEERlDpOT_ Line | Count | Source | 687 | 175 | template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { | 688 | 175 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 689 | 175 | this->grow(); | 690 | 175 | ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); | 691 | 175 | this->set_size(this->size() + 1); | 692 | 175 | return this->back(); | 693 | 175 | } |
_ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE12emplace_backIJNS2_11OrientationEbRjEEERS3_DpOT_ Line | Count | Source | 687 | 185 | template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { | 688 | 185 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 689 | 185 | this->grow(); | 690 | 185 | ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); | 691 | 185 | this->set_size(this->size() + 1); | 692 | 185 | return this->back(); | 693 | 185 | } |
_ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEE12emplace_backIJNS2_11OrientationEbjEEERS3_DpOT_ Line | Count | Source | 687 | 673 | template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { | 688 | 673 | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 689 | 673 | this->grow(); | 690 | 673 | ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); | 691 | 673 | this->set_size(this->size() + 1); | 692 | 673 | return this->back(); | 693 | 673 | } |
_ZN4llvm15SmallVectorImplIlE12emplace_backIJlEEERlDpOT_ Line | Count | Source | 687 | 1.22k | template <typename... ArgTypes> reference emplace_back(ArgTypes &&... Args) { | 688 | 1.22k | if (LLVM_UNLIKELY(this->size() >= this->capacity())) | 689 | 1.22k | this->grow(); | 690 | 1.22k | ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); | 691 | 1.22k | this->set_size(this->size() + 1); | 692 | 1.22k | return this->back(); | 693 | 1.22k | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEE12emplace_backIJS3_EEERS3_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_8AllocateEPNS2_15DefaultResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_8AllocateERNS1_5ValueEPNS2_15DefaultResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_8AllocateEPNS2_32AutomaticAllocationScopeResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_8AllocateERNS1_5ValueEPNS2_32AutomaticAllocationScopeResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_4FreeEPNS2_15DefaultResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEEE12emplace_backIJPNS4_4FreeERNS1_5ValueEPNS2_15DefaultResourceEEEERS6_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjNS_9StringRefEEE12emplace_backIJN4mlir18StandardAttributes4KindERA4_KcEEERS3_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE12emplace_backIJS2_EEERS2_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir21MutableDictionaryAttrEE12emplace_backIJNS1_14DictionaryAttrEEEERS2_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir13NamedAttrListEE12emplace_backIJEEERS2_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEE12emplace_backIJEEERS2_DpOT_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EEE12emplace_backIJPS3_EEERS6_DpOT_ |
694 | | |
695 | | SmallVectorImpl &operator=(const SmallVectorImpl &RHS); |
696 | | |
697 | | SmallVectorImpl &operator=(SmallVectorImpl &&RHS); |
698 | | |
699 | 0 | bool operator==(const SmallVectorImpl &RHS) const { |
700 | 0 | if (this->size() != RHS.size()) return false; |
701 | 0 | return std::equal(this->begin(), this->end(), RHS.begin()); |
702 | 0 | } |
703 | | bool operator!=(const SmallVectorImpl &RHS) const { |
704 | | return !(*this == RHS); |
705 | | } |
706 | | |
707 | | bool operator<(const SmallVectorImpl &RHS) const { |
708 | | return std::lexicographical_compare(this->begin(), this->end(), |
709 | | RHS.begin(), RHS.end()); |
710 | | } |
711 | | }; |
712 | | |
713 | | template <typename T> |
714 | 0 | void SmallVectorImpl<T>::swap(SmallVectorImpl<T> &RHS) { |
715 | 0 | if (this == &RHS) return; |
716 | 0 | |
717 | 0 | // We can only avoid copying elements if neither vector is small. |
718 | 0 | if (!this->isSmall() && !RHS.isSmall()) { |
719 | 0 | std::swap(this->BeginX, RHS.BeginX); |
720 | 0 | std::swap(this->Size, RHS.Size); |
721 | 0 | std::swap(this->Capacity, RHS.Capacity); |
722 | 0 | return; |
723 | 0 | } |
724 | 0 | if (RHS.size() > this->capacity()) |
725 | 0 | this->grow(RHS.size()); |
726 | 0 | if (this->size() > RHS.capacity()) |
727 | 0 | RHS.grow(this->size()); |
728 | 0 |
|
729 | 0 | // Swap the shared elements. |
730 | 0 | size_t NumShared = this->size(); |
731 | 0 | if (NumShared > RHS.size()) NumShared = RHS.size(); |
732 | 0 | for (size_type i = 0; i != NumShared; ++i) |
733 | 0 | std::swap((*this)[i], RHS[i]); |
734 | 0 |
|
735 | 0 | // Copy over the extra elts. |
736 | 0 | if (this->size() > RHS.size()) { |
737 | 0 | size_t EltDiff = this->size() - RHS.size(); |
738 | 0 | this->uninitialized_copy(this->begin()+NumShared, this->end(), RHS.end()); |
739 | 0 | RHS.set_size(RHS.size() + EltDiff); |
740 | 0 | this->destroy_range(this->begin()+NumShared, this->end()); |
741 | 0 | this->set_size(NumShared); |
742 | 0 | } else if (RHS.size() > this->size()) { |
743 | 0 | size_t EltDiff = RHS.size() - this->size(); |
744 | 0 | this->uninitialized_copy(RHS.begin()+NumShared, RHS.end(), this->end()); |
745 | 0 | this->set_size(this->size() + EltDiff); |
746 | 0 | this->destroy_range(RHS.begin()+NumShared, RHS.end()); |
747 | 0 | RHS.set_size(NumShared); |
748 | 0 | } |
749 | 0 | } |
750 | | |
751 | | template <typename T> |
752 | | SmallVectorImpl<T> &SmallVectorImpl<T>:: |
753 | 202 | operator=(const SmallVectorImpl<T> &RHS) { |
754 | 202 | // Avoid self-assignment. |
755 | 202 | if (this == &RHS) return *this; |
756 | 202 | |
757 | 202 | // If we already have sufficient space, assign the common elements, then |
758 | 202 | // destroy any excess. |
759 | 202 | size_t RHSSize = RHS.size(); |
760 | 202 | size_t CurSize = this->size(); |
761 | 202 | if (CurSize >= RHSSize) { |
762 | 2 | // Assign common elements. |
763 | 2 | iterator NewEnd; |
764 | 2 | if (RHSSize) |
765 | 2 | NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); |
766 | 0 | else |
767 | 0 | NewEnd = this->begin(); |
768 | 2 | |
769 | 2 | // Destroy excess elements. |
770 | 2 | this->destroy_range(NewEnd, this->end()); |
771 | 2 | |
772 | 2 | // Trim. |
773 | 2 | this->set_size(RHSSize); |
774 | 2 | return *this; |
775 | 2 | } |
776 | 200 | |
777 | 200 | // If we have to grow to have enough elements, destroy the current elements. |
778 | 200 | // This allows us to avoid copying them during the grow. |
779 | 200 | // FIXME: don't do this if they're efficiently moveable. |
780 | 200 | if (this->capacity() < RHSSize) { |
781 | 13 | // Destroy current elements. |
782 | 13 | this->destroy_range(this->begin(), this->end()); |
783 | 13 | this->set_size(0); |
784 | 13 | CurSize = 0; |
785 | 13 | this->grow(RHSSize); |
786 | 187 | } else if (CurSize) { |
787 | 0 | // Otherwise, use assignment for the already-constructed elements. |
788 | 0 | std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); |
789 | 0 | } |
790 | 200 | |
791 | 200 | // Copy construct the new elements in place. |
792 | 200 | this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), |
793 | 200 | this->begin()+CurSize); |
794 | 200 | |
795 | 200 | // Set end. |
796 | 200 | this->set_size(RHSSize); |
797 | 200 | return *this; |
798 | 200 | } _ZN4llvm15SmallVectorImplINS_11SmallVectorIlLj4EEEEaSERKS3_ Line | Count | Source | 753 | 12 | operator=(const SmallVectorImpl<T> &RHS) { | 754 | 12 | // Avoid self-assignment. | 755 | 12 | if (this == &RHS) return *this; | 756 | 12 | | 757 | 12 | // If we already have sufficient space, assign the common elements, then | 758 | 12 | // destroy any excess. | 759 | 12 | size_t RHSSize = RHS.size(); | 760 | 12 | size_t CurSize = this->size(); | 761 | 12 | if (CurSize >= RHSSize) { | 762 | 0 | // Assign common elements. | 763 | 0 | iterator NewEnd; | 764 | 0 | if (RHSSize) | 765 | 0 | NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); | 766 | 0 | else | 767 | 0 | NewEnd = this->begin(); | 768 | 0 |
| 769 | 0 | // Destroy excess elements. | 770 | 0 | this->destroy_range(NewEnd, this->end()); | 771 | 0 |
| 772 | 0 | // Trim. | 773 | 0 | this->set_size(RHSSize); | 774 | 0 | return *this; | 775 | 0 | } | 776 | 12 | | 777 | 12 | // If we have to grow to have enough elements, destroy the current elements. | 778 | 12 | // This allows us to avoid copying them during the grow. | 779 | 12 | // FIXME: don't do this if they're efficiently moveable. | 780 | 12 | if (this->capacity() < RHSSize) { | 781 | 0 | // Destroy current elements. | 782 | 0 | this->destroy_range(this->begin(), this->end()); | 783 | 0 | this->set_size(0); | 784 | 0 | CurSize = 0; | 785 | 0 | this->grow(RHSSize); | 786 | 12 | } else if (CurSize) { | 787 | 0 | // Otherwise, use assignment for the already-constructed elements. | 788 | 0 | std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); | 789 | 0 | } | 790 | 12 | | 791 | 12 | // Copy construct the new elements in place. | 792 | 12 | this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), | 793 | 12 | this->begin()+CurSize); | 794 | 12 | | 795 | 12 | // Set end. | 796 | 12 | this->set_size(RHSSize); | 797 | 12 | return *this; | 798 | 12 | } |
_ZN4llvm15SmallVectorImplIlEaSERKS1_ Line | Count | Source | 753 | 188 | operator=(const SmallVectorImpl<T> &RHS) { | 754 | 188 | // Avoid self-assignment. | 755 | 188 | if (this == &RHS) return *this; | 756 | 188 | | 757 | 188 | // If we already have sufficient space, assign the common elements, then | 758 | 188 | // destroy any excess. | 759 | 188 | size_t RHSSize = RHS.size(); | 760 | 188 | size_t CurSize = this->size(); | 761 | 188 | if (CurSize >= RHSSize) { | 762 | 0 | // Assign common elements. | 763 | 0 | iterator NewEnd; | 764 | 0 | if (RHSSize) | 765 | 0 | NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); | 766 | 0 | else | 767 | 0 | NewEnd = this->begin(); | 768 | 0 |
| 769 | 0 | // Destroy excess elements. | 770 | 0 | this->destroy_range(NewEnd, this->end()); | 771 | 0 |
| 772 | 0 | // Trim. | 773 | 0 | this->set_size(RHSSize); | 774 | 0 | return *this; | 775 | 0 | } | 776 | 188 | | 777 | 188 | // If we have to grow to have enough elements, destroy the current elements. | 778 | 188 | // This allows us to avoid copying them during the grow. | 779 | 188 | // FIXME: don't do this if they're efficiently moveable. | 780 | 188 | if (this->capacity() < RHSSize) { | 781 | 13 | // Destroy current elements. | 782 | 13 | this->destroy_range(this->begin(), this->end()); | 783 | 13 | this->set_size(0); | 784 | 13 | CurSize = 0; | 785 | 13 | this->grow(RHSSize); | 786 | 175 | } else if (CurSize) { | 787 | 0 | // Otherwise, use assignment for the already-constructed elements. | 788 | 0 | std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); | 789 | 0 | } | 790 | 188 | | 791 | 188 | // Copy construct the new elements in place. | 792 | 188 | this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), | 793 | 188 | this->begin()+CurSize); | 794 | 188 | | 795 | 188 | // Set end. | 796 | 188 | this->set_size(RHSSize); | 797 | 188 | return *this; | 798 | 188 | } |
_ZN4llvm15SmallVectorImplIPNS_2cl14OptionCategoryEEaSERKS4_ Line | Count | Source | 753 | 2 | operator=(const SmallVectorImpl<T> &RHS) { | 754 | 2 | // Avoid self-assignment. | 755 | 2 | if (this == &RHS) return *this; | 756 | 2 | | 757 | 2 | // If we already have sufficient space, assign the common elements, then | 758 | 2 | // destroy any excess. | 759 | 2 | size_t RHSSize = RHS.size(); | 760 | 2 | size_t CurSize = this->size(); | 761 | 2 | if (CurSize >= RHSSize) { | 762 | 2 | // Assign common elements. | 763 | 2 | iterator NewEnd; | 764 | 2 | if (RHSSize) | 765 | 2 | NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); | 766 | 0 | else | 767 | 0 | NewEnd = this->begin(); | 768 | 2 | | 769 | 2 | // Destroy excess elements. | 770 | 2 | this->destroy_range(NewEnd, this->end()); | 771 | 2 | | 772 | 2 | // Trim. | 773 | 2 | this->set_size(RHSSize); | 774 | 2 | return *this; | 775 | 2 | } | 776 | 0 | | 777 | 0 | // If we have to grow to have enough elements, destroy the current elements. | 778 | 0 | // This allows us to avoid copying them during the grow. | 779 | 0 | // FIXME: don't do this if they're efficiently moveable. | 780 | 0 | if (this->capacity() < RHSSize) { | 781 | 0 | // Destroy current elements. | 782 | 0 | this->destroy_range(this->begin(), this->end()); | 783 | 0 | this->set_size(0); | 784 | 0 | CurSize = 0; | 785 | 0 | this->grow(RHSSize); | 786 | 0 | } else if (CurSize) { | 787 | 0 | // Otherwise, use assignment for the already-constructed elements. | 788 | 0 | std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); | 789 | 0 | } | 790 | 0 |
| 791 | 0 | // Copy construct the new elements in place. | 792 | 0 | this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), | 793 | 0 | this->begin()+CurSize); | 794 | 0 |
| 795 | 0 | // Set end. | 796 | 0 | this->set_size(RHSSize); | 797 | 0 | return *this; | 798 | 0 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIjEaSERKS1_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcEaSERKS1_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_8OptionalIN4mlir5ValueEEEEaSERKS5_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEEaSERKS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir10AffineExprEEaSERKS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEEaSERKS6_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEEaSERKS3_ |
799 | | |
800 | | template <typename T> |
801 | 122 | SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) { |
802 | 122 | // Avoid self-assignment. |
803 | 122 | if (this == &RHS) return *this; |
804 | 122 | |
805 | 122 | // If the RHS isn't small, clear this vector and then steal its buffer. |
806 | 122 | if (!RHS.isSmall()) { |
807 | 1 | this->destroy_range(this->begin(), this->end()); |
808 | 1 | if (!this->isSmall()) free(this->begin()); |
809 | 1 | this->BeginX = RHS.BeginX; |
810 | 1 | this->Size = RHS.Size; |
811 | 1 | this->Capacity = RHS.Capacity; |
812 | 1 | RHS.resetToSmall(); |
813 | 1 | return *this; |
814 | 1 | } |
815 | 121 | |
816 | 121 | // If we already have sufficient space, assign the common elements, then |
817 | 121 | // destroy any excess. |
818 | 121 | size_t RHSSize = RHS.size(); |
819 | 121 | size_t CurSize = this->size(); |
820 | 121 | if (CurSize >= RHSSize) { |
821 | 45 | // Assign common elements. |
822 | 45 | iterator NewEnd = this->begin(); |
823 | 45 | if (RHSSize) |
824 | 37 | NewEnd = std::move(RHS.begin(), RHS.end(), NewEnd); |
825 | 45 | |
826 | 45 | // Destroy excess elements and trim the bounds. |
827 | 45 | this->destroy_range(NewEnd, this->end()); |
828 | 45 | this->set_size(RHSSize); |
829 | 45 | |
830 | 45 | // Clear the RHS. |
831 | 45 | RHS.clear(); |
832 | 45 | |
833 | 45 | return *this; |
834 | 45 | } |
835 | 76 | |
836 | 76 | // If we have to grow to have enough elements, destroy the current elements. |
837 | 76 | // This allows us to avoid copying them during the grow. |
838 | 76 | // FIXME: this may not actually make any sense if we can efficiently move |
839 | 76 | // elements. |
840 | 76 | if (this->capacity() < RHSSize) { |
841 | 0 | // Destroy current elements. |
842 | 0 | this->destroy_range(this->begin(), this->end()); |
843 | 0 | this->set_size(0); |
844 | 0 | CurSize = 0; |
845 | 0 | this->grow(RHSSize); |
846 | 76 | } else if (CurSize) { |
847 | 0 | // Otherwise, use assignment for the already-constructed elements. |
848 | 0 | std::move(RHS.begin(), RHS.begin()+CurSize, this->begin()); |
849 | 0 | } |
850 | 76 | |
851 | 76 | // Move-construct the new elements in place. |
852 | 76 | this->uninitialized_move(RHS.begin()+CurSize, RHS.end(), |
853 | 76 | this->begin()+CurSize); |
854 | 76 | |
855 | 76 | // Set end. |
856 | 76 | this->set_size(RHSSize); |
857 | 76 | |
858 | 76 | RHS.clear(); |
859 | 76 | return *this; |
860 | 76 | } _ZN4llvm15SmallVectorImplIlEaSEOS1_ Line | Count | Source | 801 | 98 | SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) { | 802 | 98 | // Avoid self-assignment. | 803 | 98 | if (this == &RHS) return *this; | 804 | 98 | | 805 | 98 | // If the RHS isn't small, clear this vector and then steal its buffer. | 806 | 98 | if (!RHS.isSmall()) { | 807 | 0 | this->destroy_range(this->begin(), this->end()); | 808 | 0 | if (!this->isSmall()) free(this->begin()); | 809 | 0 | this->BeginX = RHS.BeginX; | 810 | 0 | this->Size = RHS.Size; | 811 | 0 | this->Capacity = RHS.Capacity; | 812 | 0 | RHS.resetToSmall(); | 813 | 0 | return *this; | 814 | 0 | } | 815 | 98 | | 816 | 98 | // If we already have sufficient space, assign the common elements, then | 817 | 98 | // destroy any excess. | 818 | 98 | size_t RHSSize = RHS.size(); | 819 | 98 | size_t CurSize = this->size(); | 820 | 98 | if (CurSize >= RHSSize) { | 821 | 33 | // Assign common elements. | 822 | 33 | iterator NewEnd = this->begin(); | 823 | 33 | if (RHSSize) | 824 | 25 | NewEnd = std::move(RHS.begin(), RHS.end(), NewEnd); | 825 | 33 | | 826 | 33 | // Destroy excess elements and trim the bounds. | 827 | 33 | this->destroy_range(NewEnd, this->end()); | 828 | 33 | this->set_size(RHSSize); | 829 | 33 | | 830 | 33 | // Clear the RHS. | 831 | 33 | RHS.clear(); | 832 | 33 | | 833 | 33 | return *this; | 834 | 33 | } | 835 | 65 | | 836 | 65 | // If we have to grow to have enough elements, destroy the current elements. | 837 | 65 | // This allows us to avoid copying them during the grow. | 838 | 65 | // FIXME: this may not actually make any sense if we can efficiently move | 839 | 65 | // elements. | 840 | 65 | if (this->capacity() < RHSSize) { | 841 | 0 | // Destroy current elements. | 842 | 0 | this->destroy_range(this->begin(), this->end()); | 843 | 0 | this->set_size(0); | 844 | 0 | CurSize = 0; | 845 | 0 | this->grow(RHSSize); | 846 | 65 | } else if (CurSize) { | 847 | 0 | // Otherwise, use assignment for the already-constructed elements. | 848 | 0 | std::move(RHS.begin(), RHS.begin()+CurSize, this->begin()); | 849 | 0 | } | 850 | 65 | | 851 | 65 | // Move-construct the new elements in place. | 852 | 65 | this->uninitialized_move(RHS.begin()+CurSize, RHS.end(), | 853 | 65 | this->begin()+CurSize); | 854 | 65 | | 855 | 65 | // Set end. | 856 | 65 | this->set_size(RHSSize); | 857 | 65 | | 858 | 65 | RHS.clear(); | 859 | 65 | return *this; | 860 | 65 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir18DiagnosticArgumentEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIcEaSEOS1_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_7SMFixItEEaSEOS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplINS_15ReplacementItemEEaSEOS2_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir5ValueEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEEEaSEOS7_ _ZN4llvm15SmallVectorImplIN4mlir7Simplex7UnknownEEaSEOS4_ Line | Count | Source | 801 | 24 | SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) { | 802 | 24 | // Avoid self-assignment. | 803 | 24 | if (this == &RHS) return *this; | 804 | 24 | | 805 | 24 | // If the RHS isn't small, clear this vector and then steal its buffer. | 806 | 24 | if (!RHS.isSmall()) { | 807 | 1 | this->destroy_range(this->begin(), this->end()); | 808 | 1 | if (!this->isSmall()) free(this->begin()); | 809 | 1 | this->BeginX = RHS.BeginX; | 810 | 1 | this->Size = RHS.Size; | 811 | 1 | this->Capacity = RHS.Capacity; | 812 | 1 | RHS.resetToSmall(); | 813 | 1 | return *this; | 814 | 1 | } | 815 | 23 | | 816 | 23 | // If we already have sufficient space, assign the common elements, then | 817 | 23 | // destroy any excess. | 818 | 23 | size_t RHSSize = RHS.size(); | 819 | 23 | size_t CurSize = this->size(); | 820 | 23 | if (CurSize >= RHSSize) { | 821 | 12 | // Assign common elements. | 822 | 12 | iterator NewEnd = this->begin(); | 823 | 12 | if (RHSSize) | 824 | 12 | NewEnd = std::move(RHS.begin(), RHS.end(), NewEnd); | 825 | 12 | | 826 | 12 | // Destroy excess elements and trim the bounds. | 827 | 12 | this->destroy_range(NewEnd, this->end()); | 828 | 12 | this->set_size(RHSSize); | 829 | 12 | | 830 | 12 | // Clear the RHS. | 831 | 12 | RHS.clear(); | 832 | 12 | | 833 | 12 | return *this; | 834 | 12 | } | 835 | 11 | | 836 | 11 | // If we have to grow to have enough elements, destroy the current elements. | 837 | 11 | // This allows us to avoid copying them during the grow. | 838 | 11 | // FIXME: this may not actually make any sense if we can efficiently move | 839 | 11 | // elements. | 840 | 11 | if (this->capacity() < RHSSize) { | 841 | 0 | // Destroy current elements. | 842 | 0 | this->destroy_range(this->begin(), this->end()); | 843 | 0 | this->set_size(0); | 844 | 0 | CurSize = 0; | 845 | 0 | this->grow(RHSSize); | 846 | 11 | } else if (CurSize) { | 847 | 0 | // Otherwise, use assignment for the already-constructed elements. | 848 | 0 | std::move(RHS.begin(), RHS.begin()+CurSize, this->begin()); | 849 | 0 | } | 850 | 11 | | 851 | 11 | // Move-construct the new elements in place. | 852 | 11 | this->uninitialized_move(RHS.begin()+CurSize, RHS.end(), | 853 | 11 | this->begin()+CurSize); | 854 | 11 | | 855 | 11 | // Set end. | 856 | 11 | this->set_size(RHSSize); | 857 | 11 | | 858 | 11 | RHS.clear(); | 859 | 11 | return *this; | 860 | 11 | } |
Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir7Simplex12UndoLogEntryEEaSEOS4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIiEaSEOS1_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9SubViewOp5RangeEEaSEOS4_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AffineMapEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir9AttributeEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplISt4pairIN4mlir10IdentifierENS2_9AttributeEEEaSEOS6_ Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm15SmallVectorImplIN12_GLOBAL__N_111SymbolScopeEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir17FlatSymbolRefAttrEEaSEOS3_ Unexecuted instantiation: _ZN4llvm15SmallVectorImplIN4mlir4TypeEEaSEOS3_ |
861 | | |
862 | | /// Storage for the SmallVector elements. This is specialized for the N=0 case |
863 | | /// to avoid allocating unnecessary storage. |
864 | | template <typename T, unsigned N> |
865 | | struct SmallVectorStorage { |
866 | | AlignedCharArrayUnion<T> InlineElts[N]; |
867 | | }; |
868 | | |
869 | | /// We need the storage to be properly aligned even for small-size of 0 so that |
870 | | /// the pointer math in \a SmallVectorTemplateCommon::getFirstEl() is |
871 | | /// well-defined. |
872 | | template <typename T> struct alignas(alignof(T)) SmallVectorStorage<T, 0> {}; |
873 | | |
874 | | /// This is a 'vector' (really, a variable-sized array), optimized |
875 | | /// for the case when the array is small. It contains some number of elements |
876 | | /// in-place, which allows it to avoid heap allocation when the actual number of |
877 | | /// elements is below that threshold. This allows normal "small" cases to be |
878 | | /// fast without losing generality for large inputs. |
879 | | /// |
880 | | /// Note that this does not attempt to be exception safe. |
881 | | /// |
882 | | template <typename T, unsigned N> |
883 | | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>, |
884 | | SmallVectorStorage<T, N> { |
885 | | public: |
886 | 880 | SmallVector() : SmallVectorImpl<T>(N) {} _ZN4llvm11SmallVectorIlLj64EEC2Ev Line | Count | Source | 886 | 62 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorINS_8OptionalIN4mlir5ValueEEELj8EEC2Ev Line | Count | Source | 886 | 31 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorIlLj4EEC2Ev Line | Count | Source | 886 | 48 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorINS0_IlLj4EEELj4EEC2Ev Line | Count | Source | 886 | 36 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj64EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj8EEC2Ev _ZN4llvm11SmallVectorIPNS_2cl14OptionCategoryELj1EEC2Ev Line | Count | Source | 886 | 26 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj16EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EEC2Ev _ZN4llvm11SmallVectorIPvLj4EEC2Ev Line | Count | Source | 886 | 4 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorISt4pairIPvmELj0EEC2Ev Line | Count | Source | 886 | 4 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorISt4pairINS_9StringRefEjELj4EEC2Ev Line | Count | Source | 886 | 2 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj32EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIPKcPNS_2cl6OptionEELj128EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIPKcPNS_2cl10SubCommandEELj128EEC2Ev _ZN4llvm11SmallVectorIPNS_2cl6OptionELj4EEC2Ev Line | Count | Source | 886 | 10 | SmallVector() : SmallVectorImpl<T>(N) {} |
CommandLine.cpp:_ZN4llvm11SmallVectorIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLj3EEC2Ev Line | Count | Source | 886 | 2 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIPKcLj0EEC2Ev _ZN4llvm11SmallVectorIPKcLj20EEC2Ev Line | Count | Source | 886 | 2 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj2EEC2Ev _ZN4llvm11SmallVectorIcLj256EEC2Ev Line | Count | Source | 886 | 2 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj6EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj16EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj40EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIjLj32EEC2Ev _ZN4llvm11SmallVectorINS_9StringRefELj4EEC2Ev Line | Count | Source | 886 | 8 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj10EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj5EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj16384EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjjELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj4EEC2Ev Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_19SimpleKeyELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_15ReplacementItemELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj32EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIjLj4EEC2Ev _ZN4llvm11SmallVectorIlLj8EEC2Ev Line | Count | Source | 886 | 266 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj4EEC2Ev _ZN4llvm11SmallVectorIjLj8EEC2Ev Line | Count | Source | 886 | 41 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir12OpFoldResultELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13OperationNameELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj3EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj8EEC2Ev _ZN4llvm11SmallVectorIN4mlir7Simplex12UndoLogEntryELj8EEC2Ev Line | Count | Source | 886 | 60 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorIiLj8EEC2Ev Line | Count | Source | 886 | 120 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorIN4mlir7Simplex7UnknownELj8EEC2Ev Line | Count | Source | 886 | 144 | SmallVector() : SmallVectorImpl<T>(N) {} |
_ZN4llvm11SmallVectorIN4mlir8FractionELj8EEC2Ev Line | Count | Source | 886 | 12 | SmallVector() : SmallVectorImpl<T>(N) {} |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj3EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_7APFloatELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_5APIntELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorImLj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9SubViewOp5RangeELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AffineMapELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjPN4mlir5BlockEELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjNS_9StringRefEELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir9AttributeENS_9StringRefEELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir4TypeENS_9StringRefEELj16EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorI15llvm_regmatch_tLj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir12OpFoldResultELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir9OperationELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir18DiagnosticArgumentELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_7SMFixItELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir6detail12ExpectedDiagELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIjLj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj100EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir8LocationELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir21MutableDictionaryAttrELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13NamedAttrListELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELj4EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir5BlockELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir5BlockELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir6RegionELj8EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AffineMapELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir9OperationELj4EEC2Ev Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_111SymbolScopeELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13SymbolRefAttrELj2EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairINS0_IiLj1EEEN4mlir13SymbolRefAttrEELj1EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj16EEC2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj10EEC2Ev |
887 | | |
888 | 1.63k | ~SmallVector() { |
889 | 1.63k | // Destroy the constructed elements in the vector. |
890 | 1.63k | this->destroy_range(this->begin(), this->end()); |
891 | 1.63k | } _ZN4llvm11SmallVectorIlLj8EED2Ev Line | Count | Source | 888 | 650 | ~SmallVector() { | 889 | 650 | // Destroy the constructed elements in the vector. | 890 | 650 | this->destroy_range(this->begin(), this->end()); | 891 | 650 | } |
_ZN4llvm11SmallVectorINS_8OptionalIN4mlir5ValueEEELj8EED2Ev Line | Count | Source | 888 | 31 | ~SmallVector() { | 889 | 31 | // Destroy the constructed elements in the vector. | 890 | 31 | this->destroy_range(this->begin(), this->end()); | 891 | 31 | } |
_ZN4llvm11SmallVectorIlLj64EED2Ev Line | Count | Source | 888 | 155 | ~SmallVector() { | 889 | 155 | // Destroy the constructed elements in the vector. | 890 | 155 | this->destroy_range(this->begin(), this->end()); | 891 | 155 | } |
_ZN4llvm11SmallVectorIjLj4EED2Ev Line | Count | Source | 888 | 2 | ~SmallVector() { | 889 | 2 | // Destroy the constructed elements in the vector. | 890 | 2 | this->destroy_range(this->begin(), this->end()); | 891 | 2 | } |
_ZN4llvm11SmallVectorIlLj4EED2Ev Line | Count | Source | 888 | 300 | ~SmallVector() { | 889 | 300 | // Destroy the constructed elements in the vector. | 890 | 300 | this->destroy_range(this->begin(), this->end()); | 891 | 300 | } |
_ZN4llvm11SmallVectorINS0_IlLj4EEELj4EED2Ev Line | Count | Source | 888 | 90 | ~SmallVector() { | 889 | 90 | // Destroy the constructed elements in the vector. | 890 | 90 | this->destroy_range(this->begin(), this->end()); | 891 | 90 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj64EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPNS_2cl14OptionCategoryELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj16EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EED2Ev _ZN4llvm11SmallVectorISt4pairINS_9StringRefEjELj4EED2Ev Line | Count | Source | 888 | 2 | ~SmallVector() { | 889 | 2 | // Destroy the constructed elements in the vector. | 890 | 2 | this->destroy_range(this->begin(), this->end()); | 891 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj32EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIPKcPNS_2cl6OptionEELj128EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIPKcPNS_2cl10SubCommandEELj128EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPNS_2cl6OptionELj4EED2Ev CommandLine.cpp:_ZN4llvm11SmallVectorIZNS_2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES3_RNS_15SmallVectorImplIPKcEEbES9_bbRNS_3vfs10FileSystemENS_8OptionalIS4_EEE18ResponseFileRecordLj3EED2Ev Line | Count | Source | 888 | 2 | ~SmallVector() { | 889 | 2 | // Destroy the constructed elements in the vector. | 890 | 2 | this->destroy_range(this->begin(), this->end()); | 891 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIPKcLj0EED2Ev _ZN4llvm11SmallVectorIPKcLj20EED2Ev Line | Count | Source | 888 | 4 | ~SmallVector() { | 889 | 4 | // Destroy the constructed elements in the vector. | 890 | 4 | this->destroy_range(this->begin(), this->end()); | 891 | 4 | } |
_ZN4llvm11SmallVectorISt4pairIPvmELj0EED2Ev Line | Count | Source | 888 | 4 | ~SmallVector() { | 889 | 4 | // Destroy the constructed elements in the vector. | 890 | 4 | this->destroy_range(this->begin(), this->end()); | 891 | 4 | } |
_ZN4llvm11SmallVectorIPvLj4EED2Ev Line | Count | Source | 888 | 4 | ~SmallVector() { | 889 | 4 | // Destroy the constructed elements in the vector. | 890 | 4 | this->destroy_range(this->begin(), this->end()); | 891 | 4 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj2EED2Ev _ZN4llvm11SmallVectorIcLj256EED2Ev Line | Count | Source | 888 | 2 | ~SmallVector() { | 889 | 2 | // Destroy the constructed elements in the vector. | 890 | 2 | this->destroy_range(this->begin(), this->end()); | 891 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj6EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj16EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorImLj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj40EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIjLj32EED2Ev _ZN4llvm11SmallVectorINS_9StringRefELj4EED2Ev Line | Count | Source | 888 | 8 | ~SmallVector() { | 889 | 8 | // Destroy the constructed elements in the vector. | 890 | 8 | this->destroy_range(this->begin(), this->end()); | 891 | 8 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj5EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj10EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_18IntrusiveRefCntPtrINS_3vfs10FileSystemEEELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj16384EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj0EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_7SMFixItELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjjELj4EED2Ev Unexecuted instantiation: YAMLParser.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_19SimpleKeyELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_15ReplacementItemELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj32EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir18DiagnosticArgumentELj4EED2Ev _ZN4llvm11SmallVectorIN4mlir7Simplex7UnknownELj8EED2Ev Line | Count | Source | 888 | 144 | ~SmallVector() { | 889 | 144 | // Destroy the constructed elements in the vector. | 890 | 144 | this->destroy_range(this->begin(), this->end()); | 891 | 144 | } |
_ZN4llvm11SmallVectorIiLj8EED2Ev Line | Count | Source | 888 | 120 | ~SmallVector() { | 889 | 120 | // Destroy the constructed elements in the vector. | 890 | 120 | this->destroy_range(this->begin(), this->end()); | 891 | 120 | } |
_ZN4llvm11SmallVectorIN4mlir7Simplex12UndoLogEntryELj8EED2Ev Line | Count | Source | 888 | 60 | ~SmallVector() { | 889 | 60 | // Destroy the constructed elements in the vector. | 890 | 60 | this->destroy_range(this->begin(), this->end()); | 891 | 60 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj32EED2Ev _ZN4llvm11SmallVectorIjLj8EED2Ev Line | Count | Source | 888 | 41 | ~SmallVector() { | 889 | 41 | // Destroy the constructed elements in the vector. | 890 | 41 | this->destroy_range(this->begin(), this->end()); | 891 | 41 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj256EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj16EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir12OpFoldResultELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt10unique_ptrIN4mlir6RegionESt14default_deleteIS3_EELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir5BlockELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13OperationNameELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj3EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj8EED2Ev _ZN4llvm11SmallVectorIN4mlir8FractionELj8EED2Ev Line | Count | Source | 888 | 12 | ~SmallVector() { | 889 | 12 | // Destroy the constructed elements in the vector. | 890 | 12 | this->destroy_range(this->begin(), this->end()); | 891 | 12 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11OpAsmParser11OperandTypeELj3EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_7APFloatELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_5APIntELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorImLj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9SubViewOp5RangeELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir11SideEffects14EffectInstanceINS1_13MemoryEffects6EffectEEELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir9OperationELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj32EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AffineMapELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjPN4mlir5BlockEELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir4TypeENS_9StringRefEELj16EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir9AttributeENS_9StringRefEELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjNS_9StringRefEELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorI15llvm_regmatch_tLj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir12OpFoldResultELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairImSt8functionIFN4mlir13LogicalResultERNS3_10DiagnosticEEEELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIjLj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj100EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir6detail12ExpectedDiagELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir8LocationELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir21MutableDictionaryAttrELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13NamedAttrListELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir5BlockELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir6RegionELj8EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AffineMapELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir9OperationELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir6RegionELj1EED2Ev Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_111SymbolScopeELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir13SymbolRefAttrELj2EED2Ev Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_111SymbolScopeELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj2EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj4EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairINS0_IiLj1EEEN4mlir13SymbolRefAttrEELj1EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj16EED2Ev Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj10EED2Ev |
892 | | |
893 | | explicit SmallVector(size_t Size, const T &Value = T()) |
894 | 110 | : SmallVectorImpl<T>(N) { |
895 | 110 | this->assign(Size, Value); |
896 | 110 | } _ZN4llvm11SmallVectorIjLj4EEC2EmRKj Line | Count | Source | 894 | 2 | : SmallVectorImpl<T>(N) { | 895 | 2 | this->assign(Size, Value); | 896 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorImLj4EEC2EmRKm _ZN4llvm11SmallVectorIlLj8EEC2EmRKl Line | Count | Source | 894 | 15 | : SmallVectorImpl<T>(N) { | 895 | 15 | this->assign(Size, Value); | 896 | 15 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj32EEC2EmRKb Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj8EEC2EmRKS2_ Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj4EEC2EmRKl Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj256EEC2EmRKb Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj16EEC2EmRKb Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj4EEC2EmRKS2_ _ZN4llvm11SmallVectorIlLj64EEC2EmRKl Line | Count | Source | 894 | 93 | : SmallVectorImpl<T>(N) { | 895 | 93 | this->assign(Size, Value); | 896 | 93 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir9OperationELj1EEC2EmRKS3_ Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj32EEC2EmRKl Unexecuted instantiation: _ZN4llvm11SmallVectorIbLj8EEC2EmRKb Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj4EEC2EmRKS2_ Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj2EEC2EmRKi Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj8EEC2EmRKc Unexecuted instantiation: _ZN4llvm11SmallVectorImLj8EEC2EmRKm Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj4EEC2EmRKS2_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj1EEC2EmRKS2_ Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj1EEC2EmRKi Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj1EEC2EmRKS2_ |
897 | | |
898 | | template <typename ItTy, |
899 | | typename = std::enable_if_t<std::is_convertible< |
900 | | typename std::iterator_traits<ItTy>::iterator_category, |
901 | | std::input_iterator_tag>::value>> |
902 | 241 | SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) { |
903 | 241 | this->append(S, E); |
904 | 241 | } _ZN4llvm11SmallVectorIPKcLj20EEC2IPKS2_vEET_S7_ Line | Count | Source | 902 | 2 | SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) { | 903 | 2 | this->append(S, E); | 904 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj256EEC2IPKcvEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EEC2IPKcvEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorINS_7SMFixItELj4EEC2IPKS1_vEET_S6_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2INS_6detail27indexed_accessor_range_baseINS1_10ValueRangeENS1_6detail15ValueRangeOwnerES2_S2_S2_E8iteratorEvEET_SC_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2INS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEvEET_SC_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2IPKS2_vEET_S7_ _ZN4llvm11SmallVectorIlLj8EEC2IPKlvEET_S5_ Line | Count | Source | 902 | 239 | SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) { | 903 | 239 | this->append(S, E); | 904 | 239 | } |
Unexecuted instantiation: Ops.cpp:_ZN4llvm11SmallVectorIlLj4EEC2INS_15mapped_iteratorIPKN4mlir9AttributeEZL23extractFromI64ArrayAttrS5_E4$_15lEEvEET_SA_ Unexecuted instantiation: Ops.cpp:_ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2INS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateOffsetsERNS1_9OpBuilderENS1_8LocationEE4$_16S2_EEvEET_SF_ Unexecuted instantiation: Ops.cpp:_ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2INS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp16getOrCreateSizesERNS1_9OpBuilderENS1_8LocationEE4$_17S2_EEvEET_SF_ Unexecuted instantiation: Ops.cpp:_ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2INS_15mapped_iteratorIPKNS1_9AttributeEZNS1_9SubViewOp18getOrCreateStridesERNS1_9OpBuilderENS1_8LocationEE4$_18S2_EEvEET_SF_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj8EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir10AffineExprELj4EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj16EEC2IPKcvEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj64EEC2IPKcvEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj32EEC2IPKcvEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj8EEC2IPKS5_vEET_SA_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKbZNS1_7Builder16getBoolArrayAttrENS_8ArrayRefIbEEE3$_0S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKiZNS1_7Builder15getI32ArrayAttrENS_8ArrayRefIiEEE3$_1S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKlZNS1_7Builder15getI64ArrayAttrENS_8ArrayRefIlEEE3$_2S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKlZNS1_7Builder17getIndexArrayAttrENS_8ArrayRefIlEEE3$_3S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKfZNS1_7Builder15getF32ArrayAttrENS_8ArrayRefIfEEE3$_4S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKdZNS1_7Builder15getF64ArrayAttrENS_8ArrayRefIdEEE3$_5S2_EEvEET_SD_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKNS_9StringRefEZNS1_7Builder15getStrArrayAttrENS_8ArrayRefIS6_EEE3$_6S2_EEvEET_SE_ Unexecuted instantiation: Builders.cpp:_ZN4llvm11SmallVectorIN4mlir9AttributeELj8EEC2INS_15mapped_iteratorIPKNS1_9AffineMapEZNS1_7Builder21getAffineMapArrayAttrENS_8ArrayRefIS6_EEE3$_7S2_EEvEET_SE_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj4EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir5BlockELj1EEC2IPKS3_vEET_S8_ Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELj1EEC2IPKS6_vEET_SB_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj2EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir17FlatSymbolRefAttrELj4EEC2IPKS2_vEET_S7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj1EEC2IPKivEET_S5_ Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj4EEC2IPKS5_vEET_SA_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AttributeELj4EEC2IPKS2_vEET_S7_ |
905 | | |
906 | | template <typename RangeTy> |
907 | | explicit SmallVector(const iterator_range<RangeTy> &R) |
908 | 0 | : SmallVectorImpl<T>(N) { |
909 | 0 | this->append(R.begin(), R.end()); |
910 | 0 | } Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2INS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj2EEC2INS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2INS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandES2_S2_S2_E8iteratorEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2INS_6detail27indexed_accessor_range_baseINS1_10ValueRangeENS1_6detail15ValueRangeOwnerES2_S2_S2_E8iteratorEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir4TypeELj8EEC2INS1_17ValueTypeIteratorINS_6detail27indexed_accessor_range_baseINS1_12OperandRangeEPNS1_9OpOperandENS1_5ValueESB_SB_E8iteratorEEEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: AsmPrinter.cpp:_ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj8EEC2INS_20filter_iterator_implIPKS5_ZN12_GLOBAL__N_113ModulePrinter21printOptionalAttrDictENS_8ArrayRefIS5_EENSD_INS_9StringRefEEEbE4$_17St26bidirectional_iterator_tagEEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj8EEC2INS2_9Operation21dialect_attr_iteratorEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj8EEC2IN4mlir17DenseElementsAttr15ElementIteratorIiEEEERKNS_14iterator_rangeIT_EE Unexecuted instantiation: _ZN4llvm11SmallVectorIPN4mlir6RegionELj1EEC2INS_16pointer_iteratorIS3_S3_EEEERKNS_14iterator_rangeIT_EE |
911 | | |
912 | 108 | SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) { |
913 | 108 | this->assign(IL); |
914 | 108 | } _ZN4llvm11SmallVectorIlLj4EEC2ESt16initializer_listIlE Line | Count | Source | 912 | 78 | SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) { | 913 | 78 | this->assign(IL); | 914 | 78 | } |
_ZN4llvm11SmallVectorINS0_IlLj4EEELj4EEC2ESt16initializer_listIS1_E Line | Count | Source | 912 | 30 | SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) { | 913 | 30 | this->assign(IL); | 914 | 30 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj4EEC2ESt16initializer_listIiE Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj4EEC2ESt16initializer_listIS1_E Unexecuted instantiation: _ZN4llvm11SmallVectorINS_9StringRefELj2EEC2ESt16initializer_listIS1_E Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_111SymbolScopeELj1EEC2ESt16initializer_listIS2_E Unexecuted instantiation: SymbolTable.cpp:_ZN4llvm11SmallVectorIN12_GLOBAL__N_111SymbolScopeELj2EEC2ESt16initializer_listIS2_E |
915 | | |
916 | 212 | SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { |
917 | 212 | if (!RHS.empty()) |
918 | 200 | SmallVectorImpl<T>::operator=(RHS); |
919 | 212 | } _ZN4llvm11SmallVectorINS0_IlLj4EEELj4EEC2ERKS2_ Line | Count | Source | 916 | 24 | SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { | 917 | 24 | if (!RHS.empty()) | 918 | 12 | SmallVectorImpl<T>::operator=(RHS); | 919 | 24 | } |
_ZN4llvm11SmallVectorIlLj4EEC2ERKS1_ Line | Count | Source | 916 | 126 | SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { | 917 | 126 | if (!RHS.empty()) | 918 | 126 | SmallVectorImpl<T>::operator=(RHS); | 919 | 126 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EEC2ERKS1_ _ZN4llvm11SmallVectorIlLj8EEC2ERKS1_ Line | Count | Source | 916 | 62 | SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { | 917 | 62 | if (!RHS.empty()) | 918 | 62 | SmallVectorImpl<T>::operator=(RHS); | 919 | 62 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj8EEC2ERKS3_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir5ValueELj4EEC2ERKS3_ Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj4EEC2ERKS6_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj8EEC2ERKS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir9AffineMapELj2EEC2ERKS3_ |
920 | | |
921 | 2 | const SmallVector &operator=(const SmallVector &RHS) { |
922 | 2 | SmallVectorImpl<T>::operator=(RHS); |
923 | 2 | return *this; |
924 | 2 | } Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj4EEaSERKS1_ _ZN4llvm11SmallVectorIPNS_2cl14OptionCategoryELj1EEaSERKS4_ Line | Count | Source | 921 | 2 | const SmallVector &operator=(const SmallVector &RHS) { | 922 | 2 | SmallVectorImpl<T>::operator=(RHS); | 923 | 2 | return *this; | 924 | 2 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj8EEaSERKS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj64EEaSERKS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorINS_8OptionalIN4mlir5ValueEEELj8EEaSERKS5_ |
925 | | |
926 | 65 | SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) { |
927 | 65 | if (!RHS.empty()) |
928 | 65 | SmallVectorImpl<T>::operator=(::std::move(RHS)); |
929 | 65 | } _ZN4llvm11SmallVectorIlLj4EEC2EOS1_ Line | Count | Source | 926 | 48 | SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) { | 927 | 48 | if (!RHS.empty()) | 928 | 48 | SmallVectorImpl<T>::operator=(::std::move(RHS)); | 929 | 48 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EEC2EOS1_ _ZN4llvm11SmallVectorIlLj8EEC2EOS1_ Line | Count | Source | 926 | 17 | SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) { | 927 | 17 | if (!RHS.empty()) | 928 | 17 | SmallVectorImpl<T>::operator=(::std::move(RHS)); | 929 | 17 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIjS1_IN4mlir10IdentifierENS2_9AttributeEEELj1EEC2EOS7_ Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj1EEC2EOS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir18DiagnosticArgumentELj4EEC2EOS3_ Unexecuted instantiation: _ZN4llvm11SmallVectorISt4pairIN4mlir10IdentifierENS2_9AttributeEELj4EEC2EOS6_ |
930 | | |
931 | 0 | SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) { |
932 | 0 | if (!RHS.empty()) |
933 | 0 | SmallVectorImpl<T>::operator=(::std::move(RHS)); |
934 | 0 | } Unexecuted instantiation: _ZN4llvm11SmallVectorIlLj8EEC2EONS_15SmallVectorImplIlEE Unexecuted instantiation: _ZN4llvm11SmallVectorIiLj1EEC2EONS_15SmallVectorImplIiEE |
935 | | |
936 | 57 | const SmallVector &operator=(SmallVector &&RHS) { |
937 | 57 | SmallVectorImpl<T>::operator=(::std::move(RHS)); |
938 | 57 | return *this; |
939 | 57 | } Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj128EEaSEOS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj256EEaSEOS1_ Unexecuted instantiation: _ZN4llvm11SmallVectorIcLj32EEaSEOS1_ _ZN4llvm11SmallVectorIN4mlir7Simplex7UnknownELj8EEaSEOS4_ Line | Count | Source | 936 | 24 | const SmallVector &operator=(SmallVector &&RHS) { | 937 | 24 | SmallVectorImpl<T>::operator=(::std::move(RHS)); | 938 | 24 | return *this; | 939 | 24 | } |
_ZN4llvm11SmallVectorIlLj8EEaSEOS1_ Line | Count | Source | 936 | 33 | const SmallVector &operator=(SmallVector &&RHS) { | 937 | 33 | SmallVectorImpl<T>::operator=(::std::move(RHS)); | 938 | 33 | return *this; | 939 | 33 | } |
Unexecuted instantiation: _ZN4llvm11SmallVectorIN4mlir18DiagnosticArgumentELj4EEaSEOS3_ |
940 | | |
941 | | const SmallVector &operator=(SmallVectorImpl<T> &&RHS) { |
942 | | SmallVectorImpl<T>::operator=(::std::move(RHS)); |
943 | | return *this; |
944 | | } |
945 | | |
946 | | const SmallVector &operator=(std::initializer_list<T> IL) { |
947 | | this->assign(IL); |
948 | | return *this; |
949 | | } |
950 | | }; |
951 | | |
952 | | template <typename T, unsigned N> |
953 | | inline size_t capacity_in_bytes(const SmallVector<T, N> &X) { |
954 | | return X.capacity_in_bytes(); |
955 | | } |
956 | | |
957 | | /// Given a range of type R, iterate the entire range and return a |
958 | | /// SmallVector with elements of the vector. This is useful, for example, |
959 | | /// when you want to iterate a range and then sort the results. |
960 | | template <unsigned Size, typename R> |
961 | | SmallVector<typename std::remove_const<typename std::remove_reference< |
962 | | decltype(*std::begin(std::declval<R &>()))>::type>::type, |
963 | | Size> |
964 | 0 | to_vector(R &&Range) { |
965 | 0 | return {std::begin(Range), std::end(Range)}; |
966 | 0 | } Unexecuted instantiation: Ops.cpp:_ZN4llvm9to_vectorILj4ENS_14iterator_rangeINS_15mapped_iteratorIPKN4mlir9AttributeEZL23extractFromI64ArrayAttrS4_E4$_15lEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSD_ Unexecuted instantiation: Ops.cpp:_ZN4llvm9to_vectorILj4ENS_14iterator_rangeINS_15mapped_iteratorIPKN4mlir9AttributeEZNS3_9SubViewOp18getOrCreateOffsetsERNS3_9OpBuilderENS3_8LocationEE4$_16NS3_5ValueEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSI_ Unexecuted instantiation: Ops.cpp:_ZN4llvm9to_vectorILj4ENS_14iterator_rangeINS_15mapped_iteratorIPKN4mlir9AttributeEZNS3_9SubViewOp16getOrCreateSizesERNS3_9OpBuilderENS3_8LocationEE4$_17NS3_5ValueEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSI_ Unexecuted instantiation: Ops.cpp:_ZN4llvm9to_vectorILj4ENS_14iterator_rangeINS_15mapped_iteratorIPKN4mlir9AttributeEZNS3_9SubViewOp18getOrCreateStridesERNS3_9OpBuilderENS3_8LocationEE4$_18NS3_5ValueEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSI_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKbZN4mlir7Builder16getBoolArrayAttrENS_8ArrayRefIbEEE3$_0NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKiZN4mlir7Builder15getI32ArrayAttrENS_8ArrayRefIiEEE3$_1NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKlZN4mlir7Builder15getI64ArrayAttrENS_8ArrayRefIlEEE3$_2NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKlZN4mlir7Builder17getIndexArrayAttrENS_8ArrayRefIlEEE3$_3NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKfZN4mlir7Builder15getF32ArrayAttrENS_8ArrayRefIfEEE3$_4NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKdZN4mlir7Builder15getF64ArrayAttrENS_8ArrayRefIdEEE3$_5NS5_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSG_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKNS_9StringRefEZN4mlir7Builder15getStrArrayAttrENS_8ArrayRefIS3_EEE3$_6NS6_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSH_ Unexecuted instantiation: Builders.cpp:_ZN4llvm9to_vectorILj8ENS_14iterator_rangeINS_15mapped_iteratorIPKN4mlir9AffineMapEZNS3_7Builder21getAffineMapArrayAttrENS_8ArrayRefIS4_EEE3$_7NS3_9AttributeEEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSH_ Unexecuted instantiation: _ZN4llvm9to_vectorILj2ENS_8ArrayRefIN4mlir17FlatSymbolRefAttrEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOS8_ Unexecuted instantiation: _ZN4llvm9to_vectorILj4ENS_8ArrayRefIN4mlir17FlatSymbolRefAttrEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOS8_ Unexecuted instantiation: _ZN4llvm9to_vectorILj1ERNS_8ArrayRefIiEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOS7_ Unexecuted instantiation: _ZN4llvm9to_vectorILj4ENS_8ArrayRefISt4pairIN4mlir10IdentifierENS3_9AttributeEEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOSB_ Unexecuted instantiation: _ZN4llvm9to_vectorILj4ENS_8ArrayRefIN4mlir9AttributeEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOS8_ Unexecuted instantiation: _ZN4llvm9to_vectorILj4ERNS_8ArrayRefIN4mlir4TypeEEEEENS_11SmallVectorINSt12remove_constINSt16remove_referenceIDTdeclsr3stdE5beginclsr3stdE7declvalIRT0_EEEEE4typeEE4typeEXT_EEEOS9_ |
967 | | |
968 | | } // end namespace llvm |
969 | | |
970 | | namespace std { |
971 | | |
972 | | /// Implement std::swap in terms of SmallVector swap. |
973 | | template<typename T> |
974 | | inline void |
975 | | swap(llvm::SmallVectorImpl<T> &LHS, llvm::SmallVectorImpl<T> &RHS) { |
976 | | LHS.swap(RHS); |
977 | | } |
978 | | |
979 | | /// Implement std::swap in terms of SmallVector swap. |
980 | | template<typename T, unsigned N> |
981 | | inline void |
982 | | swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) { |
983 | | LHS.swap(RHS); |
984 | | } |
985 | | |
986 | | } // end namespace std |
987 | | |
988 | | #endif // LLVM_ADT_SMALLVECTOR_H |