| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 180 ASTImporter &Importer; member in clang::ASTNodeImporter 185 return Importer.importInto(To, From); in importInto() 191 auto ToOrErr = Importer.Import(From); in importInto() 203 auto ToOrErr = Importer.Import(From); in import() 217 return Importer.Import(From); in import() 274 if (Importer.getImportDeclErrorIfAny(FromD)) { in GetImportedOrCreateSpecialDecl() 278 ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD)); in GetImportedOrCreateSpecialDecl() 283 Importer.RegisterImportedDecl(FromD, ToD); in GetImportedOrCreateSpecialDecl() 284 Importer.SharedState->markAsNewDecl(ToD); in GetImportedOrCreateSpecialDecl() 303 return Importer.MapImported(D, const_cast<FunctionDecl *>(Definition)); in FindAndMapDefinition() [all …]
|
| H A D | ExternalASTMerger.cpp | 279 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in ForEachMatchingDC() local 280 Callback(Importer, Importer.GetReverse(), Origin.DC); in ForEachMatchingDC() 283 for (const std::unique_ptr<ASTImporter> &Importer : Importers) { in ForEachMatchingDC() local 285 Importer->getFromContext().getTranslationUnitDecl(); in ForEachMatchingDC() 287 static_cast<LazyASTImporter *>(Importer.get())->GetReverse(); in ForEachMatchingDC() 290 if (Callback(*Importer, Reverse, SourceDC)) in ForEachMatchingDC() 366 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin() local 367 ASTImporter &Reverse = Importer.GetReverse(); in MaybeRecordOrigin() 372 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin() 387 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 271 Importer.reset(importer); in ExternalSource() 308 auto DeclOrErr = Importer->Import(Decl); in completeVisibleDeclsMap() 334 if (auto Err = Importer->ImportDefinition(Decl)) { in completeVisibleDeclsMap()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTMerge.cpp | 55 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(), in ExecuteAction() local 67 llvm::Expected<Decl *> ToDOrError = Importer.Import(D); in ExecuteAction()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-link/ |
| H A D | llvm-link.cpp | 379 FunctionImporter Importer(*Index, CachedModuleLoader, in importFunctions() local 381 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions()
|
| /freebsd/contrib/llvm-project/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 735 ASTImporter &Importer = getOrCreateASTImporter(Unit); in importDefinitionImpl() local 737 auto ToDeclOrError = Importer.Import(D); in importDefinitionImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 715 FunctionImporter Importer(CombinedIndex, ModuleLoader, in thinBackend() local 717 if (Error Err = Importer.importFunctions(Mod, ImportList).takeError()) in thinBackend()
|
| H A D | ThinLTOCodeGenerator.cpp | 219 FunctionImporter Importer(Index, Loader, ClearDSOLocalOnDeclarations); in crossImportIntoModule() local 220 Expected<bool> Result = Importer.importFunctions(TheModule, ImportList); in crossImportIntoModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 2095 FunctionImporter Importer(*Index, ModuleLoader, in doImportingForModuleForTest() local 2097 Expected<bool> Result = Importer.importFunctions(M, ImportList); in doImportingForModuleForTest()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 615 Module *Importer = PP.getCurrentModule(); in ReadDiagnosticOptions() local 619 Importer && llvm::is_contained(ExistingOpts.SystemHeaderWarningsModules, in ReadDiagnosticOptions() 620 Importer->Name); in ReadDiagnosticOptions()
|