reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
43 using iterator = const T *; 44 using const_iterator = const T *; 50 const T *Data = nullptr; 66 /*implicit*/ ArrayRef(const T &OneElt) 70 /*implicit*/ ArrayRef(const T *data, size_t length) 74 ArrayRef(const T *begin, const T *end) 74 ArrayRef(const T *begin, const T *end) 81 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) 87 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) 92 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) 97 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} 100 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) 145 const T *data() const { return Data; } 151 const T &front() const { 157 const T &back() const { 163 template <typename Allocator> ArrayRef<T> copy(Allocator &A) { 178 ArrayRef<T> slice(size_t N, size_t M) const { 184 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } 187 ArrayRef<T> drop_front(size_t N = 1) const { 193 ArrayRef<T> drop_back(size_t N = 1) const { 200 template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const { 206 template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const { 211 ArrayRef<T> take_front(size_t N = 1) const { 218 ArrayRef<T> take_back(size_t N = 1) const { 226 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const { 232 template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const { 239 const T &operator[](size_t Index) const { 249 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type & 257 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type & 263 std::vector<T> vec() const { 270 operator std::vector<T>() const {include/llvm/CodeGen/CostTable.h
31 inline const CostTblEntry *CostTableLookup(ArrayRef<CostTblEntry> Tbl, 31 inline const CostTblEntry *CostTableLookup(ArrayRef<CostTblEntry> Tbl,lib/Target/AArch64/AArch64TargetTransformInfo.cpp
934 static const CostTblEntry CostTblNoPairwise[]{ 942 if (const auto *Entry = CostTableLookup(CostTblNoPairwise, ISD, MTy)) 952 static const CostTblEntry ShuffleTbl[] = { 994 if (const auto *Entry = CostTableLookup(ShuffleTbl, Kind, LT.second))lib/Target/ARM/ARMTargetTransformInfo.cpp
154 static const CostTblEntry NEONFltDblTbl[] = { 164 if (const auto *Entry = CostTableLookup(NEONFltDblTbl, ISD, LT.second)) 553 static const CostTblEntry NEONDupTbl[] = { 569 if (const auto *Entry = 574 static const CostTblEntry NEONShuffleTbl[] = { 591 if (const auto *Entry = 596 static const CostTblEntry NEONSelShuffleTbl[] = { 615 if (const auto *Entry = CostTableLookup(NEONSelShuffleTbl, 622 static const CostTblEntry MVEDupTbl[] = { 632 if (const auto *Entry = CostTableLookup(MVEDupTbl, ISD::VECTOR_SHUFFLE, 653 static const CostTblEntry CostTbl[] = { 695 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second))lib/Target/X86/X86TargetTransformInfo.cpp
184 static const CostTblEntry GLMCostTable[] = { 192 if (const auto *Entry = CostTableLookup(GLMCostTable, ISD, 196 static const CostTblEntry SLMCostTable[] = { 241 if (const auto *Entry = CostTableLookup(SLMCostTable, ISD, 289 static const CostTblEntry AVX512BWUniformConstCostTable[] = { 297 if (const auto *Entry = CostTableLookup(AVX512BWUniformConstCostTable, ISD, 302 static const CostTblEntry AVX512UniformConstCostTable[] = { 310 if (const auto *Entry = CostTableLookup(AVX512UniformConstCostTable, ISD, 315 static const CostTblEntry AVX2UniformConstCostTable[] = { 325 if (const auto *Entry = CostTableLookup(AVX2UniformConstCostTable, ISD, 330 static const CostTblEntry SSE2UniformConstCostTable[] = { 343 if (const auto *Entry = 348 static const CostTblEntry AVX512BWConstCostTable[] = { 362 if (const auto *Entry = 367 static const CostTblEntry AVX512ConstCostTable[] = { 377 if (const auto *Entry = 382 static const CostTblEntry AVX2ConstCostTable[] = { 400 if (const auto *Entry = CostTableLookup(AVX2ConstCostTable, ISD, LT.second)) 404 static const CostTblEntry SSE2ConstCostTable[] = { 444 if (const auto *Entry = CostTableLookup(SSE2ConstCostTable, ISD, LT.second)) 448 static const CostTblEntry AVX2UniformCostTable[] = { 458 if (const auto *Entry = 463 static const CostTblEntry SSE2UniformCostTable[] = { 480 if (const auto *Entry = 485 static const CostTblEntry AVX512DQCostTable[] = { 493 if (const auto *Entry = CostTableLookup(AVX512DQCostTable, ISD, LT.second)) 496 static const CostTblEntry AVX512BWCostTable[] = { 520 if (const auto *Entry = CostTableLookup(AVX512BWCostTable, ISD, LT.second)) 523 static const CostTblEntry AVX512CostTable[] = { 552 if (const auto *Entry = CostTableLookup(AVX512CostTable, ISD, LT.second)) 555 static const CostTblEntry AVX2ShiftCostTable[] = { 581 if (const auto *Entry = CostTableLookup(AVX2ShiftCostTable, ISD, LT.second)) 585 static const CostTblEntry XOPShiftCostTable[] = { 623 if (const auto *Entry = 628 static const CostTblEntry SSE2UniformShiftCostTable[] = { 652 if (const auto *Entry = 667 static const CostTblEntry AVX2CostTable[] = { 711 if (const auto *Entry = CostTableLookup(AVX2CostTable, ISD, LT.second)) 714 static const CostTblEntry AVX1CostTable[] = { 747 if (const auto *Entry = CostTableLookup(AVX1CostTable, ISD, LT.second)) 750 static const CostTblEntry SSE42CostTable[] = { 773 if (const auto *Entry = CostTableLookup(SSE42CostTable, ISD, LT.second)) 776 static const CostTblEntry SSE41CostTable[] = { 802 if (const auto *Entry = CostTableLookup(SSE41CostTable, ISD, LT.second)) 805 static const CostTblEntry SSE2CostTable[] = { 844 if (const auto *Entry = CostTableLookup(SSE2CostTable, ISD, LT.second)) 847 static const CostTblEntry SSE1CostTable[] = { 867 if (const auto *Entry = CostTableLookup(SSE1CostTable, ISD, LT.second)) 987 static const CostTblEntry AVX512VBMIShuffleTbl[] = { 1000 if (const auto *Entry = 1004 static const CostTblEntry AVX512BWShuffleTbl[] = { 1027 if (const auto *Entry = 1031 static const CostTblEntry AVX512ShuffleTbl[] = { 1071 if (const auto *Entry = CostTableLookup(AVX512ShuffleTbl, Kind, LT.second)) 1074 static const CostTblEntry AVX2ShuffleTbl[] = { 1112 if (const auto *Entry = CostTableLookup(AVX2ShuffleTbl, Kind, LT.second)) 1115 static const CostTblEntry XOPShuffleTbl[] = { 1134 if (const auto *Entry = CostTableLookup(XOPShuffleTbl, Kind, LT.second)) 1137 static const CostTblEntry AVX1ShuffleTbl[] = { 1181 if (const auto *Entry = CostTableLookup(AVX1ShuffleTbl, Kind, LT.second)) 1184 static const CostTblEntry SSE41ShuffleTbl[] = { 1194 if (const auto *Entry = CostTableLookup(SSE41ShuffleTbl, Kind, LT.second)) 1197 static const CostTblEntry SSSE3ShuffleTbl[] = { 1215 if (const auto *Entry = CostTableLookup(SSSE3ShuffleTbl, Kind, LT.second)) 1218 static const CostTblEntry SSE2ShuffleTbl[] = { 1254 if (const auto *Entry = CostTableLookup(SSE2ShuffleTbl, Kind, LT.second)) 1257 static const CostTblEntry SSE1ShuffleTbl[] = { 1266 if (const auto *Entry = CostTableLookup(SSE1ShuffleTbl, Kind, LT.second)) 1745 static const CostTblEntry SLMCostTbl[] = { 1750 static const CostTblEntry AVX512BWCostTbl[] = { 1758 static const CostTblEntry AVX512CostTbl[] = { 1770 static const CostTblEntry AVX2CostTbl[] = { 1782 static const CostTblEntry AVX1CostTbl[] = { 1799 static const CostTblEntry SSE42CostTbl[] = { 1805 static const CostTblEntry SSE41CostTbl[] = { 1814 static const CostTblEntry SSE2CostTbl[] = { 1829 static const CostTblEntry SSE1CostTbl[] = { 1837 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy)) 1841 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy)) 1845 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) 1849 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy)) 1853 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy)) 1857 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy)) 1861 if (const auto *Entry = CostTableLookup(SSE41CostTbl, ISD, MTy)) 1865 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy)) 1869 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy)) 1886 static const CostTblEntry AVX512CDCostTbl[] = { 1900 static const CostTblEntry AVX512BWCostTbl[] = { 1926 static const CostTblEntry AVX512CostTbl[] = { 1944 static const CostTblEntry XOPCostTbl[] = { 1958 static const CostTblEntry AVX2CostTbl[] = { 1995 static const CostTblEntry AVX1CostTbl[] = { 2032 static const CostTblEntry GLMCostTbl[] = { 2038 static const CostTblEntry SLMCostTbl[] = { 2044 static const CostTblEntry SSE42CostTbl[] = { 2050 static const CostTblEntry SSSE3CostTbl[] = { 2071 static const CostTblEntry SSE2CostTbl[] = { 2102 static const CostTblEntry SSE1CostTbl[] = { 2106 static const CostTblEntry LZCNT64CostTbl[] = { // 64-bit targets 2109 static const CostTblEntry LZCNT32CostTbl[] = { // 32 or 64-bit targets 2114 static const CostTblEntry POPCNT64CostTbl[] = { // 64-bit targets 2117 static const CostTblEntry POPCNT32CostTbl[] = { // 32 or 64-bit targets 2122 static const CostTblEntry X64CostTbl[] = { // 64-bit targets 2129 static const CostTblEntry X86CostTbl[] = { // 32 or 64-bit targets 2203 if (const auto *Entry = CostTableLookup(GLMCostTbl, ISD, MTy)) 2207 if (const auto *Entry = CostTableLookup(SLMCostTbl, ISD, MTy)) 2211 if (const auto *Entry = CostTableLookup(AVX512CDCostTbl, ISD, MTy)) 2215 if (const auto *Entry = CostTableLookup(AVX512BWCostTbl, ISD, MTy)) 2219 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) 2223 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy)) 2227 if (const auto *Entry = CostTableLookup(AVX2CostTbl, ISD, MTy)) 2231 if (const auto *Entry = CostTableLookup(AVX1CostTbl, ISD, MTy)) 2235 if (const auto *Entry = CostTableLookup(SSE42CostTbl, ISD, MTy)) 2239 if (const auto *Entry = CostTableLookup(SSSE3CostTbl, ISD, MTy)) 2243 if (const auto *Entry = CostTableLookup(SSE2CostTbl, ISD, MTy)) 2247 if (const auto *Entry = CostTableLookup(SSE1CostTbl, ISD, MTy)) 2252 if (const auto *Entry = CostTableLookup(LZCNT64CostTbl, ISD, MTy)) 2255 if (const auto *Entry = CostTableLookup(LZCNT32CostTbl, ISD, MTy)) 2261 if (const auto *Entry = CostTableLookup(POPCNT64CostTbl, ISD, MTy)) 2264 if (const auto *Entry = CostTableLookup(POPCNT32CostTbl, ISD, MTy)) 2271 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, MTy)) 2274 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, MTy)) 2284 static const CostTblEntry AVX512CostTbl[] = { 2299 static const CostTblEntry XOPCostTbl[] = { 2317 static const CostTblEntry X64CostTbl[] = { // 64-bit targets 2322 static const CostTblEntry X86CostTbl[] = { // 32 or 64-bit targets 2358 if (const auto *Entry = CostTableLookup(AVX512CostTbl, ISD, MTy)) 2362 if (const auto *Entry = CostTableLookup(XOPCostTbl, ISD, MTy)) 2366 if (const auto *Entry = CostTableLookup(X64CostTbl, ISD, MTy)) 2369 if (const auto *Entry = CostTableLookup(X86CostTbl, ISD, MTy)) 2537 static const CostTblEntry SSE2CostTblPairWise[] = { 2552 static const CostTblEntry AVX1CostTblPairWise[] = { 2562 static const CostTblEntry SSE2CostTblNoPairWise[] = { 2577 static const CostTblEntry AVX1CostTblNoPairWise[] = { 2599 if (const auto *Entry = CostTableLookup(AVX1CostTblPairWise, ISD, MTy)) 2603 if (const auto *Entry = CostTableLookup(SSE2CostTblPairWise, ISD, MTy)) 2607 if (const auto *Entry = CostTableLookup(AVX1CostTblNoPairWise, ISD, MTy)) 2611 if (const auto *Entry = CostTableLookup(SSE2CostTblNoPairWise, ISD, MTy)) 2622 if (const auto *Entry = CostTableLookup(AVX1CostTblPairWise, ISD, MTy)) 2626 if (const auto *Entry = CostTableLookup(SSE2CostTblPairWise, ISD, MTy)) 2630 if (const auto *Entry = CostTableLookup(AVX1CostTblNoPairWise, ISD, MTy)) 2634 if (const auto *Entry = CostTableLookup(SSE2CostTblNoPairWise, ISD, MTy)) 2638 static const CostTblEntry AVX2BoolReduction[] = { 2645 static const CostTblEntry AVX1BoolReduction[] = { 2656 static const CostTblEntry SSE2BoolReduction[] = { 2670 if (const auto *Entry = CostTableLookup(AVX2BoolReduction, ISD, MTy)) 2673 if (const auto *Entry = CostTableLookup(AVX1BoolReduction, ISD, MTy)) 2676 if (const auto *Entry = CostTableLookup(SSE2BoolReduction, ISD, MTy)) 2701 static const CostTblEntry SSE1CostTblPairWise[] = { 2705 static const CostTblEntry SSE2CostTblPairWise[] = { 2717 static const CostTblEntry SSE41CostTblPairWise[] = { 2729 static const CostTblEntry SSE42CostTblPairWise[] = { 2734 static const CostTblEntry AVX1CostTblPairWise[] = { 2756 static const CostTblEntry AVX2CostTblPairWise[] = { 2767 static const CostTblEntry AVX512CostTblPairWise[] = { 2776 static const CostTblEntry SSE1CostTblNoPairWise[] = { 2780 static const CostTblEntry SSE2CostTblNoPairWise[] = { 2792 static const CostTblEntry SSE41CostTblNoPairWise[] = { 2804 static const CostTblEntry SSE42CostTblNoPairWise[] = { 2809 static const CostTblEntry AVX1CostTblNoPairWise[] = { 2831 static const CostTblEntry AVX2CostTblNoPairWise[] = { 2842 static const CostTblEntry AVX512CostTblNoPairWise[] = { 2853 if (const auto *Entry = CostTableLookup(AVX512CostTblPairWise, ISD, MTy)) 2857 if (const auto *Entry = CostTableLookup(AVX2CostTblPairWise, ISD, MTy)) 2861 if (const auto *Entry = CostTableLookup(AVX1CostTblPairWise, ISD, MTy)) 2865 if (const auto *Entry = CostTableLookup(SSE42CostTblPairWise, ISD, MTy)) 2869 if (const auto *Entry = CostTableLookup(SSE41CostTblPairWise, ISD, MTy)) 2873 if (const auto *Entry = CostTableLookup(SSE2CostTblPairWise, ISD, MTy)) 2877 if (const auto *Entry = CostTableLookup(SSE1CostTblPairWise, ISD, MTy)) 2881 if (const auto *Entry = 2886 if (const auto *Entry = CostTableLookup(AVX2CostTblNoPairWise, ISD, MTy)) 2890 if (const auto *Entry = CostTableLookup(AVX1CostTblNoPairWise, ISD, MTy)) 2894 if (const auto *Entry = CostTableLookup(SSE42CostTblNoPairWise, ISD, MTy)) 2898 if (const auto *Entry = CostTableLookup(SSE41CostTblNoPairWise, ISD, MTy)) 2902 if (const auto *Entry = CostTableLookup(SSE2CostTblNoPairWise, ISD, MTy)) 2906 if (const auto *Entry = CostTableLookup(SSE1CostTblNoPairWise, ISD, MTy)) 3540 static const CostTblEntry AVX2InterleavedLoadTbl[] = { 3560 static const CostTblEntry AVX2InterleavedStoreTbl[] = { 3578 if (const auto *Entry = 3584 if (const auto *Entry = 3637 static const CostTblEntry AVX512InterleavedLoadTbl[] = { 3643 if (const auto *Entry = 3691 static const CostTblEntry AVX512InterleavedStoreTbl[] = { 3702 if (const auto *Entry =usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
192 typedef _Tp value_type; 194 typedef const _Tp* pointer; 195 typedef const _Tp& reference;