|
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> {
43 KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
44 const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
65 using key_type = KeyT;
69 using iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>;
71 DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true>;
145 size_type count(const_arg_type_t<KeyT> Val) const {
150 iterator find(const_arg_type_t<KeyT> Val) {
156 const_iterator find(const_arg_type_t<KeyT> Val) const {
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) {
210 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) {
229 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) {
249 std::pair<iterator, bool> insert_as(std::pair<KeyT, ValueT> &&KV,
272 bool erase(const KeyT &Val) {
291 value_type& FindAndConstruct(const KeyT &Key) {
299 ValueT &operator[](const KeyT &Key) {
303 value_type& FindAndConstruct(KeyT &&Key) {
311 ValueT &operator[](KeyT &&Key) {
334 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
349 const KeyT EmptyKey = getEmptyKey();
351 ::new (&B->getFirst()) KeyT(EmptyKey);
369 const KeyT EmptyKey = getEmptyKey();
370 const KeyT TombstoneKey = getTombstoneKey();
392 const DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT> &other) {
414 static unsigned getHashValue(const KeyT &Val) {
419 static unsigned getHashValue(const LookupKeyT &Val) {
423 static const KeyT getEmptyKey() {
429 static const KeyT getTombstoneKey() {
515 BucketT *InsertIntoBucket(BucketT *TheBucket, KeyArg &&Key,
525 BucketT *InsertIntoBucketWithLookup(BucketT *TheBucket, KeyT &&Key,
535 BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup,
535 BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup,
566 const KeyT EmptyKey = getEmptyKey();
578 bool LookupBucketFor(const LookupKeyT &Val,
590 const KeyT EmptyKey = getEmptyKey();
591 const KeyT TombstoneKey = getTombstoneKey();
629 bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
684 class DenseMap : public DenseMapBase<DenseMap<KeyT, ValueT, KeyInfoT, BucketT>,
685 KeyT, ValueT, KeyInfoT, BucketT> {
690 using BaseT = DenseMapBase<DenseMap, KeyT, ValueT, KeyInfoT, BucketT>;
include/llvm/Support/type_traits.h 65 using type = const T &;
tools/clang/lib/CodeGen/CGClass.cpp 133 TBAAAccessInfo *TBAAInfo) {
2498 TBAAAccessInfo TBAAInfo = CGM.getTBAAVTablePtrAccessInfo(VTablePtrTy);
2593 TBAAAccessInfo TBAAInfo = CGM.getTBAAVTablePtrAccessInfo(VTableTy);
tools/clang/lib/CodeGen/CGExpr.cpp 1038 TBAAAccessInfo *TBAAInfo) {
1059 TBAAAccessInfo InnerTBAAInfo;
1068 TBAAAccessInfo TargetTypeTBAAInfo;
1638 TBAAAccessInfo TBAAInfo,
1719 TBAAAccessInfo TBAAInfo,
2322 TBAAAccessInfo *PointeeTBAAInfo) {
2335 TBAAAccessInfo PointeeTBAAInfo;
2345 TBAAAccessInfo *TBAAInfo) {
2355 TBAAAccessInfo TBAAInfo;
2691 TBAAAccessInfo TBAAInfo;
3316 TBAAAccessInfo *TBAAInfo) {
3506 TBAAAccessInfo EltTBAAInfo;
3609 TBAAAccessInfo &TBAAInfo,
3636 TBAAAccessInfo TypeTBAAInfo;
3743 TBAAAccessInfo TBAAInfo;
3809 TBAAAccessInfo TBAAInfo;
3868 TBAAAccessInfo TBAAInfo;
4029 TBAAAccessInfo FieldTBAAInfo;
4032 FieldTBAAInfo = TBAAAccessInfo::getMayAliasInfo();
4035 FieldTBAAInfo = TBAAAccessInfo::getMayAliasInfo();
4272 TBAAAccessInfo TBAAInfo = CGM.mergeTBAAInfoForConditionalOperator(
4972 TBAAAccessInfo TBAAInfo;
tools/clang/lib/CodeGen/CGExprAgg.cpp 2022 TBAAAccessInfo TBAAInfo = CGM.mergeTBAAInfoForMemoryTransfer(
tools/clang/lib/CodeGen/CGExprCXX.cpp 260 TBAAAccessInfo TBAAInfo;
tools/clang/lib/CodeGen/CGExprComplex.cpp 476 DestLV.setTBAAInfo(TBAAAccessInfo::getMayAliasInfo());
tools/clang/lib/CodeGen/CGExprScalar.cpp 1986 DestLV.setTBAAInfo(TBAAAccessInfo::getMayAliasInfo());
tools/clang/lib/CodeGen/CGValue.h 222 TBAAAccessInfo TBAAInfo;
228 LValueBaseInfo BaseInfo, TBAAAccessInfo TBAAInfo) {
307 TBAAAccessInfo getTBAAInfo() const { return TBAAInfo; }
308 void setTBAAInfo(TBAAAccessInfo Info) { TBAAInfo = Info; }
367 LValueBaseInfo BaseInfo, TBAAAccessInfo TBAAInfo) {
381 TBAAAccessInfo TBAAInfo) {
393 TBAAAccessInfo TBAAInfo) {
411 TBAAAccessInfo TBAAInfo) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp 107 TBAAAccessInfo *TBAAInfo) {
114 TBAAAccessInfo *TBAAInfo,
162 TBAAAccessInfo TBAAInfo;
173 TBAAAccessInfo TBAAInfo;
tools/clang/lib/CodeGen/CodeGenFunction.h 2130 TBAAAccessInfo TBAAInfo) {
2141 LValueBaseInfo BaseInfo, TBAAAccessInfo TBAAInfo) {
2150 TBAAAccessInfo *TBAAInfo = nullptr,
2154 TBAAAccessInfo *TBAAInfo = nullptr);
2158 TBAAAccessInfo *PointeeTBAAInfo = nullptr);
2170 TBAAAccessInfo *TBAAInfo = nullptr);
3431 TBAAAccessInfo TBAAInfo,
3453 LValueBaseInfo BaseInfo, TBAAAccessInfo TBAAInfo,
3525 TBAAAccessInfo *TBAAInfo = nullptr);
3698 TBAAAccessInfo *TBAAInfo = nullptr);
4319 TBAAAccessInfo *TBAAInfo = nullptr);
tools/clang/lib/CodeGen/CodeGenModule.cpp 662 TBAAAccessInfo CodeGenModule::getTBAAAccessInfo(QualType AccessType) {
668 TBAAAccessInfo
687 llvm::MDNode *CodeGenModule::getTBAAAccessTagInfo(TBAAAccessInfo Info) {
693 TBAAAccessInfo CodeGenModule::mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
693 TBAAAccessInfo CodeGenModule::mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
694 TBAAAccessInfo TargetInfo) {
700 TBAAAccessInfo
701 CodeGenModule::mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
702 TBAAAccessInfo InfoB) {
708 TBAAAccessInfo
709 CodeGenModule::mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
710 TBAAAccessInfo SrcInfo) {
717 TBAAAccessInfo TBAAInfo) {
tools/clang/lib/CodeGen/CodeGenModule.h 712 TBAAAccessInfo getTBAAAccessInfo(QualType AccessType);
716 TBAAAccessInfo getTBAAVTablePtrAccessInfo(llvm::Type *VTablePtrType);
725 llvm::MDNode *getTBAAAccessTagInfo(TBAAAccessInfo Info);
729 TBAAAccessInfo mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
729 TBAAAccessInfo mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
730 TBAAAccessInfo TargetInfo);
734 TBAAAccessInfo mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
734 TBAAAccessInfo mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
735 TBAAAccessInfo InfoB);
739 TBAAAccessInfo mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
739 TBAAAccessInfo mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
740 TBAAAccessInfo SrcInfo);
744 TBAAAccessInfo getTBAAInfoForSubobject(LValue Base, QualType AccessType) {
746 return TBAAAccessInfo::getMayAliasInfo();
757 TBAAAccessInfo TBAAInfo);
tools/clang/lib/CodeGen/CodeGenTBAA.cpp 217 TBAAAccessInfo CodeGenTBAA::getAccessInfo(QualType AccessType) {
221 return TBAAAccessInfo::getIncompleteInfo();
224 return TBAAAccessInfo::getMayAliasInfo();
230 TBAAAccessInfo CodeGenTBAA::getVTablePtrAccessInfo(llvm::Type *VTablePtrType) {
358 llvm::MDNode *CodeGenTBAA::getAccessTagInfo(TBAAAccessInfo Info) {
386 TBAAAccessInfo CodeGenTBAA::mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
386 TBAAAccessInfo CodeGenTBAA::mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
387 TBAAAccessInfo TargetInfo) {
389 return TBAAAccessInfo::getMayAliasInfo();
393 TBAAAccessInfo
394 CodeGenTBAA::mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
395 TBAAAccessInfo InfoB) {
403 return TBAAAccessInfo::getMayAliasInfo();
408 return TBAAAccessInfo::getMayAliasInfo();
411 TBAAAccessInfo
412 CodeGenTBAA::mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
413 TBAAAccessInfo SrcInfo) {
421 return TBAAAccessInfo::getMayAliasInfo();
426 return TBAAAccessInfo::getMayAliasInfo();
tools/clang/lib/CodeGen/CodeGenTBAA.h 63 static TBAAAccessInfo getMayAliasInfo() {
71 static TBAAAccessInfo getIncompleteInfo() {
79 bool operator==(const TBAAAccessInfo &Other) const {
87 bool operator!=(const TBAAAccessInfo &Other) const {
133 llvm::DenseMap<TBAAAccessInfo, llvm::MDNode *> AccessTagMetadataCache;
181 TBAAAccessInfo getAccessInfo(QualType AccessType);
185 TBAAAccessInfo getVTablePtrAccessInfo(llvm::Type *VTablePtrType);
196 llvm::MDNode *getAccessTagInfo(TBAAAccessInfo Info);
200 TBAAAccessInfo mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
200 TBAAAccessInfo mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
201 TBAAAccessInfo TargetInfo);
205 TBAAAccessInfo mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
205 TBAAAccessInfo mergeTBAAInfoForConditionalOperator(TBAAAccessInfo InfoA,
206 TBAAAccessInfo InfoB);
210 TBAAAccessInfo mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
210 TBAAAccessInfo mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
211 TBAAAccessInfo SrcInfo);
220 static clang::CodeGen::TBAAAccessInfo getEmptyKey() {
230 static clang::CodeGen::TBAAAccessInfo getTombstoneKey() {
240 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
249 static bool isEqual(const clang::CodeGen::TBAAAccessInfo &LHS,
250 const clang::CodeGen::TBAAAccessInfo &RHS) {
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
83 constexpr _Tp&&
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/stl_pair.h 209 : private __pair_base<_T1, _T2>
211 typedef _T1 first_type; /// @c first_type is the first bound type
214 _T1 first; /// @c first is a copy of the first 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>;
325 constexpr pair(const _T1& __x, _U2&& __y)
332 explicit pair(const _T1& __x, _U2&& __y)
379 __and_<is_copy_assignable<_T1>,
390 __and_<is_move_assignable<_T1>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
405 operator=(const pair<_U1, _U2>& __p)
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
416 operator=(pair<_U1, _U2>&& __p)
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_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
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
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
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>
1377 static void __helper(const _Tp&);
1380 static true_type __test(const _Tp&,
1381 decltype(__helper<const _Tp&>({}))* = 0);
1390 typedef decltype(__test(declval<_Tp>())) type;
1395 : public __is_implicitly_default_constructible_impl<_Tp>::type
1400 : public __and_<is_default_constructible<_Tp>,
1401 __is_implicitly_default_constructible_safe<_Tp>>
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>