|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DenseMap.h 40 struct DenseMapPair : public std::pair<KeyT, ValueT> {
45 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
46 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
66 using mapped_type = ValueT;
69 using iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>;
71 DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true>;
185 ValueT lookup(const_arg_type_t<KeyT> Val) const {
195 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
202 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
219 InsertIntoBucket(TheBucket, std::move(Key), std::forward<Ts>(Args)...);
237 TheBucket = InsertIntoBucket(TheBucket, Key, std::forward<Ts>(Args)...);
249 std::pair<iterator, bool> insert_as(std::pair<KeyT, ValueT> &&KV,
299 ValueT &operator[](const KeyT &Key) {
311 ValueT &operator[](KeyT &&Key) {
338 P->getSecond().~ValueT();
380 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond()));
384 B->getSecond().~ValueT();
392 const DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT> &other) {
516 ValueArgs &&... Values) {
520 ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
520 ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
526 ValueT &&Value, LookupKeyT &Lookup) {
852 SmallDenseMap<KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT>, KeyT,
853 ValueT, KeyInfoT, BucketT> {
1031 ::new (&TmpEnd->getSecond()) ValueT(std::move(P->getSecond()));
1033 P->getSecond().~ValueT();
1163 using ConstIterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, true>;
1199 const DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc> &I)
include/llvm/ADT/Optional.h 144 T value;
160 explicit OptionalStorage(in_place_t, Args &&... args)
161 : value(std::forward<Args>(args)...), hasVal(true) {}
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
181 T &&getValue() && noexcept {
206 ::new ((void *)std::addressof(value)) T(std::move(y));
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
316 bool operator==(const Optional<T> &X, NoneType) {
326 bool operator!=(const Optional<T> &X, NoneType) {
367 template <typename T> bool operator==(const Optional<T> &X, const T &Y) {
367 template <typename T> bool operator==(const Optional<T> &X, const T &Y) {
375 template <typename T> bool operator!=(const Optional<T> &X, const T &Y) {
375 template <typename T> bool operator!=(const Optional<T> &X, const T &Y) {
419 raw_ostream &operator<<(raw_ostream &OS, const Optional<T> &O) {
include/llvm/Analysis/AliasAnalysis.h 94 raw_ostream &operator<<(raw_ostream &OS, AliasResult AR);
300 using AliasCacheT = SmallDenseMap<LocPair, AliasResult, 8>;
349 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
352 AliasResult alias(const Value *V1, LocationSize V1Size, const Value *V2,
358 AliasResult alias(const Value *V1, const Value *V2) {
693 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
783 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
839 virtual AliasResult alias(const MemoryLocation &LocA,
898 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
973 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
1032 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Analysis/AliasSetTracker.h 318 AliasResult aliasesPointer(const Value *Ptr, LocationSize Size,
include/llvm/Analysis/BasicAliasAnalysis.h 84 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
198 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
204 AliasResult aliasPHI(const PHINode *PN, LocationSize PNSize,
209 AliasResult aliasSelect(const SelectInst *SI, LocationSize SISize,
214 AliasResult aliasCheck(const Value *V1, LocationSize V1Size,
include/llvm/Analysis/CFLAndersAliasAnalysis.h 63 AliasResult query(const MemoryLocation &, const MemoryLocation &);
64 AliasResult alias(const MemoryLocation &, const MemoryLocation &,
include/llvm/Analysis/CFLSteensAliasAnalysis.h 71 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB);
73 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
86 AliasResult QueryResult = query(LocA, LocB);
include/llvm/Analysis/GlobalsModRef.h 91 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Analysis/MemorySSA.h 271 Optional<AliasResult> getOptimizedAccessType() const {
295 void setOptimizedAccessType(Optional<AliasResult> AR) {
300 Optional<AliasResult> AR = MayAlias) {
311 Optional<AliasResult> OptimizedAccessAlias;
include/llvm/Analysis/ObjCARCAliasAnalysis.h 55 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h 33 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Analysis/ScopedNoAliasAA.h 42 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Analysis/TypeBasedAliasAnalysis.h 43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
181 static_assert(value == std::is_trivially_copyable<T>::value,
lib/Analysis/AliasAnalysis.cpp 104 AliasResult AAResults::alias(const MemoryLocation &LocA,
110 AliasResult AAResults::alias(const MemoryLocation &LocA,
113 auto Result = AA->alias(LocA, LocB, AAQI);
218 AliasResult ArgAlias = alias(ArgLoc, Loc);
410 raw_ostream &llvm::operator<<(raw_ostream &OS, AliasResult AR) {
447 AliasResult AR = alias(MemoryLocation::get(L), Loc, AAQI);
470 AliasResult AR = alias(MemoryLocation::get(S), Loc, AAQI);
515 AliasResult AR = alias(MemoryLocation::get(V), Loc, AAQI);
589 AliasResult AR = alias(MemoryLocation::get(CX), Loc, AAQI);
617 AliasResult AR = alias(MemoryLocation::get(RMW), Loc, AAQI);
676 AliasResult AR = alias(MemoryLocation(*CI), MemoryLocation(Object));
lib/Analysis/AliasAnalysisEvaluator.cpp 43 static void PrintResults(AliasResult AR, bool P, const Value *V1,
75 static inline void PrintLoadStoreResults(AliasResult AR, bool P,
153 AliasResult AR = AA.alias(*I1, I1Size, *I2, I2Size);
179 AliasResult AR = AA.alias(MemoryLocation::get(cast<LoadInst>(Load)),
206 AliasResult AR = AA.alias(MemoryLocation::get(cast<StoreInst>(*I1)),
lib/Analysis/AliasSetTracker.cpp 145 AliasResult Result = AA.alias(
198 AliasResult AliasSet::aliasesPointer(const Value *Ptr, LocationSize Size,
219 if (AliasResult AR = AA.alias(
309 AliasResult AllAR = MustAlias;
315 AliasResult AR = Cur->aliasesPointer(Ptr, Size, AAInfo, AA);
lib/Analysis/BasicAliasAnalysis.cpp 839 AliasResult BasicAAResult::alias(const MemoryLocation &LocA,
856 AliasResult Alias = aliasCheck(LocA.Ptr, LocA.Size, LocA.AATags, LocB.Ptr,
924 AliasResult AR = getBestAAResults().alias(MemoryLocation(*CI),
980 AliasResult SrcAA, DestAA;
1083 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1,
1310 AliasResult BasicAAResult::aliasGEP(
1347 AliasResult BaseAlias =
1355 AliasResult PreciseBaseAlias = aliasCheck(
1387 AliasResult R = aliasSameBasePointerGEPs(GEP1, V1Size, GEP2, V2Size, DL);
1411 AliasResult R = aliasCheck(UnderlyingV1, LocationSize::unknown(),
1533 static AliasResult MergeAliasResults(AliasResult A, AliasResult B) {
1533 static AliasResult MergeAliasResults(AliasResult A, AliasResult B) {
1533 static AliasResult MergeAliasResults(AliasResult A, AliasResult B) {
1547 AliasResult
1556 AliasResult Alias =
1561 AliasResult ThisAlias =
1569 AliasResult Alias = aliasCheck(V2, V2Size, V2AAInfo, SI->getTrueValue(),
1574 AliasResult ThisAlias = aliasCheck(V2, V2Size, V2AAInfo, SI->getFalseValue(),
1581 AliasResult BasicAAResult::aliasPHI(const PHINode *PN, LocationSize PNSize,
1606 AliasResult Alias = NoAlias;
1607 AliasResult OrigAliasResult;
1618 AliasResult ThisAlias =
1707 AliasResult Alias = aliasCheck(V2, V2Size, V2AAInfo, V1Srcs[0], PNSize,
1720 AliasResult ThisAlias =
1732 AliasResult BasicAAResult::aliasCheck(const Value *V1, LocationSize V1Size,
1843 AliasResult Result =
1860 AliasResult Result =
1876 AliasResult Result =
1899 AliasResult Result = getBestAAResults().alias(Locs.first, Locs.second, AAQI);
lib/Analysis/CFLAndersAliasAnalysis.cpp 847 AliasResult CFLAndersAAResult::query(const MemoryLocation &LocA,
879 AliasResult CFLAndersAAResult::alias(const MemoryLocation &LocA,
893 AliasResult QueryResult = query(LocA, LocB);
lib/Analysis/CFLSteensAliasAnalysis.cpp 265 AliasResult CFLSteensAAResult::query(const MemoryLocation &LocA,
lib/Analysis/DependenceAnalysis.cpp 644 static AliasResult underlyingObjectsAlias(AliasAnalysis *AA,
lib/Analysis/GlobalsModRef.cpp 810 AliasResult GlobalsAAResult::alias(const MemoryLocation &LocA,
lib/Analysis/Lint.cpp 280 AliasResult Result = AA->alias(*AI, *BI);
lib/Analysis/MemoryDependenceAnalysis.cpp 578 AliasResult R = AA.alias(LoadLoc, MemLoc);
649 AliasResult R = AA.alias(StoreLoc, MemLoc);
lib/Analysis/MemorySSA.cpp 253 Optional<AliasResult> AR;
267 Optional<AliasResult> AR;
345 Optional<AliasResult> AR = MayAlias;
545 Optional<AliasResult> AR;
1297 Optional<AliasResult> AR;
2195 if (Optional<AliasResult> AR = getOptimizedAccessType())
2235 if (Optional<AliasResult> AR = getOptimizedAccessType())
lib/Analysis/ObjCARCAliasAnalysis.cpp 39 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA,
49 AliasResult Result =
lib/Analysis/ScalarEvolutionAliasAnalysis.cpp 24 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA,
lib/Analysis/ScopedNoAliasAA.cpp 77 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA,
lib/Analysis/TypeBasedAliasAnalysis.cpp 369 AliasResult TypeBasedAAResult::alias(const MemoryLocation &LocA,
lib/CodeGen/DFAPacketizer.cpp 338 AliasResult AAResult =
lib/CodeGen/ImplicitNullChecks.cpp 349 llvm::AliasResult AAResult =
lib/CodeGen/MachineInstr.cpp 1274 AliasResult AAResult = AA->alias(
lib/CodeGen/MachinePipeliner.cpp 732 AliasResult AAResult = AA->alias(
lib/CodeGen/SelectionDAG/DAGCombiner.cpp20589 AliasResult AAResult = AA->alias(
lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp 57 static const AliasResult ASAliasRules[8][8] = {
69 static AliasResult getAliasResult(unsigned AS1, unsigned AS2) {
78 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA,
84 AliasResult Result = getAliasResult(asA, asB);
lib/Target/AMDGPU/AMDGPUAliasAnalysis.h 47 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp 530 AliasResult AAResult =
unittests/Analysis/AliasAnalysisTest.cpp 88 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
136 inline _GLIBCXX17_CONSTEXPR _Tp*
137 addressof(_Tp& __r) noexcept
143 const _Tp* addressof(const _Tp&&) = delete;
143 const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/stl_pair.h 101 is_constructible<_T2, const _U2&>>::value;
101 is_constructible<_T2, const _U2&>>::value;
108 is_convertible<const _U2&, _T2>>::value;
108 is_convertible<const _U2&, _T2>>::value;
115 is_constructible<_T2, _U2&&>>::value;
115 is_constructible<_T2, _U2&&>>::value;
122 is_convertible<_U2&&, _T2>>::value;
122 is_convertible<_U2&&, _T2>>::value;
129 is_convertible<_U2&&, _T2>>;
129 is_convertible<_U2&&, _T2>>;
134 is_constructible<_T2, _U2&&>,
134 is_constructible<_T2, _U2&&>,
143 is_convertible<const _U2&, _T2>>;
143 is_convertible<const _U2&, _T2>>;
148 is_constructible<_T2, const _U2&&>,
148 is_constructible<_T2, const _U2&&>,
209 : private __pair_base<_T1, _T2>
212 typedef _T2 second_type; /// @c second_type is the second bound type
215 _T2 second; /// @c second is a copy of the second object
252 using _PCCP = _PCC<true, _T1, _T2>;
260 constexpr pair(const _T1& __a, const _T2& __b)
269 explicit constexpr pair(const _T1& __a, const _T2& __b)
283 _T1, _T2>;
311 constexpr pair(_U1&& __x, const _T2& __y)
318 explicit constexpr pair(_U1&& __x, const _T2& __y)
325 constexpr pair(const _T1& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
380 is_copy_assignable<_T2>>::value,
391 is_move_assignable<_T2>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
405 operator=(const pair<_U1, _U2>& __p)
414 is_assignable<_T2&, _U2&&>>::value,
414 is_assignable<_T2&, _U2&&>>::value,
416 operator=(pair<_U1, _U2>&& __p)
524 make_pair(_T1&& __x, _T2&& __y)
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
825 : public __is_destructible_safe<_Tp>::type
889 typedef decltype(__test<_Tp>(0)) type;
894 : public __and_<__not_<is_void<_Tp>>,
895 __is_default_constructible_impl<_Tp>>
915 : public __is_default_constructible_atom<_Tp>::type
921 : public __is_default_constructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1286 : public is_assignable<_Tp&, const _Tp&>
1286 : public is_assignable<_Tp&, const _Tp&>
1292 : public __is_copy_assignable_impl<_Tp>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
2104 { typedef typename remove_cv<_Up>::type __type; };
2131 typedef _Tp __type;
utils/unittest/googletest/include/gtest/gtest-printers.h 223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
78 static const RawStreamProxy<llvm::Optional<T>>
79 printable(const llvm::Optional<T> &V) {
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);