Home
last modified time | relevance | path

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

12345678910>>...51

/freebsd-src/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h19 #include "clang/Basic/Module.h"
94 Module *SourceModule = nullptr;
98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules;
101 llvm::StringMap<Module *> Modules;
103 /// Module loading cache that includes submodules, indexed by IdentifierInfo.
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
[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-src/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp1 //===- Module.cpp - Implement the Module class ----------------------------===//
9 // This file implements the Module class for the IR library.
13 #include "llvm/IR/Module.h"
71 // Primitive Module methods.
74 Module::Module(StringRef MID, LLVMContext &C) in Module()
81 Module::~Module() { in ~Module()
90 void Module in createRNG()
72 Module::Module(StringRef MID, LLVMContext &C) Module() function in Module
[all...]
/freebsd-src/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.h28 class Module; variable
48 std::unique_ptr<Module> Program; // The raw program, linked together
117 Module &getProgram() const { return *Program; } in getProgram()
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 &M, const std::string &Filename =
164 Expected<bool> diffProgram(const Module &Program,
[all …]
H A DMiscompilation.cpp21 #include "llvm/IR/Module.h"
137 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 in testMergedProgram()
307 ExtractLoops(BugDriver & BD,Expected<bool> (* TestFn)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),std::vector<Function * > & MiscompiledFunctions) ExtractLoops() argument
308 ExtractLoops(BugDriver & BD,Expected<bool> (* TestFn)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),std::vector<Function * > & MiscompiledFunctions) ExtractLoops() argument
455 ReduceMiscompiledBlocks(BugDriver & bd,Expected<bool> (* F)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),const std::vector<Function * > & Fns) ReduceMiscompiledBlocks() argument
456 ReduceMiscompiledBlocks(BugDriver & bd,Expected<bool> (* F)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),const std::vector<Function * > & Fns) ReduceMiscompiledBlocks() argument
539 ExtractBlocks(BugDriver & BD,Expected<bool> (* TestFn)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),std::vector<Function * > & MiscompiledFunctions) ExtractBlocks() argument
540 ExtractBlocks(BugDriver & BD,Expected<bool> (* TestFn)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>),std::vector<Function * > & MiscompiledFunctions) ExtractBlocks() argument
617 DebugAMiscompilation(BugDriver & BD,Expected<bool> (* TestFn)(BugDriver &,std::unique_ptr<Module>,std::unique_ptr<Module>)) DebugAMiscompilation() argument
[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-src/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h1 //===- Module.h - Describe a module -----------------------------*- C++ -*-===//
10 /// Defines the clang::Module class, which describes a module in the
104 /// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>.
105 class alignas(8) Module {
136 /// This is the explicit Global Module Fragment of a modular TU.
154 Module *Parent;
184 /// Does this Module is a named module of a standard named module?
198 /// Does this Module scope describe a fragment of the global module within
216 std::vector<Module *> SubModules;
233 mutable llvm::DenseSet<const Module*> VisibleModulesCach
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp1 //===- Module.cpp - Describe a module -------------------------------------===//
9 // This file defines the Module class, which describes a module in the source
14 #include "clang/Basic/Module.h"
37 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 * in isUnimportable()
[all...]
/freebsd-src/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 &M, ArrayRef<GlobalValue *> Values);
[all …]
/freebsd-src/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 ActOnGlobalModuleFragmentDecl()
86 Module *CurrentModule, in ActOnGlobalModuleFragmentDecl()
87 Module *&FoundPrimaryModuleInterface) { in ActOnGlobalModuleFragmentDecl()
131 Module *Imported, Module *CurrentModule, in HandleStartOfHeaderUnit()
138 llvm::SmallVector<Module *, 4> Worklist;
141 Module *FoundPrimaryModuleInterface = in DiagReservedModuleName()
145 Module *Importing = Worklist.pop_back_val(); in DiagReservedModuleName()
156 for (Module *TransImporte in DiagReservedModuleName()
[all...]
/freebsd-src/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c3 * Module Name: uttrack - Memory allocation tracking routines (debug only)
184 const char *Module,
191 const char *Module,
238 * Module - Source file name of caller
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()
307 * Module - Source file name of caller
320 const char *Module, in AcpiUtAllocateZeroedAndTrack() argument
389 AcpiUtFreeAndTrack(void * Allocation,UINT32 Component,const char * Module,UINT32 Line) AcpiUtFreeAndTrack() argument
517 AcpiUtTrackAllocation(ACPI_DEBUG_MEM_BLOCK * Allocation,ACPI_SIZE Size,UINT8 AllocType,UINT32 Component,const char * Module,UINT32 Line) AcpiUtTrackAllocation() argument
618 AcpiUtRemoveAllocation(ACPI_DEBUG_MEM_BLOCK * Allocation,UINT32 Component,const char * Module,UINT32 Line) AcpiUtRemoveAllocation() argument
754 AcpiUtDumpAllocations(UINT32 Component,const char * Module) AcpiUtDumpAllocations() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h13 #include "clang/Basic/Module.h"
43 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 *>
[all...]
/freebsd-src/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-src/contrib/llvm-project/lldb/source/Core/
H A DModule.cpp1 //===-- Module.cpp --------------------------------------------------------===//
9 #include "lldb/Core/Module.h"
90 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
144 LLDB_LOGF(log, "%p Module in Module()
235 Module::Module(const FileSpec &file_spec, const ArchSpec &arch, Module() function in Module
257 Module::Module() : m_file_has_changed(false), m_first_file_changed_log(false) { Module() function in Module
[all...]
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp20 #include "clang/Basic/Module.h"
58 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
[all...]
/freebsd-src/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-src/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-src/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, ModuleSummaryInde
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h27 class Module;
38 /// Module (intermediate representation) with the corresponding features. Note
39 /// that this does not verify that the generated Module is valid, so you should
47 std::unique_ptr<Module> parseAssemblyFile(StringRef Filename, SMDiagnostic &Err,
53 /// Module (intermediate representation) with the corresponding features. Note
54 /// that this does not verify that the generated Module is valid, so you should
62 std::unique_ptr<Module> parseAssemblyString(StringRef AsmString,
67 /// Holds the Module and ModuleSummaryIndex returned by the interfaces
70 std::unique_ptr<Module> Mod;
76 /// a module summary. It returns a Module (intermediat
26 class Module; global() variable
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp69 #include "llvm/IR/Module.h"
93 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
[all...]
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp22 #include "llvm/IR/Module.h"
70 SummaryIndex("summary-index", cl::desc("Module summary index filename"),
149 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()
252 /// Helper to load on demand a Module from file and cache it for subsequent
256 StringMap<std::unique_ptr<Module>> ModuleMa in ModuleLazyLoaderCache()
273 auto &Module = ModuleMap[Identifier]; operator ()() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp365 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) in associateWithContextHash()
468 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in EndOfMainFile()
480 const Module *Imported) { in EndOfMainFile()
492 void ModuleDepCollectorPP::handleImport(const Module *Imported) { in handleTopLevelModule()
496 const Module *TopLevelModule = Imported->getTopLevelModule(); in handleTopLevelModule()
529 for (const Module *M : in handleTopLevelModule()
534 for (const Module *M : MDC.DirectModularDeps) in handleTopLevelModule()
546 for (const Module *M : MDC.DirectModularDeps) { in handleTopLevelModule()
561 ModuleDepCollectorPP::handleTopLevelModule(const Module *M) { in handleTopLevelModule()
615 llvm::DenseSet<const Module *> SeenDep in addAllSubmoduleDeps()
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeWriter.h29 class Module; variable
45 std::vector<Module *> Mods;
80 /// \p GenerateHash enables hashing the Module and including the hash in the
89 void writeModule(const Module &M, bool ShouldPreserveUseListOrder = false,
100 void writeThinLinkBitcode(const Module &M, const ModuleSummaryIndex &Index,
121 /// \p GenerateHash enables hashing the Module and including the hash in the
130 void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
143 void writeThinLinkBitcodeToFile(const Module &M, raw_ostream &Out,
167 void embedBitcodeInModule(Module &M, MemoryBufferRef Buf, bool EmbedBitcode,

12345678910>>...51