Home
last modified time | relevance | path

Searched defs:Key (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/llvm-project/clang/include/clang/Basic/
H A DTypeTraits.h22 #define TYPE_TRAIT_1(Spelling, Name, Key) UTT_##Name, argument
25 #define TYPE_TRAIT_1(Spelling, Name, Key) +1 argument
28 #define TYPE_TRAIT_2(Spelling, Name, Key) BTT_##Name, argument
31 #define TYPE_TRAIT_2(Spelling, Name, Key) +1 argument
34 #define TYPE_TRAIT_N(Spelling, Name, Key) TT_##Name, argument
37 #define TYPE_TRAIT_N(Spelling, Name, Key) +1 argument
43 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) ATT_##Name, argument
46 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) +1 argument
52 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument
53 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument
[all …]
H A DExpressionTraits.h22 #define EXPRESSION_TRAIT(Spelling, Name, Key) ET_##Name, argument
25 #define EXPRESSION_TRAIT(Spelling, Name, Key) +1 argument
/llvm-project/clang/lib/Basic/
H A DTypeTraits.cpp20 #define TYPE_TRAIT_1(Spelling, Name, Key) #Name, argument
22 #define TYPE_TRAIT_2(Spelling, Name, Key) #Name, argument
24 #define TYPE_TRAIT_N(Spelling, Name, Key) #Name, argument
29 #define TYPE_TRAIT_1(Spelling, Name, Key) #Spelling, argument
31 #define TYPE_TRAIT_2(Spelling, Name, Key) #Spelling, argument
33 #define TYPE_TRAIT_N(Spelling, Name, Key) #Spelling, argument
38 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
43 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Spelling, argument
48 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
49 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
[all …]
H A DExpressionTraits.cpp19 #define EXPRESSION_TRAIT(Spelling, Name, Key) #Name, argument
24 #define EXPRESSION_TRAIT(Spelling, Name, Key) #Spelling, argument
/llvm-project/llvm/include/llvm/ProfileData/
H A DHashKeyMap.h66 const original_key_type &Key, in try_emplace()
73 std::pair<iterator, bool> try_emplace(const original_key_type &Key, in try_emplace()
86 iterator find(const original_key_type &Key) { in find()
93 const_iterator find(const original_key_type &Key) const { in find()
100 mapped_type lookup(const original_key_type &Key) const { in lookup()
107 size_t count(const original_key_type &Key) const { in count()
/llvm-project/libcxx/test/std/containers/associative/map/
H A Dcompare.pass.cpp24 struct Key { struct
25 template <typename T> Key(const T&) {} in Key() argument
26 bool operator< (const Key&) const { return false; } in operator <() argument
/llvm-project/libcxx/test/std/containers/unord/unord.map/
H A Dcompare.pass.cpp23 struct Key { struct
24 template <typename T> Key(const T&) {} in Key() argument
25 bool operator== (const Key&) const { return true; } in operator ==() argument
[all...]
/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h110 ValueT lookup(const KeyT &Key) const { in lookup()
118 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&...Args) { in try_emplace()
129 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&...Args) { in try_emplace()
149 std::pair<iterator, bool> insert_or_assign(const KeyT &Key, V &&Val) { in insert_or_assign()
156 std::pair<iterator, bool> insert_or_assign(KeyT &&Key, V &&Val) { in insert_or_assign()
163 bool contains(const KeyT &Key) const { return Map.find(Key) != Map.end(); } in contains()
165 size_type count(const KeyT &Key) const { return contains(Key) ? 1 : 0; } in count()
167 iterator find(const KeyT &Key) { in find()
173 const_iterator find(const KeyT &Key) const { in find()
212 size_type erase(const KeyT &Key) { in erase()
H A DStringMap.h64 unsigned LookupBucketFor(StringRef Key) { in LookupBucketFor()
74 int FindKey(StringRef Key) const { return FindKey(Key, hash(Key)); } in FindKey()
233 iterator find(StringRef Key) { return find(Key, hash(Key)); } in find()
235 iterator find(StringRef Key, uint32_t FullHashValue) { in find()
242 const_iterator find(StringRef Key) const { return find(Key, hash(Key)); } in find()
244 const_iterator find(StringRef Key, uint32_t FullHashValue) const { in find()
253 ValueTy lookup(StringRef Key) const { in lookup()
273 bool contains(StringRef Key) const { return find(Key) != end(); } in contains()
276 size_type count(StringRef Key) const { return contains(Key) ? 1 : 0; } in count()
356 std::pair<iterator, bool> insert_or_assign(StringRef Key, V &&Val) { in insert_or_assign()
[all …]
H A DScopedHashTable.h49 K Key; variable
181 size_type count(const K &Key) const { in count()
185 V lookup(const K &Key) const { in lookup()
193 void insert(const K &Key, const V &Val) { in insert()
201 iterator begin(const K &Key) { in begin()
215 void insertIntoScope(ScopeTy *S, const K &Key, const V &Val) { in insertIntoScope()
/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp26 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
34 static Metadata *getKeyFPValMD(LLVMContext &Context, const char *Key, in getKeyFPValMD() argument
44 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
104 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD() argument
119 getVal(MDTuple * MD,const char * Key,uint64_t & Val) getVal() argument
127 getVal(MDTuple * MD,const char * Key,double & Val) getVal() argument
136 isKeyValuePair(MDTuple * MD,const char * Key,const char * Val) isKeyValuePair() argument
181 getOptionalVal(MDTuple * Tuple,unsigned & Idx,const char * Key,ValueType & Value) getOptionalVal() argument
[all...]
H A DDiagnosticInfo.cpp199 : Key(std::string(Key)) { in Argument() argument
222 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, const Type *T) in Argument() argument
229 : Key(std::string(Key)), Val(S.str()) {} in Argument() argument
165 Argument(StringRef Key,const Value * V) Argument() argument
190 Argument(StringRef Key,const Type * T) Argument() argument
196 Argument(StringRef Key,StringRef S) Argument() argument
202 Argument(StringRef Key,float N) Argument() argument
205 Argument(StringRef Key,long N) Argument() argument
208 Argument(StringRef Key,long long N) Argument() argument
211 Argument(StringRef Key,unsigned N) Argument() argument
214 Argument(StringRef Key,unsigned long N) Argument() argument
218 Argument(StringRef Key,unsigned long long N) Argument() argument
236 Argument(StringRef Key,DebugLoc Loc) Argument() argument
[all...]
/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp61 GetInternalKey(external_key_type Key) GetInternalKey() argument
63 GetExternalKey(internal_key_type Key) GetExternalKey() argument
77 ReadData(internal_key_type Key,const uint8_t * Data,unsigned Length) ReadData() argument
149 GetInternalKey(external_key_type Key) GetInternalKey() argument
151 GetExternalKey(internal_key_type Key) GetExternalKey() argument
153 ComputeHash(internal_key_type Key) ComputeHash() argument
188 GetInternalKey(external_key_type Key) GetInternalKey() argument
190 GetExternalKey(internal_key_type Key) GetExternalKey() argument
192 ComputeHash(internal_key_type Key) ComputeHash() argument
217 ReadData(internal_key_type Key,const uint8_t * Data,unsigned Length) ReadData() argument
232 ComputeHash(internal_key_type Key) ComputeHash() argument
236 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
287 ComputeHash(internal_key_type Key) ComputeHash() argument
291 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
366 ComputeHash(internal_key_type Key) ComputeHash() argument
370 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
393 GetInternalKey(external_key_type Key) GetInternalKey() argument
395 GetExternalKey(internal_key_type Key) GetExternalKey() argument
397 ComputeHash(internal_key_type Key) ComputeHash() argument
414 internal_key_type Key; ReadKey() local
424 ReadData(internal_key_type Key,const uint8_t * Data,unsigned Length) ReadData() argument
443 ComputeHash(internal_key_type Key) ComputeHash() argument
447 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
468 ComputeHash(internal_key_type Key) ComputeHash() argument
472 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
490 ComputeHash(internal_key_type Key) ComputeHash() argument
494 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
515 ComputeHash(internal_key_type Key) ComputeHash() argument
519 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
578 ComputeHash(internal_key_type Key) ComputeHash() argument
582 readUnversioned(internal_key_type Key,const uint8_t * & Data) readUnversioned() argument
729 StoredObjCSelector Key; getSelector() local
1933 ContextTableKey Key(Ctx, *NameID); lookupGlobalVariable() local
1952 ContextTableKey Key(Ctx, *NameID); lookupGlobalFunction() local
1986 ContextTableKey Key(Ctx, *NameID); lookupTag() local
2005 ContextTableKey Key(Ctx, *NameID); lookupTypedef() local
[all...]
H A DAPINotesWriter.cpp291 ComputeHash(key_type_ref Key) ComputeHash() argument
294 EmitKeyDataLength(raw_ostream & OS,key_type_ref Key,data_type_ref) EmitKeyDataLength() argument
304 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
349 ComputeHash(key_type_ref Key) ComputeHash() argument
364 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
476 EmitKeyDataLength(raw_ostream & OS,key_type_ref Key,data_type_ref Data) EmitKeyDataLength() argument
561 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
566 ComputeHash(key_type_ref Key) ComputeHash() argument
675 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
682 ComputeHash(key_type_ref Key) ComputeHash() argument
744 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
809 ComputeHash(key_type_ref Key) ComputeHash() argument
814 EmitKeyDataLength(raw_ostream & OS,key_type_ref Key,data_type_ref) EmitKeyDataLength() argument
825 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
876 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
883 ComputeHash(key_type_ref Key) ComputeHash() argument
990 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
997 ComputeHash(key_type_ref Key) ComputeHash() argument
1046 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
1051 ComputeHash(key_type_ref Key) ComputeHash() argument
1104 EmitKey(raw_ostream & OS,key_type_ref Key,unsigned) EmitKey() argument
1111 ComputeHash(key_type_ref Key) ComputeHash() argument
1273 ContextTableKey Key(RawParentCtxID, static_cast<uint8_t>(Kind), NameID); addObjCContext() local
1355 ContextTableKey Key(Ctx, VariableID); addGlobalVariable() local
1364 ContextTableKey Key(Ctx, NameID); addGlobalFunction() local
1378 ContextTableKey Key(Ctx, TagID); addTag() local
1386 ContextTableKey Key(Ctx, TypedefID); addTypedef() local
[all...]
/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h68 virtual bool IsUntrackedValue(LatticeKey Key) { return false; } in IsUntrackedValue() argument
72 virtual LatticeVal ComputeLatticeVal(LatticeKey Key) { in ComputeLatticeVal() argument
152 auto I = ValueState.find(Key); in getExistingValueState() argument
220 PrintLatticeKey(LatticeKey Key,raw_ostream & OS) PrintLatticeKey() argument
230 getValueState(LatticeKey Key) getValueState() argument
246 UpdateState(LatticeKey Key,LatticeVal LV) UpdateState() argument
413 LatticeKey Key = KeyInfo::getLatticeKeyFromValue(&PN); visitPHINode() local
507 LatticeKey Key; Print() local
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h73 bool contains(const KeyT &Key) const { return doFind(Key) != nullptr; } in count() argument
78 value_type *find(const KeyT &Key) { return doFind(Key); } in find() argument
84 find(const KeyT & Key) find() argument
97 find_as(const LookupKeyT & Key) find_as() argument
104 find_as(const LookupKeyT & Key) find_as() argument
113 lookup(const KeyT & Key) lookup() argument
139 try_emplace(KeyT && Key,Ts &&...Args) try_emplace() argument
155 try_emplace(const KeyT & Key,Ts &&...Args) try_emplace() argument
207 FindAndConstruct(const KeyT & Key) FindAndConstruct() argument
217 FindAndConstruct(KeyT && Key) FindAndConstruct() argument
395 InsertIntoBucket(BucketT * TheBucket,KeyArg && Key,ValueArgs &&...Values) InsertIntoBucket() argument
406 InsertIntoBucketWithLookup(BucketT * TheBucket,KeyT && Key,ValueT && Value,LookupKeyT & Lookup) InsertIntoBucketWithLookup() argument
416 InsertIntoBucketImpl(const KeyT & Key,const LookupKeyT & Lookup,BucketT * TheBucket) InsertIntoBucketImpl() argument
[all...]
/llvm-project/clang-tools-extra/clangd/support/
H A DContext.h98 template <class Type> const Type *get(const Key<Type> &Key) const { in get()
109 template <class Type> const Type &getExisting(const Key<Type> &Key) const { in getExisting()
119 Context derive(const Key<Type> &Key, std::decay_t<Type> Value) const & { in derive()
127 Context derive(const Key<Type> &Key, in derive()
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h73 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value> argument
87 #define REGISTER_MAP_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
95 #define REGISTER_MAP_FACTORY_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h79 iterator find(const KeyT &Key) { in find()
86 const_iterator find(const KeyT &Key) const { in find()
96 void blot(const KeyT &Key) { in blot()
/llvm-project/llvm/include/llvm/DWARFLinker/
H A DStringPool.h28 static inline uint64_t getHashValue(const StringRef &Key) { in getHashValue()
44 create(const StringRef &Key, in create()
/llvm-project/clang/lib/Tooling/
H A DExecution.cpp22 void InMemoryToolResults::addResult(StringRef Key, StringRef Value) { in addResult()
32 llvm::function_ref<void(StringRef Key, StringRef Value)> Callback) { in forEachResult()
38 void ExecutionContext::reportResult(StringRef Key, StringRef Value) { in reportResult()
/llvm-project/lldb/unittests/Utility/
H A DSharedClusterTest.cpp18 DestructNotifier(std::vector<int> &Queue, int Key) : Queue(Queue), Key(Key) {} in DestructNotifier()
22 const int Key; member in __anon77b8fe3e0111::DestructNotifier
/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp41 DocNode &MapDocNode::operator[](DocNode Key) { in operator []()
52 DocNode &MapDocNode::operator[](int Key) { in operator []()
55 DocNode &MapDocNode::operator[](unsigned Key) { in operator []()
58 DocNode &MapDocNode::operator[](int64_t Key) { in operator []()
61 DocNode &MapDocNode::operator[](uint64_t Key) { in operator []()
/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuthInfo.h29 unsigned Key : 2; variable
37 CGPointerAuthInfo(unsigned Key, PointerAuthenticationMode AuthenticationMode, in CGPointerAuthInfo()
/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCounter.cpp105 static unsigned getValForKey(StringRef Key, const Remark &Remark) { in getValForKey() argument
154 for (auto &Key : Arguments) { in getAllMatchingArgumentsInRemark() local
201 std::optional<std::string> Key = getGroupByKey(Remark); collect() local
319 for (auto &Key : Keys) collectRemarks() local
322 for (auto Key : RKeys) collectRemarks() local
[all...]

12345678910>>...18