Home
last modified time | relevance | path

Searched refs:get_module (Results 1 – 25 of 145) sorted by relevance

123456

/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py70 def get_module(self, name): member in saved_test_environment
77 return self.get_module(name)
92 urllib_request = self.get_module('urllib.request')
99 asyncio = self.get_module('asyncio')
161 warnings = self.get_module('warnings')
182 shutil = self.get_module('shutil')
191 shutil = self.get_module('shutil')
235 multiprocessing_process = self.get_module('multiprocessing.process')
246 sysconfig = self.get_module('sysconfig')
256 sysconfig = self.get_module('sysconfig')
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp128 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants()
129 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants()
159 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId()
162 auto constantIter = --get_module()->types_values_end(); in GetConstantId()
177 for (auto& func : *get_module()) { in ScanFunctions()
Dmodify_maximal_reconvergence.cpp47 for (auto mode : get_module()->execution_modes()) { in AddMaximalReconvergence()
54 for (auto entry_point : get_module()->entry_points()) { in AddMaximalReconvergence()
83 Instruction* mode = &*get_module()->execution_mode_begin(); in RemoveMaximalReconvergence()
Dopextinst_forward_ref_fixup_pass.cpp74 gatherResultIds(get_module()->ext_inst_imports()); in Process()
76 gatherResultIds(get_module()->ext_inst_debuginfo()); in Process()
82 for (Instruction& inst : get_module()->ext_inst_debuginfo()) { in Process()
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Daggressive_dead_code_elim_pass.cpp156 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
598 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions()
602 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions()
623 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions()
659 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
675 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
763 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions()
764 funcIter != get_module()->end();) { in EliminateDeadFunctions()
782 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues()
801 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues()
[all …]
Dfix_func_call_arguments.cpp23 auto funcsNum = get_module()->end() - get_module()->begin(); in ModuleHasASingleFunction()
30 for (auto& func : *get_module()) { in Process()
Dupgrade_memory_model.cpp36 Instruction* memory_model = get_module()->GetMemoryModel(); in Process()
58 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction()
83 for (auto& func : *get_module()) { in UpgradeInstructions()
94 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions()
127 for (auto& func : *get_module()) { in UpgradeMemoryAndImages()
174 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
208 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
257 for (auto& func : *get_module()) { in UpgradeAtomics()
590 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations()
658 for (auto& e : get_module()->entry_points()) in UpgradeBarriers()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp128 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants()
129 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants()
159 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId()
162 auto constantIter = --get_module()->types_values_end(); in GetConstantId()
177 for (auto& func : *get_module()) { in ScanFunctions()
Dmodify_maximal_reconvergence.cpp47 for (auto mode : get_module()->execution_modes()) { in AddMaximalReconvergence()
54 for (auto entry_point : get_module()->entry_points()) { in AddMaximalReconvergence()
83 Instruction* mode = &*get_module()->execution_mode_begin(); in RemoveMaximalReconvergence()
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Daggressive_dead_code_elim_pass.cpp147 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
570 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions()
574 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions()
595 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions()
631 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
647 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
735 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions()
736 funcIter != get_module()->end();) { in EliminateDeadFunctions()
754 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues()
773 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues()
[all …]
Dfix_func_call_arguments.cpp23 auto funcsNum = get_module()->end() - get_module()->begin(); in ModuleHasASingleFunction()
30 for (auto& func : *get_module()) { in Process()
Dupgrade_memory_model.cpp36 Instruction* memory_model = get_module()->GetMemoryModel(); in Process()
58 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction()
83 for (auto& func : *get_module()) { in UpgradeInstructions()
94 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions()
127 for (auto& func : *get_module()) { in UpgradeMemoryAndImages()
174 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
208 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
257 for (auto& func : *get_module()) { in UpgradeAtomics()
590 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations()
658 for (auto& e : get_module()->entry_points()) in UpgradeBarriers()
[all …]
Dstrip_debug_info_pass.cpp102 if (!get_module()->trailing_dbg_line_info().empty()) { in Process()
104 get_module()->trailing_dbg_line_info().clear(); in Process()
/external/angle/third_party/spirv-tools/src/source/opt/
Dstrength_reduction_pass.cpp128 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants()
129 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants()
159 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId()
162 auto constantIter = --get_module()->types_values_end(); in GetConstantId()
177 for (auto& func : *get_module()) { in ScanFunctions()
Dmodify_maximal_reconvergence.cpp47 for (auto mode : get_module()->execution_modes()) { in AddMaximalReconvergence()
54 for (auto entry_point : get_module()->entry_points()) { in AddMaximalReconvergence()
83 Instruction* mode = &*get_module()->execution_mode_begin(); in RemoveMaximalReconvergence()
Dopextinst_forward_ref_fixup_pass.cpp74 gatherResultIds(get_module()->ext_inst_imports()); in Process()
76 gatherResultIds(get_module()->ext_inst_debuginfo()); in Process()
82 for (Instruction& inst : get_module()->ext_inst_debuginfo()) { in Process()
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Dfix_func_call_arguments.cpp23 auto funcsNum = get_module()->end() - get_module()->begin(); in ModuleHasASingleFunction()
30 for (auto& func : *get_module()) { in Process()
Daggressive_dead_code_elim_pass.cpp156 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
598 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions()
602 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions()
623 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions()
659 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
675 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions()
764 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions()
765 funcIter != get_module()->end();) { in EliminateDeadFunctions()
783 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues()
802 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues()
[all …]
Dupgrade_memory_model.cpp36 Instruction* memory_model = get_module()->GetMemoryModel(); in Process()
58 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction()
83 for (auto& func : *get_module()) { in UpgradeInstructions()
94 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions()
127 for (auto& func : *get_module()) { in UpgradeMemoryAndImages()
174 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
208 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages()
257 for (auto& func : *get_module()) { in UpgradeAtomics()
590 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations()
658 for (auto& e : get_module()->entry_points()) in UpgradeBarriers()
[all …]
Dstrip_debug_info_pass.cpp102 if (!get_module()->trailing_dbg_line_info().empty()) { in Process()
104 get_module()->trailing_dbg_line_info().clear(); in Process()
/external/llvm/test/Bindings/OCaml/
Dbitreader.ml50 (* get_module *)
54 Llvm_bitreader.get_module context mb
69 (* test get_module exceptions *)
74 Llvm_bitreader.get_module context mb
/external/pytorch/test/quantization/eager/
Dtest_bias_correction_eager.py16 get_module,
55 parent = get_module(artificial_model, parent_name)
60 submodule = get_module(float_model, name)

123456