Home
last modified time | relevance | path

Searched refs:key_type_ref (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DImmutableMap.h32 using key_type_ref = const T&; member
36 static inline key_type_ref KeyOfValue(value_type_ref V) { in KeyOfValue()
44 static inline bool isEqual(key_type_ref L, key_type_ref R) { in isEqual()
47 static inline bool isLess(key_type_ref L, key_type_ref R) { in isLess()
68 using key_type_ref = typename ValInfo::key_type_ref; variable
98 [[nodiscard]] ImmutableMap add(ImmutableMap Old, key_type_ref K, in add()
104 [[nodiscard]] ImmutableMap remove(ImmutableMap Old, key_type_ref K) { in remove()
114 bool contains(key_type_ref K) const { in contains()
162 key_type_ref getKey() const { return (*this)->first; } in getKey()
169 data_type* lookup(key_type_ref K) const { in lookup()
[all …]
H A DImmutableSet.h46 using key_type_ref = typename ImutInfo::key_type_ref;
77 ImutAVLTree* find(key_type_ref K) { in find()
80 key_type_ref CurrentKey = ImutInfo::KeyOfValue(T->getValue()); in find()
172 bool contains(key_type_ref K) { return (bool) find(K); } in contains()
368 using key_type_ref = typename TreeTy::key_type_ref;
406 TreeTy* remove(TreeTy* T, key_type_ref V) {
539 key_type_ref K = ImutInfo::KeyOfValue(V);
540 key_type_ref KCurrent = ImutInfo::KeyOfValue(getValue(T));
554 TreeTy* remove_internal(key_type_ref K, TreeTy* T) {
560 key_type_ref KCurrent = ImutInfo::KeyOfValue(getValue(T));
[all …]
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesWriter.cpp293 using key_type_ref = key_type; typedef in clang::api_notes::__anonf7d29e6c0211::IdentifierTableInfo
299 hash_value_type ComputeHash(key_type_ref Key) { return llvm::djbHash(Key); } in ComputeHash()
302 EmitKeyDataLength(raw_ostream &OS, key_type_ref Key, data_type_ref) { in EmitKeyDataLength()
312 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { OS << Key; } in EmitKey()
314 void EmitData(raw_ostream &OS, key_type_ref, data_type_ref Data, unsigned) { in EmitData() argument
351 using key_type_ref = key_type; typedef in clang::api_notes::__anonf7d29e6c0311::ContextIDTableInfo
357 hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash()
361 std::pair<unsigned, unsigned> EmitKeyDataLength(raw_ostream &OS, key_type_ref, in EmitKeyDataLength() argument
372 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { in EmitKey()
379 void EmitData(raw_ostream &OS, key_type_ref, data_type_ref Data, unsigned) { in EmitData() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProf.h612 using key_type_ref = uint64_t;
638 static hash_value_type ComputeHash(key_type_ref K) { return K; }
641 EmitKeyDataLength(raw_ostream &Out, key_type_ref K, data_type_ref V) {
652 void EmitKey(raw_ostream &Out, key_type_ref K, offset_type /*Unused*/) {
658 void EmitData(raw_ostream &Out, key_type_ref /*Unused*/, data_type_ref V,
674 using key_type_ref = FrameId;
682 static hash_value_type ComputeHash(key_type_ref K) { return K; }
685 EmitKeyDataLength(raw_ostream &Out, key_type_ref K, data_type_ref V) {
695 void EmitKey(raw_ostream &Out, key_type_ref K, offset_type /*Unused*/) {
701 void EmitData(raw_ostream &Out, key_type_ref /*Unused*/, data_type_ref V,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DOnDiskHashTable.h67 Item(typename Info::key_type_ref Key, typename Info::data_type_ref Data, in Item()
115 void insert(typename Info::key_type_ref Key, in insert()
124 void insert(typename Info::key_type_ref Key, in insert()
133 bool contains(typename Info::key_type_ref Key, Info &InfoObj) { in contains()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp714 typedef StringRef key_type_ref; typedef in __anon35ca0d360811::IdentifierIndexWriterTrait
720 static hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash()
725 EmitKeyDataLength(raw_ostream& Out, key_type_ref Key, data_type_ref Data) { in EmitKeyDataLength()
735 void EmitKey(raw_ostream& Out, key_type_ref Key, unsigned KeyLen) { in EmitKey()
739 void EmitData(raw_ostream& Out, key_type_ref Key, data_type_ref Data, in EmitData()
H A DASTWriter.cpp2065 using key_type_ref = const key_type &; typedef in __anon397e50ec0911::HeaderFileInfoTrait
2087 hash_value_type ComputeHash(key_type_ref key) { in ComputeHash()
2098 EmitKeyDataLength(raw_ostream& Out, key_type_ref key, data_type_ref Data) { in EmitKeyDataLength()
2109 void EmitKey(raw_ostream& Out, key_type_ref key, unsigned KeyLen) { in EmitKey()
2120 void EmitData(raw_ostream &Out, key_type_ref key, in EmitData()
3535 using key_type_ref = key_type; typedef in __anon397e50ec0f11::ASTMethodPoolTrait
3586 void EmitData(raw_ostream& Out, key_type_ref, in EmitData() argument
3865 using key_type_ref = key_type; typedef in __anon397e50ec1011::ASTIdentifierTableTrait
4196 using key_type_ref = key_type; typedef in __anon397e50ec1111::ModuleLevelNameLookupTrait
4201 static bool EqualKey(key_type_ref a, key_type_ref b) { return a == b; } in EqualKey()
[all …]
H A DMultiOnDiskHashTable.h300 void insert(typename WriterInfo::key_type_ref Key, in insert()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp44 using key_type_ref = StringRef; typedef in llvm::InstrProfRecordWriterTrait
58 static hash_value_type ComputeHash(key_type_ref K) { in ComputeHash()
63 EmitKeyDataLength(raw_ostream &Out, key_type_ref K, data_type_ref V) { in EmitKeyDataLength()
88 void EmitKey(raw_ostream &Out, key_type_ref K, offset_type N) { in EmitKey()
92 void EmitData(raw_ostream &Out, key_type_ref, data_type_ref V, offset_type) { in EmitData() argument
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h704 using key_type_ref = value_type_ref;
708 static key_type_ref KeyOfValue(value_type_ref D) { return D; }