Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp133 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()
Daggressive_dead_code_elim_pass.cpp142 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 …]
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Dupgrade_memory_model.cpp35 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 …]
Dinstrument_pass.cpp533 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 …]
Dstrip_debug_info_pass.cpp100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process()
102 get_module()->trailing_dbg_line_info().clear(); in Process()
Dlocal_access_chain_convert_pass.cpp330 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dstrength_reduction_pass.cpp133 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()
Daggressive_dead_code_elim_pass.cpp142 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 …]
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Dupgrade_memory_model.cpp35 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 …]
Dinstrument_pass.cpp533 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 …]
Dstrip_debug_info_pass.cpp100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process()
102 get_module()->trailing_dbg_line_info().clear(); in Process()
Dremove_unused_interface_variables_pass.cpp37 (parent_.get_module()->version() >= in processFunction()
82 for (auto& entry : get_module()->entry_points()) { in Process()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp133 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()
Daggressive_dead_code_elim_pass.cpp142 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 …]
Deliminate_dead_functions_pass.cpp36 for (auto funcIter = get_module()->begin(); in Process()
37 funcIter != get_module()->end();) { in Process()
Dupgrade_memory_model.cpp35 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 …]
Dinstrument_pass.cpp533 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 …]
Dstrip_debug_info_pass.cpp100 if (!get_module()->trailing_dbg_line_info().empty()) { in Process()
102 get_module()->trailing_dbg_line_info().clear(); in Process()
Dlocal_access_chain_convert_pass.cpp330 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()
/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/llvm-project/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/llvm-project/llvm/bindings/ocaml/bitreader/
Dllvm_bitreader.mli16 (** [get_module context mb] reads the bitcode for a new module [m] from the
20 val get_module : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule val
/external/llvm/bindings/ocaml/bitreader/
Dllvm_bitreader.mli17 (** [get_module context mb] reads the bitcode for a new module [m] from the
21 val get_module : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule val

123456