Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/contrib/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
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTypeTraits.cpp19 #define TYPE_TRAIT_1(Spelling, Name, Key) #Name, argument
21 #define TYPE_TRAIT_2(Spelling, Name, Key) #Name, argument
23 #define TYPE_TRAIT_N(Spelling, Name, Key) #Name, argument
28 #define TYPE_TRAIT_1(Spelling, Name, Key) #Spelling, argument
30 #define TYPE_TRAIT_2(Spelling, Name, Key) #Spelling, argument
32 #define TYPE_TRAIT_N(Spelling, Name, Key) #Spelling, argument
37 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
42 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Spelling, argument
47 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
48 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
[all …]
H A DExpressionTraits.cpp18 #define EXPRESSION_TRAIT(Spelling, Name, Key) #Name, argument
23 #define EXPRESSION_TRAIT(Spelling, Name, Key) #Spelling, argument
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h112 ValueT lookup(const KeyT &Key) const { in lookup()
120 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&...Args) { in try_emplace()
131 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&...Args) { in try_emplace()
151 std::pair<iterator, bool> insert_or_assign(const KeyT &Key, V &&Val) { in insert_or_assign()
158 std::pair<iterator, bool> insert_or_assign(KeyT &&Key, V &&Val) { in insert_or_assign()
165 bool contains(const KeyT &Key) const { return Map.find(Key) != Map.end(); } in contains()
167 size_type count(const KeyT &Key) const { return contains(Key) ? 1 : 0; } in count()
169 iterator find(const KeyT &Key) { in find()
175 const_iterator find(const KeyT &Key) const { in find()
214 size_type erase(const KeyT &Key) { in erase()
H A DStringMap.h65 unsigned LookupBucketFor(StringRef Key) { in LookupBucketFor()
75 int FindKey(StringRef Key) const { return FindKey(Key, hash(Key)); } in FindKey()
234 iterator find(StringRef Key) { return find(Key, hash(Key)); } in find()
236 iterator find(StringRef Key, uint32_t FullHashValue) { in find()
243 const_iterator find(StringRef Key) const { return find(Key, hash(Key)); } in find()
245 const_iterator find(StringRef Key, uint32_t FullHashValue) const { in find()
254 ValueTy lookup(StringRef Key) const { in lookup()
274 bool contains(StringRef Key) const { return find(Key) != end(); } in contains()
277 size_type count(StringRef Key) const { return contains(Key) ? 1 : 0; } in count()
357 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()
H A DSparseMultiSet.h375 iterator find(const KeyT &Key) { in find()
379 const_iterator find(const KeyT &Key) const { in find()
386 size_type count(const KeyT &Key) const { in count()
395 bool contains(const KeyT &Key) const { in contains()
400 iterator getHead(const KeyT &Key) { return find(Key); } in getHead()
401 iterator getTail(const KeyT &Key) { in getTail()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp60 internal_key_type GetInternalKey(external_key_type Key) { return Key; } in GetInternalKey()
62 external_key_type GetExternalKey(internal_key_type Key) { return Key; } in GetExternalKey()
76 static data_type ReadData(internal_key_type Key, const uint8_t *Data, in ReadData()
148 internal_key_type GetInternalKey(external_key_type Key) { return Key; } in GetInternalKey()
150 external_key_type GetExternalKey(internal_key_type Key) { return Key; } in GetExternalKey()
152 hash_value_type ComputeHash(internal_key_type Key) { in ComputeHash()
188 internal_key_type GetInternalKey(external_key_type Key) { return Key; } in GetInternalKey()
190 external_key_type GetExternalKey(internal_key_type Key) { return Key; } in GetExternalKey()
192 hash_value_type ComputeHash(internal_key_type Key) { in ComputeHash()
217 static data_type ReadData(internal_key_type Key, const uint8_t *Data, in ReadData()
[all …]
H A DAPINotesWriter.cpp299 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()
357 hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash()
372 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { in EmitKey()
484 EmitKeyDataLength(raw_ostream &OS, key_type_ref Key, data_type_ref Data) { in EmitKeyDataLength()
568 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { in EmitKey()
573 hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash()
683 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { in EmitKey()
690 hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp26 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD()
34 static Metadata *getKeyFPValMD(LLVMContext &Context, const char *Key, in getKeyFPValMD()
44 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD()
104 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD()
119 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal()
127 static bool getVal(MDTuple *MD, const char *Key, double &Val) { in getVal()
136 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair()
181 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal()
H A DDiagnosticInfo.cpp198 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, in Argument()
226 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, const Type *T) in Argument()
232 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, StringRef S) in Argument()
235 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, int N) in Argument()
238 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, float N) in Argument()
241 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, long N) in Argument()
244 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, long long N) in Argument()
247 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, unsigned N) in Argument()
250 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, in Argument()
254 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, in Argument()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h68 virtual bool IsUntrackedValue(LatticeKey Key) { return false; } in IsUntrackedValue()
72 virtual LatticeVal ComputeLatticeVal(LatticeKey Key) { in ComputeLatticeVal()
151 LatticeVal getExistingValueState(LatticeKey Key) const { in getExistingValueState()
219 LatticeKey Key, raw_ostream &OS) { in PrintLatticeKey()
229 SparseSolver<LatticeKey, LatticeVal, KeyInfo>::getValueState(LatticeKey Key) { in getValueState()
245 void SparseSolver<LatticeKey, LatticeVal, KeyInfo>::UpdateState(LatticeKey Key, in UpdateState()
412 LatticeKey Key = KeyInfo::getLatticeKeyFromValue(&PN); in visitPHINode() local
506 LatticeKey Key; in Print() local
H A DStackSafetyAnalysis.h94 static AnalysisKey Key; variable
131 static AnalysisKey Key; global() variable
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h73 bool contains(const KeyT &Key) const { return doFind(Key) != nullptr; } in contains()
76 size_type count(const KeyT &Key) const { return contains(Key) ? 1 : 0; } in count()
78 value_type *find(const KeyT &Key) { return doFind(Key); } in find()
79 const value_type *find(const KeyT &Key) const { return doFind(Key); } in find()
87 value_type *find_as(const LookupKeyT &Key) { in find_as()
91 const value_type *find_as(const LookupKeyT &Key) const { in find_as()
97 ValueT lookup(const KeyT &Key) const { in lookup()
122 detail::DenseMapPair<value_type *, bool> try_emplace(KeyT &&Key, in try_emplace()
138 detail::DenseMapPair<value_type *, bool> try_emplace(const KeyT &Key, in try_emplace()
190 value_type &FindAndConstruct(const KeyT &Key) { in FindAndConstruct()
[all …]
/freebsd/contrib/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
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h78 iterator find(const KeyT &Key) { in find()
85 const_iterator find(const KeyT &Key) const { in find()
95 void blot(const KeyT &Key) { in blot()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp41 DocNode &MapDocNode::operator[](DocNode Key) { in operator []() argument
52 DocNode &MapDocNode::operator[](int Key) { in operator []() argument
55 DocNode &MapDocNode::operator[](unsigned Key) { in operator []() argument
58 DocNode &MapDocNode::operator[](int64_t Key) { in operator []() argument
61 DocNode &MapDocNode::operator[](uint64_t Key) { in operator []() argument
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCounter.cpp106 static unsigned getValForKey(StringRef Key, const Remark &Remark) { in getValForKey()
142 for (auto &Key : Arguments) { in getAllMatchingArgumentsInRemark() local
189 if (std::optional<std::string> Key = getGroupByKey(Remark)) in collect() local
292 for (auto &Key : Keys) in collectRemarks() local
295 for (auto Key : RKeys) { in collectRemarks() local
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/
H A DStringPool.h
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp102 EntryT &get(std::string &Key) { in get()
189 static llvm::SmallString<128> getParseErrorMsg(TBDKey Key) { in getParseErrorMsg()
193 static llvm::SmallString<128> getSerializeErrorMsg(TBDKey Key) { in getSerializeErrorMsg()
212 TBDKey Key, const Object *Obj, in getRequiredValue()
230 TBDKey Key, const Object *Obj, in getRequiredValue()
245 Error collectFromArray(TBDKey Key, const Object *Obj, in collectFromArray()
407 Expected<TargetsToSymbols> getSymbolSection(const Object *File, TBDKey Key, in getSymbolSection()
468 Expected<ReturnT> getLibSection(const Object *File, TBDKey Key, TBDKey SubKey, in getLibSection()
489 collectFromArray(SubKey, Obj, [&Result, &MappedTargets](StringRef Key) { in getLibSection()
549 Expected<PackedVersion> getPackedVersion(const Object *File, TBDKey Key) { in getPackedVersion()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuthInfo.h29 unsigned Key : 2; variable
37 CGPointerAuthInfo(unsigned Key, PointerAuthenticationMode AuthenticationMode, in CGPointerAuthInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVStringPool.h50 size_t findIndex(StringRef Key) const { in findIndex()
58 size_t getIndex(StringRef Key) { in getIndex()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStringMap.cpp46 uint32_t StringMapImpl::hash(StringRef Key) { return xxh3_64bits(Key); } in hash()
147 int StringMapImpl::FindKey(StringRef Key, uint32_t FullHashValue) const { in FindKey()
202 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) { in RemoveKey()

12345678910>>...17