Home
last modified time | relevance | path

Searched refs:getKey (Results 1 – 25 of 43) sorted by relevance

12

/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DDenseMapTest.cpp86 typename T::key_type getKey(int i = 0) { in getKey() function in __anonb813dbd40111::DenseMapTest
120 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST()
124 this->Map.lookup(this->getKey())); in TYPED_TEST()
131 this->Map.lookup(this->getKey())); in TYPED_TEST()
145 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
154 EXPECT_EQ(this->getKey(), it->first); in TYPED_TEST()
160 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST()
161 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin()); in TYPED_TEST()
162 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp278 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey()); in parseEntry()
280 YS.printError(Entry.getKey(), "rewrite type must be a scalar"); in parseEntry()
298 YS.printError(Entry.getKey(), "unknown rewrite type"); in parseEntry()
318 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteFunctionDescriptor()
320 YS.printError(Field.getKey(), "descriptor key must be a scalar"); in parseRewriteFunctionDescriptor()
336 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteFunctionDescriptor()
349 YS.printError(Field.getKey(), "unknown key for function"); in parseRewriteFunctionDescriptor()
385 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); in parseRewriteGlobalVariableDescriptor()
387 YS.printError(Field.getKey(), "descriptor Key must be a scalar"); in parseRewriteGlobalVariableDescriptor()
403 YS.printError(Field.getKey(), "invalid regex: " + Error); in parseRewriteGlobalVariableDescriptor()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp166 return (*LHS)->getKey().compare((*RHS)->getKey()); in compareEntry()
183 llvm::errs() << Keys[I]->getKey() << " = " << Keys[I]->second << '\n'; in checkEndOfTranslationUnit()
H A DMallocChecker.cpp2091 ConditionTruthVal AllocFailed = CMgr.isNull(state, I.getKey()); in evalAssume()
2093 state = state->remove<RegionState>(I.getKey()); in evalAssume()
2102 ConditionTruthVal AllocFailed = CMgr.isNull(state, I.getKey()); in evalAssume()
2118 state = state->remove<ReallocPairs>(I.getKey()); in evalAssume()
2339 SymbolRef sym = I.getKey(); in findFailedReallocSymbol()
2443 const RefState *RefS = State->get<RegionState>(I.getKey()); in printState()
2447 I.getKey()->dumpToStream(Out); in printState()
/minix3/external/bsd/llvm/dist/clang/tools/diagtool/
H A DDiagTool.cpp47 toolNames.push_back(it->getKey()); in printCommands()
48 unsigned len = it->getKey().size(); in printCommands()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DScopedHashTable.h52 const K &getKey() const { return Key; } in getKey() function
237 assert(HT.TopLevelMap[ThisEntry->getKey()] == ThisEntry && in ~ScopedHashTableScope()
239 HT.TopLevelMap.erase(ThisEntry->getKey()); in ~ScopedHashTableScope()
241 ScopedHashTableVal<K, V> *&KeyEntry = HT.TopLevelMap[ThisEntry->getKey()]; in ~ScopedHashTableScope()
H A DStringMap.h124 StringRef getKey() const { in getKey() function
298 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
H A DImmutableMap.h223 key_type_ref getKey() const { return itr->getValue().first; } in getKey() function
391 key_type_ref getKey() const { return itr->getValue().first; } in getKey() function
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DSpecialCaseList.cpp140 Entries[I->getKey()][II->getKey()].RegEx.reset(new Regex(II->getValue())); in parse()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp166 const EnvironmentEntry &BlkExpr = I.getKey(); in removeDeadBindings()
196 const EnvironmentEntry &En = I.getKey(); in print()
H A DRangeConstraintManager.cpp376 SymbolRef sym = I.getKey(); in removeDeadBindings()
585 Out << nl << ' ' << I.getKey() << " : "; in print()
H A DRegionStore.cpp219 OS << ' ' << CI.getKey() << " : " << CI.getData() << nl; in dump()
593 const BindingKey &K = CI.getKey(); in iterBindings()
699 const MemRegion *Base = RI.getKey(); in GenerateClusters()
841 BindingKey NextKey = I.getKey(); in collectSubRegionBindings()
2322 const MemRegion *Base = I.getKey(); in removeDeadBindings()
/minix3/external/bsd/llvm/dist/llvm/tools/dsymutil/
H A DDebugMap.cpp40 Entries.push_back(std::make_pair(Sym.getKey(), Sym.getValue())); in print()
/minix3/external/bsd/llvm/dist/llvm/lib/MC/
H A DStringTableBuilder.cpp35 Strings.push_back(i->getKey()); in finalize()
H A DMCContext.cpp125 Sym = new (*this) MCSymbol(NameIter->getKey(), /*isTemporary*/ false); in getOrCreateSectionSymbol()
158 new (*this) MCSymbol(NameEntry.first->getKey(), isTemporary); in CreateSymbol()
/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp114 Generator.insert(I.getKey(), &I.getValue()); in write()
H A DSampleProfReader.cpp143 dumpFunctionProfile(I.getKey(), OS); in dump()
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DVirtualFileSystem.cpp646 if (!parseScalarString(I->getKey(), Key, Buffer)) in parseEntry()
649 if (!checkDuplicateOrUnknownKey(I->getKey(), Key, Keys)) in parseEntry()
670 error(I->getKey(), in parseEntry()
693 error(I->getKey(), in parseEntry()
791 if (!parseScalarString(I->getKey(), Key, KeyBuffer)) in parse()
794 if (!checkDuplicateOrUnknownKey(I->getKey(), Key, Keys)) in parse()
/minix3/external/bsd/llvm/dist/llvm/lib/Option/
H A DOptTable.cpp148 StringRef Prefix = I->getKey(); in OptTable()
173 if (Arg.startswith(I->getKey())) in isInput()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DYAMLParser.h246 Node *getKey();
256 getKey()->skip(); in skip()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp64 VarMap[(*I).getKey()] = (*I).getValue(); in NVVMReflect()
/minix3/external/bsd/llvm/dist/llvm/utils/yaml-bench/
H A DYAMLBench.cpp110 dumpNode(i->getKey(), Indent, true); in dumpNode()
/minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp456 (Entry.getValue().getTypeAsString() + " " + Entry.getKey()).str(); in getNamedValueCompletions()
457 Result.emplace_back(Entry.getKey(), Decl, Specificity); in getNamedValueCompletions()
/minix3/external/bsd/llvm/dist/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp272 dyn_cast<llvm::yaml::ScalarNode>((*KVI).getKey()); in parse()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfAccelTable.cpp82 HashData *Entry = new (Allocator) HashData(EI->getKey(), EI->second); in FinalizeTable()

12