Home
last modified time | relevance | path

Searched refs:Module (Results 1 – 25 of 1374) sorted by relevance

12345678910>>...55

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h90 Module *SourceModule = nullptr;
93 llvm::SpecificBumpPtrAllocator<Module> ModulesAlloc;
97 llvm::SmallVector<Module *, 8> PendingSubmodules;
100 llvm::StringMap<Module *> Modules;
104 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads;
107 llvm::SmallVector<Module*, 2> ShadowModules;
119 void resolveLinkAsDependencies(Module *Mod);
123 void addLinkAsDependency(Module *Mod);
148 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind);
151 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role);
[all …]
H A DModuleLoader.h50 llvm::PointerIntPair<Module *, 2, LoadResultKind> Storage;
53 ModuleLoadResult(Module *M) : Storage(M, Normal) {} in ModuleLoadResult()
55 ModuleLoadResult(Module *M, LoadResultKind Kind) : Storage(M, Kind) {} in ModuleLoadResult()
61 operator Module *() const { return Storage.getPointer(); }
125 Module::NameVisibilityKind Visibility,
139 virtual void makeModuleVisible(Module *Mod,
140 Module::NameVisibilityKind Visibility,
170 Module::NameVisibilityKind Visibility, in loadModule()
178 void makeModuleVisible(Module *Mod, Module::NameVisibilityKind Visibility, in makeModuleVisible()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp72 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
78 Module &Module::operator=(Module &&Other) { in operator =()
112 Module::~Module() { in ~Module()
121 void Module::removeDebugIntrinsicDeclarations() { in removeDebugIntrinsicDeclarations()
149 Module::createRNG(const StringRef Name) const { in createRNG()
171 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
175 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
181 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
188 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
192 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
[all …]
H A DPassManager.cpp20 template class LLVM_EXPORT_TEMPLATE AllAnalysesOn<Module>;
22 template class LLVM_EXPORT_TEMPLATE PassManager<Module>;
24 template class LLVM_EXPORT_TEMPLATE AnalysisManager<Module>;
27 InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>;
33 Module &M, const PreservedAnalyses &PA, in invalidate()
48 if (!PAC.preserved() && !PAC.preservedSet<AllAnalysesOn<Module>>()) { in invalidate()
107 PreservedAnalyses ModuleToFunctionPassAdaptor::run(Module &M, in run()
152 void llvm::printIRUnitNameForStackTrace<Module>(raw_ostream &OS, in printIRUnitNameForStackTrace()
153 const Module &IR) { in printIRUnitNameForStackTrace()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.h28 class Module;
48 std::unique_ptr<Module> Program; // The raw program, linked together
117 Module &getProgram() const { return *Program; }
120 std::unique_ptr<Module> swapProgramIn(std::unique_ptr<Module> M);
133 void setNewProgram(std::unique_ptr<Module> M);
137 Error compileProgram(Module &M) const;
141 Expected<std::string> executeProgram(const Module &Program,
151 executeProgramSafely(const Module &Program,
157 Error createReferenceFile(Module
29 class Module; global() variable
[all...]
H A DMiscompilation.cpp137 std::unique_ptr<Module> PrefixOutput = in doTest()
154 std::unique_ptr<Module> OriginalInput = in doTest()
188 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>,
189 std::unique_ptr<Module>);
194 std::unique_ptr<Module>, in ReduceMiscompilingFunctions() argument
195 std::unique_ptr<Module>)) in ReduceMiscompilingFunctions()
227 static Expected<std::unique_ptr<Module>> testMergedProgram(const BugDriver &BD, in testMergedProgram()
228 const Module &M1, in testMergedProgram()
229 const Module &M2, in testMergedProgram()
267 std::unique_ptr<Module> Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
[all …]
H A DExtractFunction.cpp83 std::unique_ptr<Module>
87 std::unique_ptr<Module> Clone = CloneModule(*Program); in deleteInstructionFromProgram()
92 Module::iterator RFI = Clone->begin(); // Get iterator to corresponding fn in deleteInstructionFromProgram()
94 RFI, std::distance(PF->getParent()->begin(), Module::const_iterator(PF))); in deleteInstructionFromProgram()
120 std::unique_ptr<Module> New = runPassesOn(Clone.get(), Passes); in deleteInstructionFromProgram()
128 std::unique_ptr<Module>
129 BugDriver::performFinalCleanups(std::unique_ptr<Module> M, in performFinalCleanups()
132 for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) in performFinalCleanups()
142 std::unique_ptr<Module> New = runPassesOn(M.get(), CleanupPasses); in performFinalCleanups()
150 std::unique_ptr<Module> BugDriver::extractLoop(Module *M) { in extractLoop()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp36 Module::Module(ModuleConstructorTag, StringRef Name, in Module() function in Module
37 SourceLocation DefinitionLoc, Module *Parent, bool IsFramework, in Module()
60 Module::~Module() = default;
126 bool Module::isUnimportable(const LangOptions &LangOpts, in isUnimportable()
128 Module *&ShadowingModule) const { in isUnimportable()
132 for (const Module *Current = this; Current; Current = Current->Parent) { in isUnimportable()
155 bool Module::isForBuilding(const LangOptions &LangOpts) const { in isForBuilding()
171 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
174 Module *&ShadowingModule) const { in isAvailable()
183 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h28 class Module; variable
42 LLVM_ABI void appendToGlobalCtors(Module &M, Function *F, int Priority,
46 LLVM_ABI void appendToGlobalDtors(Module &M, Function *F, int Priority,
54 LLVM_ABI void transformGlobalCtors(Module &M, const GlobalCtorTransformFn &Fn);
55 LLVM_ABI void transformGlobalDtors(Module &M, const GlobalCtorTransformFn &Fn);
59 LLVM_ABI void setKCFIType(Module &M, Function &F, StringRef MangledType);
62 declareSanitizerInitFunction(Module &M, StringRef InitName,
67 LLVM_ABI Function *createSanitizerCtor(Module &M, StringRef CtorName);
74 createSanitizerCtorAndInitFunctions(Module &M, StringRef CtorName,
90 Module &M, StringRef CtorName, StringRef InitName,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h144 class alignas(8) Module {
193 Module *Parent;
255 std::vector<Module *> SubModules;
272 mutable llvm::DenseSet<const Module*> VisibleModulesCache;
355 Module *ShadowingModule = nullptr;
458 llvm::SmallSetVector<Module *, 2> Imports;
462 llvm::SmallSetVector<Module *, 2> AffectingClangModules;
468 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>;
492 SmallVector<Module *, 2> DirectUses;
499 llvm::SmallSetVector<const Module *, 2> UndeclaredUses;
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp51 void ModuleMap::resolveLinkAsDependencies(Module *Mod) { in resolveLinkAsDependencies()
62 void ModuleMap::addLinkAsDependency(Module *Mod) { in addLinkAsDependency()
69 Module::HeaderKind ModuleMap::headerRoleToKind(ModuleHeaderRole Role) { in headerRoleToKind()
72 return Module::HK_Normal; in headerRoleToKind()
74 return Module::HK_Private; in headerRoleToKind()
76 return Module::HK_Textual; in headerRoleToKind()
78 return Module::HK_PrivateTextual; in headerRoleToKind()
80 return Module::HK_Excluded; in headerRoleToKind()
86 ModuleMap::headerKindToRole(Module::HeaderKind Kind) { in headerKindToRole()
88 case Module::HK_Normal: in headerKindToRole()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp25 static void checkModuleImportContext(Sema &S, Module *M, in checkModuleImportContext()
85 isImportingModuleUnitFromSameModule(ASTContext &Ctx, Module *Imported, in isImportingModuleUnitFromSameModule()
86 Module *CurrentModule, in isImportingModuleUnitFromSameModule()
87 Module *&FoundPrimaryModuleInterface) { in isImportingModuleUnitFromSameModule()
131 Module *Imported, Module *CurrentModule, in makeTransitiveImportsVisible()
138 llvm::SmallVector<Module *, 4> Worklist; in makeTransitiveImportsVisible()
139 llvm::SmallSet<Module *, 16> Visited; in makeTransitiveImportsVisible()
142 Module *FoundPrimaryModuleInterface = in makeTransitiveImportsVisible()
146 Module *Importing = Worklist.pop_back_val(); in makeTransitiveImportsVisible()
158 for (Module *TransImported : Importing->Imports) in makeTransitiveImportsVisible()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp90 typedef std::vector<Module *> ModuleCollection;
106 std::recursive_mutex &Module::GetAllocationModuleCollectionMutex() { in GetAllocationModuleCollectionMutex()
118 size_t Module::GetNumberAllocatedModules() { in GetNumberAllocatedModules()
124 Module *Module::GetAllocatedModuleAtIndex(size_t idx) { in GetAllocatedModuleAtIndex()
133 Module::Module(const ModuleSpec &module_spec) in Module() function in Module
236 Module::Module(const FileSpec &file_spec, const ArchSpec &arch, in Module() function in Module
259 Module::Module() in Module() function in Module
267 Module::~Module() { in ~Module()
297 ObjectFile *Module::GetMemoryObjectFile(const lldb::ProcessSP &process_sp, in GetMemoryObjectFile()
347 const lldb_private::UUID &Module::GetUUID() { in GetUUID()
[all …]
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c184 const char *Module,
191 const char *Module,
251 const char *Module, in AcpiUtAllocateAndTrack() argument
262 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
272 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
279 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line); in AcpiUtAllocateAndTrack()
320 const char *Module, in AcpiUtAllocateZeroedAndTrack() argument
331 ACPI_WARNING ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
342 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
348 ACPI_MEM_CALLOC, Component, Module, Line); in AcpiUtAllocateZeroedAndTrack()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h44 explicit PrebuiltModuleDep(const Module *M) in PrebuiltModuleDep()
190 llvm::SmallVector<Module::LinkLibrary, 2> LinkLibraries;
233 StringRef RelativePath, const Module *SuggestedModule,
237 const Module *Imported) override;
245 void handleImport(const Module *Imported);
250 addAllSubmodulePrebuiltDeps(const Module *M, ModuleDeps &MD,
251 llvm::DenseSet<const Module *> &SeenSubmodules);
252 void addModulePrebuiltDeps(const Module *M, ModuleDeps &MD,
253 llvm::DenseSet<const Module *> &SeenSubmodules);
259 std::optional<ModuleID> handleTopLevelModule(const Module *M);
[all …]
/freebsd/sys/contrib/libsodium/test/default/
H A Dpre.js.inc2 this['Module'] = Module;
3 Module.test;
5 this['Module'] = Module = {};
9 Module['preRun'] = Module['preRun'] || [];
10 Module['preRun'].push(function() {
17 Module['print'] = function(x) {
/freebsd/sys/contrib/libsodium/dist-build/
H A Demscripten.sh83 var Module;
84 if (typeof Module === 'undefined') {
85 Module = {};
87 var root = Module;
96 Module['TOTAL_MEMORY'] = root['sodium']['totalMemory'];
98 var _Module = Module;
99 Module.ready = new Promise(function (resolve, reject) {
100 var Module = _Module;
101 Module.onAbort = reject;
102 Module.onRuntimeInitialized = function () {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h20 class Module; variable
67 MCJIT(std::unique_ptr<Module> M, std::unique_ptr<TargetMachine> tm,
71 typedef llvm::SmallPtrSet<Module *, 4> ModulePtrSet;
94 void addModule(std::unique_ptr<Module> M) { in addModule()
98 bool removeModule(Module *M) { in removeModule()
103 bool hasModuleBeenAddedButNotLoaded(Module *M) { in hasModuleBeenAddedButNotLoaded()
107 bool hasModuleBeenLoaded(Module *M) { in hasModuleBeenLoaded()
113 bool hasModuleBeenFinalized(Module *M) { in hasModuleBeenFinalized()
117 bool ownsModule(Module* M) { in ownsModule()
122 void markModuleAsLoaded(Module *M) { in markModuleAsLoaded()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DLinker.h17 class Module; variable
34 LLVM_ABI Linker(Module &M);
43 LLVM_ABI bool linkInModule(std::unique_ptr<Module> Src,
45 std::function<void(Module &, const StringSet<> &)>
49 Module &Dest, std::unique_ptr<Module> Src, unsigned Flags = Flags::None,
50 std::function<void(Module &, const StringSet<> &)> InternalizeCallback =
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterUsageInfo.h40 bool doInitialization(Module &M);
42 bool doFinalization(Module &M);
52 void print(raw_ostream &OS, const Module *M = nullptr) const;
54 bool invalidate(Module &M, const PreservedAnalyses &PA,
79 bool doInitialization(Module &M) override { in doInitialization()
84 bool doFinalization(Module &M) override { return PRUI->doFinalization(M); } in doFinalization()
86 void print(raw_ostream &OS, const Module *M = nullptr) const override {
99 PhysicalRegisterUsageInfo run(Module &M, ModuleAnalysisManager &);
108 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
H A DGlobalMergeFunctions.h65 void initializeMergerMode(const Module &M);
67 bool run(Module &M);
70 void analyze(Module &M);
73 void emitFunctionMap(Module &M);
76 bool merge(Module &M, const StableFunctionMap *FunctionMap);
85 PreservedAnalyses run(Module &M, AnalysisManager<Module> &);
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h28 class Module; variable
48 LLVM_ABI std::unique_ptr<Module>
63 LLVM_ABI std::unique_ptr<Module>
70 std::unique_ptr<Module> Mod;
128 LLVM_ABI std::unique_ptr<Module> parseAssembly(
170 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
185 const Module &M,
193 LLVM_ABI Type *parseType(StringRef Asm, SMDiagnostic &Err, const Module &M,
204 SMDiagnostic &Err, const Module &M,
209 SMDiagnostic &Err, const Module &M,
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h264 LLVM_ABI void promote(Module &Module, ModuleSummaryIndex &Index,
270 LLVM_ABI void emitImports(Module &Module, StringRef OutputName,
278 LLVM_ABI void crossModuleImport(Module &Module, ModuleSummaryIndex &Index,
286 Module &Module, ModuleSummaryIndex &Index,
293 LLVM_ABI void internalize(Module &Module, ModuleSummaryIndex &Index,
299 LLVM_ABI void optimize(Module &Module);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp93 static void rewriteComdat(Module &M, GlobalObject *GO, in rewriteComdat()
110 ValueType *(Module::*Get)(StringRef) const>
121 bool performOnModule(Module &M) override;
131 ValueType *(Module::*Get)(StringRef) const>
132 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule()
151 ValueType *(Module::*Get)(StringRef) const,
153 (Module::*Iterator)()>
163 bool performOnModule(Module &M) override;
173 ValueType *(Module::*Get)(StringRef) const,
175 (Module::*Iterator)()>
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp137 static std::unique_ptr<Module> loadFile(const char *argv0, in loadFile()
144 std::unique_ptr<Module> Result; in loadFile()
164 static std::unique_ptr<Module> loadArFile(const char *Argv0, in loadArFile()
167 std::unique_ptr<Module> Result(new Module("ArchiveModule", Context)); in loadArFile()
215 std::unique_ptr<Module> M; in loadArFile()
244 StringMap<std::unique_ptr<Module>> ModuleMap;
247 std::function<std::unique_ptr<Module>(const char *argv0,
253 ModuleLazyLoaderCache(std::function<std::unique_ptr<Module>( in ModuleLazyLoaderCache()
259 Module &operator()(const char *argv0, const std::string &FileName);
261 std::unique_ptr<Module> takeModule(const std::string &FileName) { in takeModule()
[all …]

12345678910>>...55