Home
last modified time | relevance | path

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

12345678910>>...279

/external/deqp/external/openglcts/scripts/
Dbuild_caselists.py38 class Module: class
44 Module("dEQP-EGL", "EGL"),
45 Module("dEQP-GLES2", "GLES2"),
46 Module("dEQP-GLES3", "GLES3"),
47 Module("dEQP-GLES31", "GLES31"),
48 Module("dEQP-GL45-ES3", "GL45"),
49 Module("dEQP-GL45-ES31","GL45"),
50 Module("KHR-GLES3", "GLES3"),
51 Module("KHR-GLES2", "GLES2"),
52 Module("KHR-GLES31", "GLES31"),
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmodule.h45 class Module {
53 Module() : header_({}), contains_debug_info_(false) {} in Module() function
328 std::ostream& operator<<(std::ostream& str, const Module& module);
330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability()
334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension()
338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport()
342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel()
346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode()
350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint()
354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode()
[all …]
Dir_context.h102 module_(new Module()), in IRContext()
117 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext()
138 Module* module() const { return module_.get(); } in module()
146 inline Module::inst_iterator annotation_begin();
147 inline Module::inst_iterator annotation_end();
148 inline IteratorRange<Module::inst_iterator> annotations();
149 inline IteratorRange<Module::const_inst_iterator> annotations() const;
152 inline Module::inst_iterator capability_begin();
153 inline Module::inst_iterator capability_end();
154 inline IteratorRange<Module::inst_iterator> capabilities();
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Dmodule.h45 class Module {
53 Module() : header_({}), contains_debug_info_(false) {} in Module() function
328 std::ostream& operator<<(std::ostream& str, const Module& module);
330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability()
334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension()
338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport()
342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel()
346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode()
350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint()
354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dmodule.h45 class Module {
53 Module() : header_({}), contains_debug_info_(false) {} in Module() function
328 std::ostream& operator<<(std::ostream& str, const Module& module);
330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability()
334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension()
338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport()
342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel()
346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode()
350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint()
354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode()
[all …]
/external/google-breakpad/src/common/
Dmodule_unittest.cc52 using google_breakpad::Module;
58 static Module::Function* generate_duplicate_function(StringView name) { in generate_duplicate_function()
59 const Module::Address DUP_ADDRESS = 0xd35402aac7a7ad5cULL; in generate_duplicate_function()
60 const Module::Address DUP_SIZE = 0x200b26e605f99071ULL; in generate_duplicate_function()
61 const Module::Address DUP_PARAMETER_SIZE = 0xf14ac4fed48c4a99ULL; in generate_duplicate_function()
63 Module::Function* function = new Module::Function(name, DUP_ADDRESS); in generate_duplicate_function()
64 Module::Range range(DUP_ADDRESS, DUP_SIZE); in generate_duplicate_function()
76 TEST(Module, WriteHeader) { in TEST() argument
78 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); in TEST()
85 TEST(Module, WriteHeaderCodeId) { in TEST() argument
[all …]
Ddwarf_line_to_module_unittest.cc45 using google_breakpad::Module;
46 using google_breakpad::Module;
49 Module m("name", "os", "architecture", "id"); in TEST()
50 vector<Module::Line> lines; in TEST()
51 std::map<uint32_t, Module::File*> cu_files; in TEST()
58 vector<Module::File*> files; in TEST()
71 Module m("name", "os", "architecture", "id"); in TEST()
72 vector<Module::Line> lines; in TEST()
73 std::map<uint32_t, Module::File*> cu_files; in TEST()
94 vector<Module::File*> files; in TEST()
[all …]
Dstabs_to_module_unittest.cc42 using google_breakpad::Module;
47 Module m("name", "os", "arch", "id"); in TEST()
61 Module::File *file = m.FindExistingFile("source-file-name"); in TEST()
64 vector<Module::Function*> functions; in TEST()
67 Module::Function *function = functions[0]; in TEST()
73 Module::Line *line = &function->lines[0]; in TEST()
84 Module m("name", "os", "arch", "id"); in TEST()
94 vector<Module::Extern*> externs; in TEST()
97 Module::Extern *extern1 = externs[0]; in TEST()
99 EXPECT_EQ((Module::Address)0x1111, extern1->address); in TEST()
[all …]
/external/pytorch/torch/csrc/api/src/nn/
Dmodule.cpp37 Module::Module() in Module() function in torch::nn::Module
40 Module::Module(std::string name) : Module() { in Module() function in torch::nn::Module
44 const std::string& Module::name() const noexcept { in name()
69 std::shared_ptr<Module> Module::clone( in clone()
79 void Module::apply(const ModuleApplyFunction& function) { in apply()
82 [&function](const std::string&, const std::shared_ptr<Module>& module) { in apply()
87 void Module::apply(const ConstModuleApplyFunction& function) const { in apply()
90 [&function](const std::string&, const std::shared_ptr<Module>& module) { in apply()
95 void Module::apply( in apply()
101 const std::string& name, const std::shared_ptr<Module>& module) { in apply()
[all …]
/external/clang/include/clang/Lex/
DModuleMap.h87 Module *SourceModule;
90 llvm::StringMap<Module *> Modules;
116 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage;
120 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader()
130 Module *getModule() const { return Storage.getPointer(); } in getModule()
141 bool isAccessibleFrom(Module *M) const { in isAccessibleFrom()
169 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs;
210 llvm::DenseMap<const Module *, const FileEntry *> InferredModuleAllowedBy;
212 llvm::DenseMap<const Module *, AdditionalModMapsSet> AdditionalModMaps;
232 Module::ExportDecl
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
DModule.cpp72 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
78 Module::~Module() { in ~Module()
88 Module::createRNG(const StringRef Name) const { in createRNG()
110 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
114 unsigned Module::getNumNamedValues() const { in getNumNamedValues()
120 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
127 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
131 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
144 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
168 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp73 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
80 Module::~Module() { in ~Module()
92 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG()
113 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
119 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
126 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
130 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
143 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction()
167 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction()
174 Function *Module::getFunction(StringRef Name) const { in getFunction()
[all …]
/external/cronet/stable/base/profiler/
Dmodule_cache.h45 class BASE_EXPORT Module {
47 Module() = default;
48 virtual ~Module() = default;
50 Module(const Module&) = delete;
51 Module& operator=(const Module&) = delete;
84 virtual std::unique_ptr<const Module> TryCreateModuleForAddress(
97 const Module* GetModuleForAddress(uintptr_t address);
98 std::vector<const Module*> GetModules() const;
118 const std::vector<const Module*>& defunct_modules,
119 std::vector<std::unique_ptr<const Module>> new_modules);
[all …]
/external/cronet/tot/base/profiler/
Dmodule_cache.h45 class BASE_EXPORT Module {
47 Module() = default;
48 virtual ~Module() = default;
50 Module(const Module&) = delete;
51 Module& operator=(const Module&) = delete;
84 virtual std::unique_ptr<const Module> TryCreateModuleForAddress(
97 const Module* GetModuleForAddress(uintptr_t address);
98 std::vector<const Module*> GetModules() const;
118 const std::vector<const Module*>& defunct_modules,
119 std::vector<std::unique_ptr<const Module>> new_modules);
[all …]
/external/clang/test/Modules/
Drebuild.m3 // Build Module and set its timestamp
4 // RUN: echo '@import Module;' | %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%…
5 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
6 // RUN: cp %t/Module.pcm %t/Module.pcm.saved
7 // RUN: wc -c %t/Module.pcm > %t/Module.size.saved
11 // RUN: diff %t/Module.pcm %t/Module.pcm.saved
14 // Rebuild Module, reset its timestamp, and verify its size hasn't changed
15 // RUN: rm %t/Module.pcm
16 // RUN: echo '@import Module;' | %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%…
17 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
[all …]
/external/bcc/src/lua/
Dsquishy1 Module "bcc.vendor.argparse" "bcc/vendor/argparse.lua"
2 Module "bcc.vendor.posix" "bcc/vendor/posix.lua"
3 Module "bcc.vendor.middleclass" "bcc/vendor/middleclass.lua"
4 Module "bcc.vendor.json" "bcc/vendor/json.lua"
5 Module "bcc.vendor.helpers" "bcc/vendor/helpers.lua"
7 Module "bcc.init" "bcc/init.lua"
8 Module "bcc.run" "bcc/run.lua"
9 Module "bcc.bpf" "bcc/bpf.lua"
10 Module "bcc.sym" "bcc/sym.lua"
11 Module "bcc.libbcc" "bcc/libbcc.lua"
[all …]
/external/pytorch/torch/distributed/fsdp/
Dwrap.py44 root_module: nn.Module, argument
45 fn: Callable[[nn.Module], Optional[nn.Module]], argument
55 visited_modules: Set[nn.Module] = {root_module}
58 module: nn.Module, argument
60 parent_module: Optional[nn.Module], argument
68 assert isinstance(parent_module, nn.Module), (
77 optional_module, nn.Module
85 root_module: nn.Module, argument
86 target_module_to_kwargs: Dict[nn.Module, Dict[str, Any]], argument
88 ) -> Callable[[nn.Module], Optional[nn.Module]]:
[all …]
/external/llvm/lib/IR/
DModule.cpp51 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module
58 Module::~Module() { in ~Module()
70 RandomNumberGenerator *Module::createRNG(const Pass* P) const { in createRNG()
91 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue()
97 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID()
104 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames()
108 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags()
121 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
144 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
154 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction()
[all …]
/external/llvm/tools/bugpoint/
DBugDriver.h29 class Module; variable
51 Module *Program; // The raw program, linked together
133 Module *getProgram() const { return Program; } in getProgram()
137 Module *swapProgramIn(Module *M) { in swapProgramIn()
138 Module *OldProgram = Program; in swapProgramIn()
156 void setNewProgram(Module *M);
162 void compileProgram(Module *M, std::string *Error) const;
167 std::string executeProgram(const Module *Program,
179 std::string executeProgramSafely(const Module *Program,
188 bool createReferenceFile(Module *M, const std::string &Filename
[all …]
/external/pytorch/torch/csrc/api/include/torch/nn/
Dmodule.h64 class TORCH_API Module : public std::enable_shared_from_this<Module> {
66 using ModuleApplyFunction = std::function<void(Module&)>;
67 using ConstModuleApplyFunction = std::function<void(const Module&)>;
69 std::function<void(const std::string&, Module&)>;
71 std::function<void(const std::string&, const Module&)>;
73 std::function<void(const std::shared_ptr<Module>&)>;
75 std::function<void(const std::string&, const std::shared_ptr<Module>&)>;
78 explicit Module(std::string name);
83 Module();
84 Module(const Module&) = default;
[all …]
/external/skia/experimental/tskit/build/
Dexterns.js3 Module.sayHello = function() {};
4 Module.publicFunction = function() {};
5 Module.publicExtension = function() {};
6 Module.withObject = function() {};
7 Module._privateFunction = function() {};
8 Module._privateExtension = function() {};
9 Module._withObject = function() {};
11 Module.Something = {
19 Module.CompoundObj = {
26 Module.onRuntimeInitialized = function() {};
[all …]
/external/clang/include/clang/Basic/
DModule.h47 class Module {
57 Module *Parent;
75 std::vector<Module *> SubModules;
92 mutable llvm::DenseSet<const Module*> VisibleModulesCache;
221 llvm::SmallSetVector<Module *, 2> Imports;
227 typedef llvm::PointerIntPair<Module *, 1, bool> ExportDecl;
251 SmallVector<Module *, 2> DirectUses;
297 Module *Other;
307 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
310 ~Module();
[all …]
/external/pytorch/torch/csrc/jit/api/
Dmodule.cpp125 Module::Module(c10::QualifiedName class_name) in Module() function in torch::jit::Module
130 Module::Module( in Module() function in torch::jit::Module
137 Module::Module( in Module() function in torch::jit::Module
156 void Module::to(at::Device device, at::ScalarType dtype, bool non_blocking) { in to()
160 void Module::to(at::ScalarType dtype, bool non_blocking) { in to()
164 void Module::to(at::Device device, bool non_blocking) { in to()
182 void Module::to_impl( in to_impl()
197 Module Method::owner() const { in owner()
198 return Module(owner_); in owner()
240 IValue Module::operator()(std::vector<IValue> inputs) { in operator ()()
[all …]
/external/skia/src/sksl/
DSkSLModuleLoader.h17 struct Module;
42 const Module* rootModule();
46 const Module* loadSharedModule(SkSL::Compiler* compiler);
47 const Module* loadGPUModule(SkSL::Compiler* compiler);
48 const Module* loadVertexModule(SkSL::Compiler* compiler);
49 const Module* loadFragmentModule(SkSL::Compiler* compiler);
50 const Module* loadComputeModule(SkSL::Compiler* compiler);
51 const Module* loadGraphiteVertexModule(SkSL::Compiler* compiler);
52 const Module* loadGraphiteFragmentModule(SkSL::Compiler* compiler);
53 const Module* loadGraphiteVertexES2Module(SkSL::Compiler* compiler);
[all …]
/external/clang/lib/Basic/
DModule.cpp27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
51 Module::~Module() { in ~Module()
80 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
86 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
103 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
104 const Module *This = this; in isSubModuleOf()
115 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
116 const Module *Result = this; in getTopLevelModule()
123 std::string Module::getFullModuleName() const { in getFullModuleName()
127 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
[all …]

12345678910>>...279