Home
last modified time | relevance | path

Searched refs:LookupTable (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTImporterSharedState.h31 std::unique_ptr<ASTImporterLookupTable> LookupTable; variable
51 LookupTable = std::make_unique<ASTImporterLookupTable>(ToTU); in ASTImporterSharedState()
54 ASTImporterLookupTable *getLookupTable() { return LookupTable.get(); } in getLookupTable()
57 if (LookupTable) in addDeclToLookup()
59 LookupTable->add(ND); in addDeclToLookup()
63 if (LookupTable) in removeDeclFromLookup()
65 LookupTable->remove(ND); in removeDeclFromLookup()
H A DASTImporterLookupTable.h59 DCMap LookupTable; variable
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp94 GlobalVariable &LookupTable) { in createRelLookupTable() argument
97 cast<ConstantArray>(LookupTable.getInitializer()); in createRelLookupTable()
103 M, IntArrayTy, LookupTable.isConstant(), LookupTable.getLinkage(), in createRelLookupTable()
104 nullptr, "reltable." + Func.getName(), &LookupTable, in createRelLookupTable()
105 LookupTable.getThreadLocalMode(), LookupTable.getAddressSpace(), in createRelLookupTable()
106 LookupTable.isExternallyInitialized()); in createRelLookupTable()
130 static void convertToRelLookupTable(GlobalVariable &LookupTable) { in convertToRelLookupTable() argument
132 cast<GetElementPtrInst>(LookupTable.use_begin()->getUser()); in convertToRelLookupTable()
135 Module &M = *LookupTable.getParent(); in convertToRelLookupTable()
141 GlobalVariable *RelLookupTable = createRelLookupTable(Func, LookupTable); in convertToRelLookupTable()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporterLookupTable.cpp91 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
98 DeclList &Decls = LookupTable[DC][Name]; in remove()
144 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
150 auto DCI = LookupTable.find(DC->getPrimaryContext()); in lookup()
151 if (DCI == LookupTable.end()) in lookup()
167 auto DCI = LookupTable.find(DC->getPrimaryContext()); in dump()
168 if (DCI == LookupTable.end()) in dump()
183 for (const auto &Entry : LookupTable) { in dump()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DInMemorySymbolIndex.cpp19 LookupTable[std::string(Symbol.Symbol.getName())].push_back(Symbol); in InMemorySymbolIndex()
24 auto I = LookupTable.find(std::string(Identifier)); in search()
25 if (I != LookupTable.end()) in search()
H A DInMemorySymbolIndex.h31 LookupTable;
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DDex.cpp128 LookupTable[Sym->ID] = Sym; in buildIndex()
294 auto I = LookupTable.find(ID); in lookup()
295 if (I != LookupTable.end()) in lookup()
347 Bytes += LookupTable.getMemorySize(); in estimateMemoryUsage()
H A DDex.h109 llvm::DenseMap<SymbolID, const Symbol *> LookupTable; variable
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTWriter.h490 llvm::SmallVectorImpl<char> &LookupTable);
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp3850 llvm::SmallVectorImpl<char> &LookupTable) { in GenerateNameLookupTable() argument
4022 Generator.emit(LookupTable, Trait, Lookups ? &Lookups->Table : nullptr); in GenerateNameLookupTable()
4104 SmallString<4096> LookupTable; in WriteDeclContextVisibleBlock() local
4105 GenerateNameLookupTable(DC, LookupTable); in WriteDeclContextVisibleBlock()
4110 LookupTable); in WriteDeclContextVisibleBlock()
4127 SmallString<4096> LookupTable; in WriteDeclContextVisibleUpdate() local
4128 GenerateNameLookupTable(DC, LookupTable); in WriteDeclContextVisibleUpdate()
4137 Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable); in WriteDeclContextVisibleUpdate()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1794 struct LookupTable {
1802 LookupTable LT;