Home
last modified time | relevance | path

Searched refs:Importer (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp181 ASTImporter &Importer; member in clang::ASTNodeImporter
218 return Importer.Import(From); in import()
363 explicit ASTNodeImporter(ASTImporter &Importer) : Importer(Importer) {} in ASTNodeImporter() argument
777 Importer.getToContext(), in import()
2392 Importer.getFromContext(), Importer.getToContext(), in IsStructuralMatch()
2393 Importer.getNonEquivalentDecls(), getStructuralEquivalenceKind(Importer), in IsStructuralMatch()
2435 Importer.MapImported(D, ToD); in VisitTranslationUnitDecl()
5334 Importer.MapImported(D, ToD); in VisitBuiltinTemplateDecl()
6707 Importer.getToContext(), in VisitGCCAsmStmt()
6925 Importer.getToContext(), in VisitForStmt()
[all …]
H A DExternalASTMerger.cpp282 Callback(Importer, Importer.GetReverse(), Origin.DC); in ForEachMatchingDC()
292 if (Callback(*Importer, Reverse, SourceDC)) in ForEachMatchingDC()
369 ASTImporter &Reverse = Importer.GetReverse(); in MaybeRecordOrigin()
374 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin()
452 auto ImportedSpecOrError = Importer->Import(Spec); in importSpecializations()
466 return importSpecializations(FunctionTD, Importer); in importSpecializationsIfNeeded()
468 return importSpecializations(ClassTD, Importer); in importSpecializationsIfNeeded()
470 return importSpecializations(VarTD, Importer); in importSpecializationsIfNeeded()
506 ASTImporter *Importer = C.second; in FindExternalVisibleDeclsByName() local
507 auto NDOrErr = Importer->Import(LookupRes); in FindExternalVisibleDeclsByName()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp56 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(), in ExecuteAction() local
68 llvm::Expected<Decl *> ToDOrError = Importer.Import(D); in ExecuteAction()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp225 std::unique_ptr<ASTImporter> Importer; member in clang::ExternalSource
270 Importer.reset(importer); in ExternalSource()
306 auto DeclOrErr = Importer->Import(Decl); in completeVisibleDeclsMap()
332 if (auto Err = Importer->ImportDefinition(Decl)) { in completeVisibleDeclsMap()
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp375 FunctionImporter Importer(*Index, CachedModuleLoader, in importFunctions() local
377 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp656 FunctionImporter Importer(CombinedIndex, ModuleLoader, in thinBackend() local
658 if (Error Err = Importer.importFunctions(Mod, ImportList).takeError()) in thinBackend()
H A DThinLTOCodeGenerator.cpp225 FunctionImporter Importer(Index, Loader, ClearDSOLocalOnDeclarations); in crossImportIntoModule() local
226 Expected<bool> Result = Importer.importFunctions(TheModule, ImportList); in crossImportIntoModule()
/freebsd/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp734 ASTImporter &Importer = getOrCreateASTImporter(Unit); in importDefinitionImpl() local
736 auto ToDeclOrError = Importer.Import(D); in importDefinitionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1796 FunctionImporter Importer(*Index, ModuleLoader, in doImportingForModuleForTest() local
1798 Expected<bool> Result = Importer.importFunctions(M, ImportList); in doImportingForModuleForTest()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp593 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions() local
597 Importer && llvm::is_contained(ExistingOpts.SystemHeaderWarningsModules, in ReadDiagnosticOptions()
598 Importer->Name); in ReadDiagnosticOptions()