Searched refs:Importer (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporter.cpp | 181 ASTImporter &Importer; member in clang::ASTNodeImporter 186 return Importer.importInto(To, From); in importInto() 192 auto ToOrErr = Importer.Import(From); in importInto() 204 auto ToOrErr = Importer.Import(From); in import() 218 return Importer.Import(From); in import() 275 if (Importer.getImportDeclErrorIfAny(FromD)) { in GetImportedOrCreateSpecialDecl() 279 ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD)); in GetImportedOrCreateSpecialDecl() 284 Importer.RegisterImportedDecl(FromD, ToD); in GetImportedOrCreateSpecialDecl() 285 Importer.SharedState->markAsNewDecl(ToD); in GetImportedOrCreateSpecialDecl() 304 return Importer.MapImported(D, const_cast<FunctionDecl *>(Definition)); in FindAndMapDefinition() [all …]
|
H A D | ExternalASTMerger.cpp | 281 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in ForEachMatchingDC() local 282 Callback(Importer, Importer.GetReverse(), Origin.DC); in ForEachMatchingDC() 285 for (const std::unique_ptr<ASTImporter> &Importer : Importers) { in ForEachMatchingDC() local 287 Importer->getFromContext().getTranslationUnitDecl(); in ForEachMatchingDC() 289 static_cast<LazyASTImporter *>(Importer.get())->GetReverse(); in ForEachMatchingDC() 292 if (Callback(*Importer, Reverse, SourceDC)) in ForEachMatchingDC() 368 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin() local 369 ASTImporter &Reverse = Importer.GetReverse(); in MaybeRecordOrigin() 374 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin() 389 ASTImporter &Importer) { in RecordOriginImpl() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | CodeCompletion.cpp | 225 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 D | llvm-link.cpp | 391 FunctionImporter Importer(*Index, CachedModuleLoader, in importFunctions() local 393 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions()
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 658 FunctionImporter Importer(CombinedIndex, ModuleLoader, in thinBackend() local 660 if (Error Err = Importer.importFunctions(Mod, ImportList).takeError()) in thinBackend()
|
H A D | ThinLTOCodeGenerator.cpp | 226 FunctionImporter Importer(Index, Loader, ClearDSOLocalOnDeclarations); in crossImportIntoModule() local 227 Expected<bool> Result = Importer.importFunctions(TheModule, ImportList); in crossImportIntoModule()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionImport.cpp | 1948 FunctionImporter Importer(*Index, ModuleLoader, in doImportingForModuleForTest() local 1950 Expected<bool> Result = Importer.importFunctions(M, ImportList); in doImportingForModuleForTest()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 598 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions() local 602 Importer && llvm::is_contained(ExistingOpts.SystemHeaderWarningsModules, in ReadDiagnosticOptions() 603 Importer->Name); in ReadDiagnosticOptions()
|