/third_party/python/Lib/test/libregrtest/ |
D | save_env.py | 68 def get_module(self, name): member in saved_test_environment 75 return self.get_module(name) 90 urllib_request = self.get_module('urllib.request') 97 asyncio = self.get_module('asyncio') 159 warnings = self.get_module('warnings') 180 shutil = self.get_module('shutil') 189 shutil = self.get_module('shutil') 233 multiprocessing_process = self.get_module('multiprocessing.process') 244 sysconfig = self.get_module('sysconfig') 254 sysconfig = self.get_module('sysconfig') [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | strength_reduction_pass.cpp | 133 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants() 134 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants() 165 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId() 168 auto constantIter = --get_module()->types_values_end(); in GetConstantId() 183 for (auto& func : *get_module()) { in ScanFunctions()
|
D | aggressive_dead_code_elim_pass.cpp | 148 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 567 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions() 571 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions() 590 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions() 621 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions() 709 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions() 710 funcIter != get_module()->end();) { in EliminateDeadFunctions() 728 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues() 747 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues() 847 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in ProcessGlobalValues() [all …]
|
D | eliminate_dead_functions_pass.cpp | 36 for (auto funcIter = get_module()->begin(); in Process() 37 funcIter != get_module()->end();) { in Process()
|
D | upgrade_memory_model.cpp | 35 Instruction* memory_model = get_module()->GetMemoryModel(); in Process() 55 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction() 81 for (auto& func : *get_module()) { in UpgradeInstructions() 93 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions() 125 for (auto& func : *get_module()) { in UpgradeMemoryAndImages() 172 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 206 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 255 for (auto& func : *get_module()) { in UpgradeAtomics() 587 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations() 650 for (auto& e : get_module()->entry_points()) in UpgradeBarriers() [all …]
|
D | instrument_pass.cpp | 533 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetOutputBufferId() 535 for (auto& entry : get_module()->entry_points()) { in GetOutputBufferId() 577 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetInputBufferId() 579 for (auto& entry : get_module()->entry_points()) { in GetInputBufferId() 695 new Instruction(get_module()->context(), SpvOpFunction, GetVoidId(), in GetStreamWriteFunctionId() 710 new Instruction(get_module()->context(), SpvOpFunctionParameter, in GetStreamWriteFunctionId() 782 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetStreamWriteFunctionId() 803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId() 817 get_module()->context(), SpvOpFunctionParameter, GetUintId(), pid, {})); in GetDirectReadFunctionId() 862 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetDirectReadFunctionId() [all …]
|
D | strip_debug_info_pass.cpp | 100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process() 102 get_module()->trailing_dbg_line_info().clear(); in Process()
|
D | remove_unused_interface_variables_pass.cpp | 37 (parent_.get_module()->version() >= in processFunction() 82 for (auto& entry : get_module()->entry_points()) { in Process()
|
D | local_access_chain_convert_pass.cpp | 330 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 356 for (const Instruction& inst : get_module()->types_values()) in ProcessImpl() 363 for (auto& ai : get_module()->annotations()) in ProcessImpl() 370 for (Function& func : *get_module()) { in ProcessImpl()
|
/third_party/spirv-tools/source/opt/ |
D | strength_reduction_pass.cpp | 133 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants() 134 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants() 165 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId() 168 auto constantIter = --get_module()->types_values_end(); in GetConstantId() 183 for (auto& func : *get_module()) { in ScanFunctions()
|
D | aggressive_dead_code_elim_pass.cpp | 142 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 415 for (auto& ei : get_module()->entry_points()) { in AggressiveDCE() 601 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions() 605 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions() 606 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in InitializeModuleScopeLiveInstructions() 627 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions() 654 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions() 738 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions() 739 funcIter != get_module()->end();) { in EliminateDeadFunctions() 757 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues() [all …]
|
D | eliminate_dead_functions_pass.cpp | 36 for (auto funcIter = get_module()->begin(); in Process() 37 funcIter != get_module()->end();) { in Process()
|
D | upgrade_memory_model.cpp | 35 Instruction* memory_model = get_module()->GetMemoryModel(); in Process() 55 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction() 81 for (auto& func : *get_module()) { in UpgradeInstructions() 93 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions() 125 for (auto& func : *get_module()) { in UpgradeMemoryAndImages() 172 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 206 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 255 for (auto& func : *get_module()) { in UpgradeAtomics() 587 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations() 650 for (auto& e : get_module()->entry_points()) in UpgradeBarriers() [all …]
|
D | instrument_pass.cpp | 533 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetOutputBufferId() 535 for (auto& entry : get_module()->entry_points()) { in GetOutputBufferId() 577 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetInputBufferId() 579 for (auto& entry : get_module()->entry_points()) { in GetInputBufferId() 695 new Instruction(get_module()->context(), SpvOpFunction, GetVoidId(), in GetStreamWriteFunctionId() 710 new Instruction(get_module()->context(), SpvOpFunctionParameter, in GetStreamWriteFunctionId() 782 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetStreamWriteFunctionId() 803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId() 817 get_module()->context(), SpvOpFunctionParameter, GetUintId(), pid, {})); in GetDirectReadFunctionId() 862 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetDirectReadFunctionId() [all …]
|
D | strip_debug_info_pass.cpp | 100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process() 102 get_module()->trailing_dbg_line_info().clear(); in Process()
|
D | local_access_chain_convert_pass.cpp | 330 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 342 for (const Instruction& inst : get_module()->types_values()) in ProcessImpl() 349 for (auto& ai : get_module()->annotations()) in ProcessImpl() 356 for (Function& func : *get_module()) { in ProcessImpl()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | strength_reduction_pass.cpp | 133 for (auto iter = get_module()->types_values_begin(); in FindIntTypesAndConstants() 134 iter != get_module()->types_values_end(); ++iter) { in FindIntTypesAndConstants() 165 get_module()->AddGlobalValue(std::move(newConstant)); in GetConstantId() 168 auto constantIter = --get_module()->types_values_end(); in GetConstantId() 183 for (auto& func : *get_module()) { in ScanFunctions()
|
D | aggressive_dead_code_elim_pass.cpp | 148 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 567 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions() 571 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions() 590 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions() 621 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in InitializeModuleScopeLiveInstructions() 709 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions() 710 funcIter != get_module()->end();) { in EliminateDeadFunctions() 728 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues() 747 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues() 847 for (auto& dbg : get_module()->ext_inst_debuginfo()) { in ProcessGlobalValues() [all …]
|
D | eliminate_dead_functions_pass.cpp | 36 for (auto funcIter = get_module()->begin(); in Process() 37 funcIter != get_module()->end();) { in Process()
|
D | upgrade_memory_model.cpp | 35 Instruction* memory_model = get_module()->GetMemoryModel(); in Process() 55 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction() 81 for (auto& func : *get_module()) { in UpgradeInstructions() 93 } else if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeInstructions() 125 for (auto& func : *get_module()) { in UpgradeMemoryAndImages() 172 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 206 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in UpgradeMemoryAndImages() 255 for (auto& func : *get_module()) { in UpgradeAtomics() 587 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations() 650 for (auto& e : get_module()->entry_points()) in UpgradeBarriers() [all …]
|
D | instrument_pass.cpp | 533 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetOutputBufferId() 535 for (auto& entry : get_module()->entry_points()) { in GetOutputBufferId() 577 if (get_module()->version() >= SPV_SPIRV_VERSION_WORD(1, 4)) { in GetInputBufferId() 579 for (auto& entry : get_module()->entry_points()) { in GetInputBufferId() 695 new Instruction(get_module()->context(), SpvOpFunction, GetVoidId(), in GetStreamWriteFunctionId() 710 new Instruction(get_module()->context(), SpvOpFunctionParameter, in GetStreamWriteFunctionId() 782 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetStreamWriteFunctionId() 803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId() 817 get_module()->context(), SpvOpFunctionParameter, GetUintId(), pid, {})); in GetDirectReadFunctionId() 862 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetDirectReadFunctionId() [all …]
|
D | strip_debug_info_pass.cpp | 100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process() 102 get_module()->trailing_dbg_line_info().clear(); in Process()
|
D | remove_unused_interface_variables_pass.cpp | 37 (parent_.get_module()->version() >= in processFunction() 82 for (auto& entry : get_module()->entry_points()) { in Process()
|
D | local_access_chain_convert_pass.cpp | 330 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported() 356 for (const Instruction& inst : get_module()->types_values()) in ProcessImpl() 363 for (auto& ai : get_module()->annotations()) in ProcessImpl() 370 for (Function& func : *get_module()) { in ProcessImpl()
|
/third_party/qrcodegen/python/ |
D | qrcodegen-demo.py | 181 if qr.get_module(x, y): 197 print("\u2588 "[1 if qrcode.get_module(x,y) else 0] * 2, end="")
|