Home
last modified time | relevance | path

Searched refs:Key (Results 1 – 25 of 723) sorted by relevance

12345678910>>...29

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp98 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
110 YIO.mapRequired(Kernel::Arg::Key::Size, MD.mSize); in mapping()
111 YIO.mapRequired(Kernel::Arg::Key::Align, MD.mAlign); in mapping()
116 YIO.mapOptional(Kernel::Arg::Key::ValueType, Unused); in mapping()
146 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
148 YIO.mapOptional(Kernel::CodeProps::Key::NumVGPRs, in mapping()
182 YIO.mapRequired(Kernel::Key::Name, MD.mName); in mapping()
188 YIO.mapOptional(Kernel::Key::Attrs, MD.mAttrs); in mapping()
190 YIO.mapOptional(Kernel::Key::Args, MD.mArgs); in mapping()
201 YIO.mapRequired(Key::Version, MD.mVersion); in mapping()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticInfo.cpp164 : Key(std::string(Key)) { in Argument()
184 : Key(std::string(Key)) { in Argument()
190 : Key(std::string(Key)), Val(S.str()) {} in Argument()
193 : Key(std::string(Key)), Val(itostr(N)) {} in Argument()
199 : Key(std::string(Key)), Val(itostr(N)) {} in Argument()
202 : Key(std::string(Key)), Val(itostr(N)) {} in Argument()
205 : Key(std::string(Key)), Val(utostr(N)) {} in Argument()
209 : Key(std::string(Key)), Val(utostr(N)) {} in Argument()
217 : Key(std::string(Key)) { in Argument()
224 : Key(std::string(Key)) { in Argument()
[all …]
H A DProfileSummary.cpp27 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
30 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD()
35 static Metadata *getKeyFPValMD(LLVMContext &Context, const char *Key, in getKeyFPValMD() argument
38 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyFPValMD()
45 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
105 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD() argument
114 if (!KeyMD->getString().equals(Key)) in getValMD()
120 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() argument
121 if (auto *ValMD = getValMD(MD, Key)) { in getVal()
128 static bool getVal(MDTuple *MD, const char *Key, double &Val) { in getVal() argument
[all …]
/freebsd-13.1/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
56 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) +1 argument
[all …]
/freebsd-13.1/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 …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp134 Result.Key = HMAP_EmptyBucketKey; in getBucket()
142 Result.Key = getEndianAdjustedWord(BucketPtr->Key); in getBucket()
187 if (B.Key == HMAP_EmptyBucketKey) continue; in dump()
189 StringRef Key = getStringOrInvalid(B.Key); in dump() local
224 Optional<StringRef> Key = getString(B.Key); in lookupFilename() local
225 if (LLVM_UNLIKELY(!Key)) in lookupFilename()
227 if (!Filename.equals_insensitive(*Key)) in lookupFilename()
253 if (B.Key == HMAP_EmptyBucketKey) in reverseLookupFilename()
256 Optional<StringRef> Key = getString(B.Key); in reverseLookupFilename() local
264 ReverseMap[Value] = *Key; in reverseLookupFilename()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseSet.h77 unsigned operator()(const KeyT &Key) const {
78 return KeyFunctorT()(Key);
224 iterator find(const KeyT &Key) {
225 return findIndex(KeyIndexOf(Key));
228 const_iterator find(const KeyT &Key) const {
235 bool contains(const KeyT &Key) const { return find(Key) == end() ? 0 : 1; }
240 size_type count(const KeyT &Key) const { return contains(Key) ? 1 : 0; }
265 ValueT &operator[](const KeyT &Key) {
266 return *insert(ValueT(Key)).first;
307 bool erase(const KeyT &Key) {
[all …]
H A DStringMap.h66 int FindKey(StringRef Key) const;
218 iterator find(StringRef Key) { in find() argument
219 int Bucket = FindKey(Key); in find()
226 int Bucket = FindKey(Key); in find()
235 const_iterator it = find(Key); in lookup()
243 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
246 size_type count(StringRef Key) const { return find(Key) == end() ? 0 : 1; } in count() argument
361 bool erase(StringRef Key) { in erase() argument
362 iterator I = find(Key); in erase()
470 return Key;
[all …]
H A DScopedHashTable.h49 K Key; variable
55 const K &getKey() const { return Key; } in getKey()
182 size_type count(const K &Key) const { in count() argument
183 return TopLevelMap.count(Key); in count()
186 V lookup(const K &Key) const { in lookup() argument
187 auto I = TopLevelMap.find(Key); in lookup()
194 void insert(const K &Key, const V &Val) { in insert() argument
195 insertIntoScope(CurScope, Key, Val); in insert()
202 iterator begin(const K &Key) { in begin() argument
204 TopLevelMap.find(Key); in begin()
[all …]
H A DMapVector.h98 ValueT &operator[](const KeyT &Key) {
103 Vector.push_back(std::make_pair(Key, ValueT()));
110 ValueT lookup(const KeyT &Key) const { in lookup() argument
113 typename MapType::const_iterator Pos = Map.find(Key); in lookup()
142 size_type count(const KeyT &Key) const { in count() argument
143 typename MapType::const_iterator Pos = Map.find(Key); in count()
147 iterator find(const KeyT &Key) { in find() argument
148 typename MapType::const_iterator Pos = Map.find(Key); in find()
153 const_iterator find(const KeyT &Key) const { in find() argument
192 size_type erase(const KeyT &Key) { in erase() argument
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/
H A Dunordered_map21 template <class Key, class T,
22 class Hash = hash<Key>,
23 class Pred = equal_to<Key>>
25 std::unordered_map<Key, T, Hash, Pred,
26 polymorphic_allocator<pair<const Key,T>>>;
28 template <class Key, class T,
29 class Hash = hash<Key>,
30 class Pred = equal_to<Key>>
32 std::unordered_multimap<Key, T, Hash, Pred,
33 polymorphic_allocator<pair<const Key,T>>>;
H A Dset21 template <class Key, class T, class Compare = less<Key>>
22 using set = std::set<Key, T, Compare,
23 polymorphic_allocator<pair<const Key,T>>>;
25 template <class Key, class T, class Compare = less<Key>>
26 using multiset = std::multiset<Key, T, Compare,
27 polymorphic_allocator<pair<const Key,T>>>;
H A Dmap21 template <class Key, class T, class Compare = less<Key>>
22 using map = std::map<Key, T, Compare,
23 polymorphic_allocator<pair<const Key,T>>>;
25 template <class Key, class T, class Compare = less<Key>>
26 using multimap = std::multimap<Key, T, Compare,
27 polymorphic_allocator<pair<const Key,T>>>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp61 if (!Key || !Val) in readFromIR()
120 return PALMD::Key::PS_SCRATCH_SIZE; in getScratchSizeKey()
122 return PALMD::Key::VS_SCRATCH_SIZE; in getScratchSizeKey()
124 return PALMD::Key::GS_SCRATCH_SIZE; in getScratchSizeKey()
126 return PALMD::Key::ES_SCRATCH_SIZE; in getScratchSizeKey()
128 return PALMD::Key::HS_SCRATCH_SIZE; in getScratchSizeKey()
130 return PALMD::Key::LS_SCRATCH_SIZE; in getScratchSizeKey()
132 return PALMD::Key::CS_SCRATCH_SIZE; in getScratchSizeKey()
688 auto Key = I.first; in toString() local
751 auto Key = I.first; in setFromString() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h151 auto I = ValueState.find(Key); in getExistingValueState()
218 LatticeKey Key, raw_ostream &OS) { in PrintLatticeKey() argument
229 auto I = ValueState.find(Key); in getValueState()
233 if (LatticeFunc->IsUntrackedValue(Key)) in getValueState()
246 auto I = ValueState.find(Key); in UpdateState()
252 ValueState[Key] = std::move(LV); in UpdateState()
412 LatticeVal PNIV = getValueState(Key); in visitPHINode()
422 UpdateState(Key, Overdefined); in visitPHINode()
445 UpdateState(Key, PNIV); in visitPHINode()
505 LatticeKey Key; in Print() local
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h70 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value> argument
84 #define REGISTER_MAP_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
92 #define REGISTER_MAP_FACTORY_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
93 using Name = llvm::ImmutableMap<Key, Value>; \
145 template <typename Key, typename Data, typename Info>
147 using data_type = llvm::ImmutableMap<Key, Data, Info>;
149 using key_type = Key;
193 template <typename Key, typename Info>
194 struct ProgramStatePartialTrait<llvm::ImmutableSet<Key, Info>> {
195 using data_type = llvm::ImmutableSet<Key, Info>;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DOnDiskHashTable.h63 typename Info::key_type Key;
70 : Key(Key), Data(Data), Next(nullptr), Hash(InfoObj.ComputeHash(Key)) {} in Item()
116 void insert(typename Info::key_type_ref Key, in insert() argument
119 insert(Key, Data, InfoObj); in insert()
125 void insert(typename Info::key_type_ref Key, in insert() argument
135 unsigned Hash = InfoObj.ComputeHash(Key); in contains()
137 if (I->Hash == Hash && InfoObj.EqualKey(I->Key, Key)) in contains()
191 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit()
197 InfoObj.EmitKey(Out, I->Key, Len.first); in Emit()
322 internal_key_type Key; variable
[all …]
H A DTypeName.h31 StringRef Key = "DesiredTypeName = "; in getTypeName() local
32 Name = Name.substr(Name.find(Key)); in getTypeName()
34 Name = Name.drop_front(Key.size()); in getTypeName()
41 StringRef Key = "getTypeName<"; in getTypeName()
42 Name = Name.substr(Name.find(Key)); in getTypeName()
44 Name = Name.drop_front(Key.size()); in getTypeName()
/freebsd-13.1/crypto/heimdal/lib/hdb/
H A Dhdb-protos.h96 Key **/*key*/);
200 hdb_free_key (Key */*key*/);
206 Key */*keys*/);
217 Key **/*ret_key_set*/,
226 Key **/*keys*/,
290 Key **/*key*/);
329 Key */*k*/);
334 Key */*k*/,
374 Key */*k*/);
379 Key */*k*/,
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp28 auto Key = std::make_pair(MBB, Val); in getOrCreateVReg() local
29 auto It = VRegDefMap.find(Key); in getOrCreateVReg()
38 VRegDefMap[Key] = VReg; in getOrCreateVReg()
39 VRegUpwardsUse[Key] = VReg; in getOrCreateVReg()
53 auto It = VRegDefUses.find(Key); in getOrCreateVRegDefAt()
60 VRegDefUses[Key] = VReg; in getOrCreateVRegDefAt()
68 auto It = VRegDefUses.find(Key); in getOrCreateVRegUseAt()
73 VRegDefUses[Key] = VReg; in getOrCreateVRegUseAt()
162 auto UUseIt = VRegUpwardsUse.find(Key); in propagateVRegs()
163 auto VRegDefIt = VRegDefMap.find(Key); in propagateVRegs()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp122 CVPLatticeVal ComputeLatticeVal(CVPLatticeKey Key) override { in ComputeLatticeVal() argument
123 switch (Key.getInt()) { in ComputeLatticeVal()
125 if (isa<Instruction>(Key.getPointer())) { in ComputeLatticeVal()
139 } else if (auto *F = cast<Function>(Key.getPointer())) in ComputeLatticeVal()
203 if (Key.getInt() == IPOGrouping::Register) in PrintLatticeKey()
205 else if (Key.getInt() == IPOGrouping::Memory) in PrintLatticeKey()
207 else if (Key.getInt() == IPOGrouping::Return) in PrintLatticeKey()
209 if (isa<Function>(Key.getPointer())) in PrintLatticeKey()
210 OS << Key.getPointer()->getName(); in PrintLatticeKey()
212 OS << *Key.getPointer(); in PrintLatticeKey()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h67 IO &io, StringRef Key,
86 std::string Key;
88 if (!Key.empty())
89 Key += ',';
90 Key += llvm::utostr(Arg);
92 io.mapRequired(Key.c_str(), P.second);
116 static void inputOne(IO &io, StringRef Key,
119 if (Key.getAsInteger(0, KeyInt)) {
211 if (Key.getAsInteger(0, KeyInt)) {
269 io.mapRequired(Key.str().c_str(), TId);
[all …]
/freebsd-13.1/sys/contrib/device-tree/src/arm/
H A Dimx6dl-prtvt7.dts39 label = "GPIO Key ESC";
45 label = "GPIO Key UP";
69 label = "GPIO Key F1";
75 label = "GPIO Key F2";
81 label = "GPIO Key F3";
87 label = "GPIO Key F4";
93 label = "GPIO Key F5";
99 label = "GPIO Key F6";
105 label = "GPIO Key F7";
111 label = "GPIO Key F8";
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp296 yaml::ScalarNode *Key; in parseEntry() local
302 if (!Key) { in parseEntry()
335 yaml::ScalarNode *Key; in parseRewriteFunctionDescriptor() local
342 if (!Key) { in parseRewriteFunctionDescriptor()
353 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
404 yaml::ScalarNode *Key; in parseRewriteGlobalVariableDescriptor() local
411 if (!Key) { in parseRewriteGlobalVariableDescriptor()
422 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
467 yaml::ScalarNode *Key; in parseRewriteGlobalAliasDescriptor() local
474 if (!Key) { in parseRewriteGlobalAliasDescriptor()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h35 const char *Key; ///< K-V key string member
42 return StringRef(Key) < S;
47 return StringRef(Key) < StringRef(Other.Key);
55 const char *Key; ///< K-V key string member
62 return StringRef(Key) < S;
67 return StringRef(Key) < StringRef(Other.Key);
229 return Found != ProcDesc.end() && StringRef(Found->Key) == CPU; in isCPUStringValid()

12345678910>>...29