Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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, LookupTable.getName() + ".rel", &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()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterSharedState.h32 std::unique_ptr<ASTImporterLookupTable> LookupTable; variable
52 LookupTable = std::make_unique<ASTImporterLookupTable>(ToTU); in ASTImporterSharedState()
55 ASTImporterLookupTable *getLookupTable() { return LookupTable.get(); } in getLookupTable()
58 if (LookupTable) in addDeclToLookup()
60 LookupTable->add(ND); in addDeclToLookup()
64 if (LookupTable) in removeDeclFromLookup()
66 LookupTable->remove(ND); in removeDeclFromLookup()
H A DASTImporterLookupTable.h59 DCMap LookupTable; variable
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp105 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
112 DeclList &Decls = LookupTable[DC][Name]; in remove()
158 LookupTable[OldDC][ND->getDeclName()].remove(ND); in updateForced()
164 auto DCI = LookupTable.find(DC->getPrimaryContext()); in lookup()
165 if (DCI == LookupTable.end()) in lookup()
181 auto DCI = LookupTable.find(DC->getPrimaryContext()); in dump()
182 if (DCI == LookupTable.end()) in dump()
197 for (const auto &Entry : LookupTable) { in dump()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp375 GlobalVariable *LookupTable, in replaceUseWithTableLookup() argument
400 LookupTable->getValueType(), LookupTable, GEPIdx, GV->getName()); in replaceUseWithTableLookup()
412 GlobalVariable *LookupTable) { in replaceUsesInInstructionsWithTableLookup() argument
426 replaceUseWithTableLookup(M, Builder, LookupTable, GV, U, in replaceUsesInInstructionsWithTableLookup()
1009 GlobalVariable *LookupTable = buildLookupTable( in runOnModule() local
1012 LookupTable); in runOnModule()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h573 llvm::SmallVectorImpl<char> &LookupTable);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4156 llvm::SmallVectorImpl<char> &LookupTable) { in GenerateNameLookupTable() argument
4337 Generator.emit(LookupTable, Trait, Lookups ? &Lookups->Table : nullptr); in GenerateNameLookupTable()
4431 SmallString<4096> LookupTable; in WriteDeclContextVisibleBlock() local
4432 GenerateNameLookupTable(DC, LookupTable); in WriteDeclContextVisibleBlock()
4437 LookupTable); in WriteDeclContextVisibleBlock()
4454 SmallString<4096> LookupTable; in WriteDeclContextVisibleUpdate() local
4455 GenerateNameLookupTable(DC, LookupTable); in WriteDeclContextVisibleUpdate()
4465 Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable); in WriteDeclContextVisibleUpdate()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp74 LookupTable enumerator
2967 return Kind == RegKind::LookupTable ? AArch64::ZT0 : 0; in matchRegisterNameAlias()
3007 case RegKind::LookupTable: in getNumRegsForRegKind()
4637 unsigned RegNum = matchRegisterNameAlias(Name, RegKind::LookupTable); in tryParseZTOperand()
4643 RegNum, RegKind::LookupTable, StartLoc, getLoc(), getContext())); in tryParseZTOperand()