Home
last modified time | relevance | path

Searched refs:Imports (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-src/contrib/llvm-project/clang/lib/Serialization/
H A DModuleFile.cpp49 if (!Imports.empty()) { in dump()
50 llvm::errs() << " Imports: "; in dump()
51 for (unsigned I = 0, N = Imports.size(); I != N; ++I) { in dump()
54 llvm::errs() << Imports[I]->FileName; in dump()
H A DModuleManager.cpp89 ImportedBy->Imports.insert(&MF); in updateModuleImports()
259 I->Imports.remove_if(IsVictim); in removeModules()
363 for (ModuleFile *M : llvm::reverse(CurrentModule->Imports)) { in visit()
414 M = NextModule->Imports.begin(), in visit()
415 MEnd = NextModule->Imports.end(); in visit()
467 return Node->Imports.begin(); in child_begin()
471 return Node->Imports.end(); in child_end()
H A DASTWriter.cpp217 for (const Module *ImportedModule : CurrentModule->Imports) in GetAffectingModuleMaps()
1513 // Imports in WriteControlBlock()
3083 if (!Mod->Imports.empty()) { in WritePragmaDiagnosticMappings()
3085 for (auto *I : Mod->Imports) in WritePragmaDiagnosticMappings()
5552 llvm::SmallVector<ModuleInfo, 64> Imports; in getMacroID()
5555 Imports.push_back(ModuleInfo(SubmoduleIDs[I->getImportedModule()], in getMacroID()
5559 if (!Imports.empty()) { in getMacroDirectivesOffset()
5568 llvm::sort(Imports, Cmp); in getSelectorRef()
5569 Imports.erase(std::unique(Imports in getSelectorRef()
5201 llvm::SmallVector<ModuleInfo, 64> Imports; WriteASTCore() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp175 const DebugCrossModuleImportsSubsectionRef &Imports);
177 std::vector<YAMLCrossModuleImport> Imports; member
347 IO.mapOptional("Imports", Imports); in map()
481 for (const auto &M : Imports) { in toCodeViewSubsection()
657 const DebugCrossModuleImportsSubsectionRef &Imports) { in fromCodeViewSubsection() argument
659 for (const auto &CMI : Imports) { in fromCodeViewSubsection()
665 YCMI.ImportIds.assign(CMI.Imports.begin(), CMI.Imports.end()); in fromCodeViewSubsection()
666 Result->Imports.push_back(YCMI); in fromCodeViewSubsection()
842 DebugCrossModuleImportsSubsectionRef &Imports, in visitCrossModuleImports() argument
845 State.strings(), Imports); in visitCrossModuleImports()
H A DWasmEmitter.cpp386 encodeULEB128(Section.Imports.size(), OS); in writeSectionContent()
387 for (const WasmYAML::Import &Import : Section.Imports) { in writeSectionContent()
/freebsd-src/contrib/llvm-project/llvm/lib/MC/
H A DWasmObjectWriter.cpp300 void prepareImports(SmallVectorImpl<wasm::WasmImport> &Imports,
328 void writeImportSection(ArrayRef<wasm::WasmImport> Imports, uint64_t DataSize, in writeValueType()
844 void WasmObjectWriter::writeImportSection(ArrayRef<wasm::WasmImport> Imports, in writeTypeSection()
847 if (Imports.empty()) in writeTypeSection()
855 encodeULEB128(Imports.size(), W->OS); in writeImportSection()
856 for (const wasm::WasmImport &Import : Imports) { in writeImportSection()
1346 SmallVectorImpl<wasm::WasmImport> &Imports, MCAssembler &Asm) { in prepareImports()
1356 Imports.push_back(MemImport); in prepareImports()
1358 // Populate SignatureIndices, and Imports and WasmIndices for undefined in prepareImports()
1388 Imports in prepareImports()
849 writeImportSection(ArrayRef<wasm::WasmImport> Imports,uint64_t DataSize,uint32_t NumElements) writeImportSection() argument
1334 prepareImports(SmallVectorImpl<wasm::WasmImport> & Imports,MCAssembler & Asm,const MCAsmLayout & Layout) prepareImports() argument
1466 SmallVector<wasm::WasmImport, 4> Imports; writeOneObject() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp444 for (unsigned I = 0, N = Imports.size(); I != N; ++I) { in getExportedModules()
445 Module *Mod = Imports[I]; in getExportedModules()
472 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache()
612 for (Module *M : Imports) { in print()
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp75 const DenseSet<GlobalValue::GUID> *Imports) { in createFunctionEntryCount()
83 if (Imports) {
84 SmallVector<GlobalValue::GUID, 2> OrderID(Imports->begin(), Imports->end()); in createRange()
61 createFunctionEntryCount(uint64_t Count,bool Synthetic,const DenseSet<GlobalValue::GUID> * Imports) createFunctionEntryCount() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugCrossImpSubsection.h31 FixedStreamArray<support::ulittle32_t> Imports; member
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugCrossImpSubsection.cpp39 if (auto EC = Reader.readArray(Item.Imports, Item.Header->Count)) in operator ()()
/freebsd-src/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3306 // Sorts and deduplicates a block of includes given by 'Imports' based on in sortJavaImports()
3312 const SmallVectorImpl<JavaImportDirective> &Imports, in sortJavaImports()
3315 unsigned ImportsBeginOffset = Imports.front().Offset; in sortJavaImports()
3317 Imports.back().Offset + Imports.back().Text.size(); in sortJavaImports()
3323 llvm::to_vector<16>(llvm::seq<unsigned>(0, Imports.size())); in sortJavaImports()
3325 JavaImportGroups.reserve(Imports.size()); in sortJavaImports()
3326 for (const JavaImportDirective &Import : Imports) in sortJavaImports()
3333 return std::make_tuple(!Imports[LHSI].IsStatic ^ in sortJavaImports()
3335 JavaImportGroups[LHSI], Imports[LHS in sortJavaImports()
3269 sortJavaImports(const FormatStyle & Style,const SmallVectorImpl<JavaImportDirective> & Imports,ArrayRef<tooling::Range> Ranges,StringRef FileName,StringRef Code,tooling::Replacements & Replaces) sortJavaImports() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h145 ArrayRef<wasm::WasmImport> imports() const { return Imports; } in tags()
288 std::vector<wasm::WasmImport> Imports;
282 std::vector<wasm::WasmImport> Imports; global() variable
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h87 /// GUIDs stored in \p Imports that need to be imported for sample PGO, to
90 const DenseSet<GlobalValue::GUID> *Imports);
H A DFunction.h305 /// pgo data. \p Imports points to a set of GUIDs that needs to
309 const DenseSet<GlobalValue::GUID> *Imports = nullptr);
313 const DenseSet<GlobalValue::GUID> *Imports = nullptr);
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp58 static cl::list<std::string> Imports( variable
343 for (const auto &Import : Imports) { in importFunctions()
/freebsd-src/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h494 llvm::SetVector<ModuleFile *> Imports;
497 /// from `Imports`, this includes indirectly imported modules too.
513 llvm::SetVector<ModuleFile *> Imports; global() variable
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp48 for (const serialization::ModuleFile *Import : MF->Imports) in optimizeHeaderSearchOpts()
74 for (const serialization::ModuleFile *Import : MF->Imports) in optimizeDiagnosticOpts()
682 for (const Module *Import : M->Imports) in isPrebuiltModule()
702 for (const Module *Import : M->Imports) { in addFileDep()
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp698 ImportedGlobals.reserve(Imports.size()); in parseLinkingSectionSymtab()
699 ImportedFunctions.reserve(Imports.size()); in parseLinkingSectionSymtab()
700 ImportedTags.reserve(Imports.size()); in parseLinkingSectionSymtab()
701 ImportedTables.reserve(Imports.size()); in parseLinkingSectionSymtab()
702 for (auto &I : Imports) { in parseLinkingSectionSymtab()
1265 Imports.reserve(Count); in parseTagSection()
1315 Imports.push_back(Im); in parseExportSection()
/freebsd-src/crypto/heimdal/lib/asn1/
H A Dasn1parse.y259 ModuleBody : Exports Imports AssignmentList
263 Imports : kw_IMPORTS SymbolsImported ';'
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp156 for (Module *TransImported : Importing->Imports) in DiagReservedModuleName()
500 Mod->Imports.insert(Interface); // As if we imported it. in ActOnModuleImport()
706 // Note that we don't need to add re-exported module to Imports field in ActOnModuleEnd()
711 getCurrentModule()->Imports.insert(Mod); in ActOnModuleEnd()
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h402 llvm::SmallSetVector<Module *, 2> Imports;
401 llvm::SmallSetVector<Module *, 2> Imports; global() variable
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp805 Out.indent(2) << "Imports module '" << ModuleName in ModuleKindName()
925 if (!Primary->Imports.empty()) in ExecuteAction()
926 Out << " Imports:\n"; in ExecuteAction()
927 for (auto *IMP : Primary->Imports) { in ExecuteAction()
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp689 for (Module *M : Primary->Imports) in EmitCXXModuleInitFunc()
700 for (Module *M : SubM->Imports) in EmitCXXModuleInitFunc()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h304 std::vector<Import> Imports; member
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp906 printHeader(P, "Cross Module Imports"); in dumpXmi()
916 DebugCrossModuleImportsSubsectionRef &Imports) -> Error { in dumpXmi() argument
919 for (const auto &Xmi : Imports) { in dumpXmi()
935 for (const auto I : Xmi.Imports) in dumpXmi()

12