Home
last modified time | relevance | path

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

12345678910>>...51

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h94 Module *SourceModule = nullptr;
98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules;
101 llvm::StringMap<Module *> Modules;
105 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads;
108 llvm::SmallVector<Module*, 2> ShadowModules;
120 void resolveLinkAsDependencies(Module *Mod);
124 void addLinkAsDependency(Module *Mod);
149 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind);
152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role);
160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage;
[all …]
H A DModuleLoader.h49 llvm::PointerIntPair<Module *, 2, LoadResultKind> Storage;
52 ModuleLoadResult(Module *M) : Storage(M, Normal) {} in ModuleLoadResult()
54 ModuleLoadResult(Module *M, LoadResultKind Kind) : Storage(M, Kind) {} in ModuleLoadResult()
60 operator Module *() const { return Storage.getPointer(); }
124 Module::NameVisibilityKind Visibility,
138 virtual void makeModuleVisible(Module *Mod,
139 Module::NameVisibilityKind Visibility,
169 Module::NameVisibilityKind Visibility, in loadModule()
177 void makeModuleVisible(Module *Mod, Module::NameVisibilityKind Visibility, in makeModuleVisible()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp74 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
81 Module::~Module() { in ~Module()
90 void Module::removeDebugIntrinsicDeclarations() { in removeDebugIntrinsicDeclarations()
113 Module::createRNG(const StringRef Name) const { in createRNG()
135 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
139 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
145 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
152 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
156 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
169 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
[all …]
H A DPassManager.cpp19 template class AllAnalysesOn<Module>;
21 template class PassManager<Module>;
23 template class AnalysisManager<Module>;
25 template class InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>;
30 Module &M, const PreservedAnalyses &PA, in invalidate()
45 if (!PAC.preserved() && !PAC.preservedSet<AllAnalysesOn<Module>>()) { in invalidate()
104 PreservedAnalyses ModuleToFunctionPassAdaptor::run(Module &M, in run()
149 void llvm::printIRUnitNameForStackTrace<Module>(raw_ostream &OS, in printIRUnitNameForStackTrace()
150 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.cpp37 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
61 Module::~Module() { in ~Module()
131 bool Module::isUnimportable(const LangOptions &LangOpts, in isUnimportable()
133 Module *&ShadowingModule) const { in isUnimportable()
137 for (const Module *Current = this; Current; Current = Current->Parent) { in isUnimportable()
160 bool Module::isForBuilding(const LangOptions &LangOpts) const { in isForBuilding()
176 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
179 Module *&ShadowingModule) const { in isAvailable()
188 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
198 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h105 class alignas(8) Module {
154 Module *Parent;
216 std::vector<Module *> SubModules;
233 mutable llvm::DenseSet<const Module*> VisibleModulesCache;
299 Module *ShadowingModule = nullptr;
402 llvm::SmallSetVector<Module *, 2> Imports;
406 llvm::SmallSetVector<Module *, 2> AffectingClangModules;
412 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>;
436 SmallVector<Module *, 2> DirectUses;
443 llvm::SmallSetVector<const Module *, 2> UndeclaredUses;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h27 class Module; variable
40 void appendToGlobalCtors(Module &M, Function *F, int Priority,
44 void appendToGlobalDtors(Module &M, Function *F, int Priority,
49 void setKCFIType(Module &M, Function &F, StringRef MangledType);
51 FunctionCallee declareSanitizerInitFunction(Module &M, StringRef InitName,
57 Function *createSanitizerCtor(Module &M, StringRef CtorName);
64 Module &M, StringRef CtorName, StringRef InitName,
76 Module &M, StringRef CtorName, StringRef InitName,
83 bool nameUnamedGlobals(Module &M);
86 void appendToUsed(Module
[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()
141 Module *FoundPrimaryModuleInterface = in makeTransitiveImportsVisible()
145 Module *Importing = Worklist.pop_back_val(); in makeTransitiveImportsVisible()
156 for (Module *TransImported : Importing->Imports) in makeTransitiveImportsVisible()
165 Module *GlobalModule = in ActOnGlobalModuleFragmentDecl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h43 explicit PrebuiltModuleDep(const Module *M) in PrebuiltModuleDep()
144 llvm::SmallVector<Module::LinkLibrary, 2> LinkLibraries;
176 StringRef RelativePath, const Module *SuggestedModule,
180 const Module *Imported) override;
188 void handleImport(const Module *Imported);
193 addAllSubmodulePrebuiltDeps(const Module *M, ModuleDeps &MD,
194 llvm::DenseSet<const Module *> &SeenSubmodules);
195 void addModulePrebuiltDeps(const Module *M, ModuleDeps &MD,
196 llvm::DenseSet<const Module *> &SeenSubmodules);
202 std::optional<ModuleID> handleTopLevelModule(const Module *M);
[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/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
235 Module::Module(const FileSpec &file_spec, const ArchSpec &arch, in Module() function in Module
257 Module::Module() : m_file_has_changed(false), m_first_file_changed_log(false) { in Module() function in Module
263 Module::~Module() { in ~Module()
293 ObjectFile *Module::GetMemoryObjectFile(const lldb::ProcessSP &process_sp, in GetMemoryObjectFile()
340 const lldb_private::UUID &Module::GetUUID() { in GetUUID()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp58 void ModuleMap::resolveLinkAsDependencies(Module *Mod) { in resolveLinkAsDependencies()
69 void ModuleMap::addLinkAsDependency(Module *Mod) { in addLinkAsDependency()
76 Module::HeaderKind ModuleMap::headerRoleToKind(ModuleHeaderRole Role) { in headerRoleToKind()
79 return Module::HK_Normal; in headerRoleToKind()
81 return Module::HK_Private; in headerRoleToKind()
83 return Module::HK_Textual; in headerRoleToKind()
85 return Module::HK_PrivateTextual; in headerRoleToKind()
87 return Module::HK_Excluded; in headerRoleToKind()
93 ModuleMap::headerKindToRole(Module::HeaderKind Kind) { in headerKindToRole()
95 case Module::HK_Normal: in headerKindToRole()
[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/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/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/Target/DirectX/
H A DDXContainerGlobals.cpp35 GlobalVariable *buildContainerGlobal(Module &M, Constant *Content,
37 GlobalVariable *getFeatureFlags(Module &M);
38 GlobalVariable *computeShaderHash(Module &M);
39 GlobalVariable *buildSignature(Module &M, Signature &Sig, StringRef Name,
41 void addSignature(Module &M, SmallVector<GlobalValue *> &Globals);
42 void addPipelineStateValidationInfo(Module &M,
55 bool runOnModule(Module &M) override;
65 bool DXContainerGlobals::runOnModule(Module &M) { in runOnModule()
75 GlobalVariable *DXContainerGlobals::getFeatureFlags(Module &M) { in getFeatureFlags()
86 GlobalVariable *DXContainerGlobals::computeShaderHash(Module &M) { in computeShaderHash()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DLinker.h16 class Module; variable
32 Linker(Module &M);
44 bool linkInModule(std::unique_ptr<Module> Src, unsigned Flags = Flags::None,
45 std::function<void(Module &, const StringSet<> &)>
48 static bool linkModules(Module &Dest, std::unique_ptr<Module> Src,
50 std::function<void(Module &, const StringSet<> &)>
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h256 void promote(Module &Module, ModuleSummaryIndex &Index,
262 void emitImports(Module &Module, StringRef OutputName,
270 void crossModuleImport(Module &Module, ModuleSummaryIndex &Index,
278 Module &Module, ModuleSummaryIndex &Index,
285 void internalize(Module &Module, ModuleSummaryIndex &Index,
291 void optimize(Module &Module);
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h27 class Module; variable
47 std::unique_ptr<Module> parseAssemblyFile(StringRef Filename, SMDiagnostic &Err,
62 std::unique_ptr<Module> parseAssemblyString(StringRef AsmString,
70 std::unique_ptr<Module> Mod;
128 std::unique_ptr<Module> parseAssembly(
171 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
185 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
193 Type *parseType(StringRef Asm, SMDiagnostic &Err, const Module &M,
204 const Module &M, const SlotMapping *Slots = nullptr);
208 const Module &M,
/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/include/llvm/IR/
H A DModuleSlotTracker.h19 class Module; variable
50 const Module *M = nullptr;
54 std::function<void(AbstractSlotTrackerStorage *, const Module *, bool)>
61 ModuleSlotTracker(SlotTracker &Machine, const Module *M,
71 explicit ModuleSlotTracker(const Module *M,
80 const Module *getModule() const { return M; } in getModule()
97 std::function<void(AbstractSlotTrackerStorage *, const Module *, bool)>);
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp149 static std::unique_ptr<Module> loadFile(const char *argv0, in loadFile()
156 std::unique_ptr<Module> Result; in loadFile()
176 static std::unique_ptr<Module> loadArFile(const char *Argv0, in loadArFile()
179 std::unique_ptr<Module> Result(new Module("ArchiveModule", Context)); in loadArFile()
227 std::unique_ptr<Module> M; in loadArFile()
256 StringMap<std::unique_ptr<Module>> ModuleMap;
259 std::function<std::unique_ptr<Module>(const char *argv0,
265 ModuleLazyLoaderCache(std::function<std::unique_ptr<Module>( in ModuleLazyLoaderCache()
271 Module &operator()(const char *argv0, const std::string &FileName);
273 std::unique_ptr<Module> takeModule(const std::string &FileName) { in takeModule()
[all …]

12345678910>>...51