Home
last modified time | relevance | path

Searched refs:Module (Results 26 - 50 of 1012) sorted by relevance

12345678910>>...41

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp70 #include "llvm/IR/Module.h"
96 static void rewriteComdat(Module &M, GlobalObject *GO, in rewriteComdat()
113 ValueType *(Module::*Get)(StringRef) const>
123 bool performOnModule(Module &M) override;
133 ValueType *(Module::*Get)(StringRef) const>
134 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule()
153 ValueType *(Module::*Get)(StringRef) const,
155 (Module::*Iterator)()>
164 bool performOnModule(Module &M) override;
174 ValueType *(Module
[all...]
H A DCloneModule.cpp16 #include "llvm/IR/Module.h"
34 std::unique_ptr<Module> llvm::CloneModule(const Module &M) { in CloneModule()
41 std::unique_ptr<Module> llvm::CloneModule(const Module &M, in CloneModule()
46 std::unique_ptr<Module> llvm::CloneModule(
47 const Module &M, ValueToValueMapTy &VMap,
50 std::unique_ptr<Module> New =
51 std::make_unique<Module>(M.getModuleIdentifier(), M.getContext());
58 // new module. Here we add them to the VMap and to the new Module
[all...]
/third_party/python/Lib/unittest/test/
H A Dtest_setups.py238 Test1.__module__ = Test2.__module__ = 'Module'
240 sys.modules['Module'] = Module1
266 class Module(object): class
270 Module.moduleSetup += 1
277 Test.__module__ = 'Module'
278 sys.modules['Module'] = Module
281 self.assertEqual(Module.moduleSetup, 1)
286 class Module(object): class
291 Module
343 class Module(object): global() class
363 class Module(object): global() class
427 class Module(object): global() class
445 class Module(object): global() class
472 class Module(object): global() class
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
H A Dcodegen.hpp26 /// the given llvm::Module object and output the result as a clover::binary.
35 #include <llvm/IR/Module.h>
42 print_module_bitcode(const ::llvm::Module &mod);
45 build_module_library(const ::llvm::Module &mod,
48 std::unique_ptr< ::llvm::Module>
53 build_module_native(::llvm::Module &mod, const target &target,
58 print_module_native(const ::llvm::Module &mod, const target &target);
61 build_module_common(const ::llvm::Module &mod,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDebugInfo.h28 class Module;
38 bool StripDebugInfo(Module &M);
51 bool stripNonLineTableDebugInfo(Module &M);
54 unsigned getDebugMetadataVersionFromModule(const Module &M);
67 void processModule(const Module &M);
69 void processInstruction(const Module &M, const Instruction &I);
72 void processDeclare(const Module &M, const DbgDeclareInst *DDI);
74 void processValue(const Module &M, const DbgValueInst *DVI);
76 void processLocation(const Module &M, const DILocation *Loc);
82 void InitializeTypeMap(const Module
[all...]
H A DModule.h1 //===- llvm/Module.h - C++ class to represent a VM module -------*- C++ -*-===//
10 /// Module.h This file contains the declarations for the Module class.
55 /// A Module instance is used to store all the information related to an
66 class Module { class
188 std::string TargetTriple; ///< Platform target triple Module compiled on
199 /// The Module constructor. Note that there is no default constructor. You
201 explicit Module(StringRef ModuleID, LLVMContext& C);
203 ~Module();
206 /// @name Module Leve
[all...]
H A DModuleSlotTracker.h16 class Module;
35 const Module *M = nullptr;
41 ModuleSlotTracker(SlotTracker &Machine, const Module *M,
51 explicit ModuleSlotTracker(const Module *M,
60 const Module *getModule() const { return M; } in getModule()
/third_party/node/lib/internal/modules/
H A Dhelpers.js42 /** @typedef {import('internal/modules/cjs/loader.js').Module} Module */
106 /** @type {Module} */
107 let $Module = null;
109 * Import the Module class on first use.
112 $Module = $Module || require('internal/modules/cjs/loader').Module;
113 return $Module;
117 * Invoke with `makeRequireFunction(module)` where `module` is the `Module` objec
[all...]
/third_party/typescript/tests/baselines/reference/
H A DmoduleWithStatementsOfEveryKind.js12 module Module {
41 export module Module {
103 var Module; variable
104 (function (Module) {
110 })(Module || (Module = {}));
156 var Module; variable
157 (function (Module) {
163 })(Module = Y.Module || (
[all...]
H A DunionTypeWithRecursiveSubtypeReduction1.js2 class Module {
15 public parent: Module | Class;
23 var Module = /** @class */ (function () {
24 function Module() {
26 return Module;
H A DunionTypeWithRecursiveSubtypeReduction2.js2 class Module {
15 public parent: Module | Class;
25 var Module = /** @class */ (function () {
26 function Module() {
28 return Module;
/third_party/rust/crates/bindgen/bindgen/ir/
H A Ditem_kind.rs6 use super::module::Module;
16 Module(Module),
29 /// Get a reference to this `ItemKind`'s underying `Module`, or `None` if it
31 pub fn as_module(&self) -> Option<&Module> { in as_module()
33 ItemKind::Module(ref module) => Some(module), in as_module()
41 ItemKind::Module(..) => "Module", in kind_name()
53 /// Get a reference to this `ItemKind`'s underying `Module`, or panic if it
55 pub fn expect_module(&self) -> &Module { in expect_module()
[all...]
/third_party/skia/third_party/externals/tint/src/ast/
H A Dmodule.h29 /// Module holds the top-level AST types, functions and global variables used by
31 class Module : public Castable<Module, Node> { class
36 Module(ProgramID pid, const Source& src);
43 Module(ProgramID pid,
48 ~Module() override;
98 const Module* Clone(CloneContext* ctx) const override;
100 /// Copy copies the content of the Module src into this module.
103 void Copy(CloneContext* ctx, const Module* src);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/AsmParser/
H A DParser.h22 class Module;
30 /// Module (intermediate representation) with the corresponding features. Note
31 /// that this does not verify that the generated Module is valid, so you should
43 std::unique_ptr<Module>
50 /// Module (intermediate representation) with the corresponding features. Note
51 /// that this does not verify that the generated Module is valid, so you should
63 std::unique_ptr<Module> parseAssemblyString(StringRef AsmString,
70 /// Holds the Module and ModuleSummaryIndex returned by the interfaces
73 std::unique_ptr<Module> Mod;
79 /// a module summary. It returns a Module (intermediat
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h27 class Module;
40 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
50 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
63 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
78 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
93 void setProfMetadata(Module *M, Instruction *TI, ArrayRef<uint64_t> EdgeCounts,
96 void setIrrLoopHeaderMetadata(Module *M, Instruction *TI, uint64_t Count);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
H A DBitcodeWriter.h29 class Module;
46 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,
120 /// \p GenerateHash enables hashing the Module and including the hash in the
129 void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
142 void WriteThinLinkBitcodeToFile(const Module &M, raw_ostream &Out,
156 void EmbedBitcodeInModule(Module &M, MemoryBufferRef Buf, bool EmbedBitcode,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dmodule.cpp28 uint32_t Module::TakeNextIdBound() { in TakeNextIdBound()
40 std::vector<Instruction*> Module::GetTypes() { in GetTypes()
48 std::vector<const Instruction*> Module::GetTypes() const { in GetTypes()
56 std::vector<Instruction*> Module::GetConstants() { in GetConstants()
64 std::vector<const Instruction*> Module::GetConstants() const { in GetConstants()
72 uint32_t Module::GetGlobalValue(SpvOp opcode) const { in GetGlobalValue()
79 void Module::AddGlobalValue(SpvOp opcode, uint32_t result_id, in AddGlobalValue()
86 void Module::ForEachInst(const std::function<void(Instruction*)>& f, in ForEachInst()
108 void Module::ForEachInst(const std::function<void(const Instruction*)>& f, in ForEachInst()
136 void Module
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dmodule.cpp28 uint32_t Module::TakeNextIdBound() { in TakeNextIdBound()
40 std::vector<Instruction*> Module::GetTypes() { in GetTypes()
48 std::vector<const Instruction*> Module::GetTypes() const { in GetTypes()
56 std::vector<Instruction*> Module::GetConstants() { in GetConstants()
64 std::vector<const Instruction*> Module::GetConstants() const { in GetConstants()
72 uint32_t Module::GetGlobalValue(SpvOp opcode) const { in GetGlobalValue()
79 void Module::AddGlobalValue(SpvOp opcode, uint32_t result_id, in AddGlobalValue()
86 void Module::ForEachInst(const std::function<void(Instruction*)>& f, in ForEachInst()
108 void Module::ForEachInst(const std::function<void(const Instruction*)>& f, in ForEachInst()
136 void Module
[all...]
/third_party/spirv-tools/source/opt/
H A Dmodule.cpp28 uint32_t Module::TakeNextIdBound() { in TakeNextIdBound()
40 std::vector<Instruction*> Module::GetTypes() { in GetTypes()
48 std::vector<const Instruction*> Module::GetTypes() const { in GetTypes()
56 std::vector<Instruction*> Module::GetConstants() { in GetConstants()
64 std::vector<const Instruction*> Module::GetConstants() const { in GetConstants()
72 uint32_t Module::GetGlobalValue(spv::Op opcode) const { in GetGlobalValue()
79 void Module::AddGlobalValue(spv::Op opcode, uint32_t result_id, in AddGlobalValue()
86 void Module::ForEachInst(const std::function<void(Instruction*)>& f, in ForEachInst()
110 void Module::ForEachInst(const std::function<void(const Instruction*)>& f, in ForEachInst()
141 void Module
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp13 #include "llvm/IR/Module.h"
42 Expected<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext()
50 *OutModule = wrap((Module *)nullptr); in LLVMParseBitcodeInContext()
64 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMParseBitcodeInContext2()
67 *OutModule = wrap((Module *)nullptr); in LLVMParseBitcodeInContext2()
83 Expected<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext()
96 *OutM = wrap((Module *)nullptr); in LLVMGetBitcodeModuleInContext()
111 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = expectedToErrorOrAndEmitErrors( in LLVMGetBitcodeModuleInContext2()
116 *OutM = wrap((Module *)nullptr); in LLVMGetBitcodeModuleInContext2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DPassManager.cpp18 template class AllAnalysesOn<Module>;
20 template class PassManager<Module>;
22 template class AnalysisManager<Module>;
24 template class InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>;
29 Module &M, const PreservedAnalyses &PA, in invalidate()
44 if (!PAC.preserved() && !PAC.preservedSet<AllAnalysesOn<Module>>()) { in invalidate()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
H A DNaClReaderWriter.h28 class Module;
63 ErrorOr<Module *>
77 /// ErrorOr<Module *> API so that all methods have the same interface.
78 Module *getNaClStreamedBitcodeModule(
87 ErrorOr<Module *>
96 ErrorOr<Module *> parseNaClBitcodeText(const std::string &Filename,
111 void NaClWriteBitcodeToFile(const Module *M, raw_ostream &Out,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
H A DLinkModules.cpp1 //===- lib/Linker/LinkModules.cpp - Module Linker Implementation ----------===//
20 #include "llvm/IR/Module.h"
31 std::unique_ptr<Module> SrcM;
44 std::function<void(Module &, const StringSet<> &)> InternalizeCallback;
64 bool getComdatLeader(Module &M, StringRef ComdatName,
81 Module &DstM = Mover.getModule(); in getLinkedToGlobal()
109 ModuleLinker(IRMover &Mover, std::unique_ptr<Module> SrcM, unsigned Flags, in ModuleLinker()
110 std::function<void(Module &, const StringSet<> &)> in ModuleLinker()
130 bool ModuleLinker::getComdatLeader(Module &M, StringRef ComdatName, in getComdatLeader()
155 Module in computeResultingSelectionKind()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h26 #include "llvm/IR/Module.h"
134 SmallVector<std::unique_ptr<Module>, 1> Modules;
140 std::unique_ptr<Module> M, std::string *ErrorStr,
150 static ExecutionEngine *(*InterpCtor)(std::unique_ptr<Module> M,
172 /// Add a Module to the list of modules that we can JIT from.
173 virtual void addModule(std::unique_ptr<Module> M) { in addModule()
202 /// removeModule - Removes a Module from the list of modules, but does not
208 virtual bool removeModule(Module *M);
269 virtual void generateCodeForModule(Module *M) {} in generateCodeForModule()
290 void runStaticConstructorsDestructors(Module
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
H A DParser.cpp16 #include "llvm/IR/Module.h"
25 bool llvm::parseAssemblyInto(MemoryBufferRef F, Module *M, in parseAssemblyInto()
40 std::unique_ptr<Module>
44 std::unique_ptr<Module> M = in parseAssembly()
45 std::make_unique<Module>(F.getBufferIdentifier(), Context); in parseAssembly()
54 std::unique_ptr<Module>
73 std::unique_ptr<Module> M = in parseAssemblyWithIndex()
74 std::make_unique<Module>(F.getBufferIdentifier(), Context); in parseAssemblyWithIndex()
101 std::unique_ptr<Module>
148 const Module in parseConstantValue()
[all...]

Completed in 19 milliseconds

12345678910>>...41