Home
last modified time | relevance | path

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

1234

/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.cpp134 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
406 for (auto& ei : get_module()->entry_points()) { in AggressiveDCE()
526 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions()
530 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions()
534 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions()
603 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions()
604 funcIter != get_module()->end();) { in EliminateDeadFunctions()
628 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues()
647 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues()
749 for (auto& val : get_module()->types_values()) { in ProcessGlobalValues()
Dinstrument_pass.cpp418 get_module()->context(), SpvOpFunction, GetVoidId(), output_func_id_, in GetStreamWriteFunctionId()
432 new Instruction(get_module()->context(), SpvOpFunctionParameter, in GetStreamWriteFunctionId()
506 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetStreamWriteFunctionId()
521 for (auto fii = get_module()->begin(); fii != get_module()->end(); ++fii) { in InstrumentFunction()
595 for (auto& e : get_module()->entry_points()) { in InstProcessEntryPointCallTree()
612 for (auto& e : get_module()->entry_points()) { in InstProcessEntryPointCallTree()
635 for (auto& fn : *get_module()) { in InitializeInstrument()
644 Module* module = get_module(); in InitializeInstrument()
690 auto prev_fn = get_module()->begin(); in InitializeInstrument()
692 for (++curr_fn; curr_fn != get_module()->end(); ++curr_fn) { in InitializeInstrument()
Dupgrade_memory_model.cpp27 Instruction* memory_model = get_module()->GetMemoryModel(); in Process()
47 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction()
48 get_module()->AddCapability(MakeUnique<Instruction>( in UpgradeMemoryModelInstruction()
56 get_module()->AddExtension( in UpgradeMemoryModelInstruction()
71 for (auto& func : *get_module()) { in UpgradeInstructions()
448 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations()
511 for (auto& e : get_module()->entry_points()) in UpgradeBarriers()
538 get_module()->ForEachInst([this](Instruction* inst) { in UpgradeMemoryScope()
Deliminate_dead_functions_pass.cpp35 for (auto funcIter = get_module()->begin(); in Process()
36 funcIter != get_module()->end();) { in Process()
Dlocal_ssa_elim_pass.cpp28 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
45 for (auto& ai : get_module()->annotations()) in ProcessImpl()
Dprocess_lines_pass.cpp46 for (Instruction& inst : get_module()->types_values()) in ProcessLines()
49 for (Function& function : *get_module()) { in ProcessLines()
Dlocal_access_chain_convert_pass.cpp268 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
280 for (const Instruction& inst : get_module()->types_values()) in ProcessImpl()
287 for (auto& ai : get_module()->annotations()) in ProcessImpl()
Dlocal_single_block_elim_pass.cpp177 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
193 for (auto& ai : get_module()->annotations()) in ProcessImpl()
Dinline_pass.cpp107 false_id_ = get_module()->GetGlobalValue(SpvOpConstantFalse); in GetFalseId()
109 uint32_t boolId = get_module()->GetGlobalValue(SpvOpTypeBool); in GetFalseId()
112 get_module()->AddGlobalValue(SpvOpTypeBool, boolId, 0); in GetFalseId()
115 get_module()->AddGlobalValue(SpvOpConstantFalse, false_id_, boolId); in GetFalseId()
641 for (auto& fn : *get_module()) { in InitializeInline()
/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.cpp134 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
406 for (auto& ei : get_module()->entry_points()) { in AggressiveDCE()
526 for (auto& exec : get_module()->execution_modes()) { in InitializeModuleScopeLiveInstructions()
530 for (auto& entry : get_module()->entry_points()) { in InitializeModuleScopeLiveInstructions()
534 for (auto& anno : get_module()->annotations()) { in InitializeModuleScopeLiveInstructions()
603 for (auto funcIter = get_module()->begin(); in EliminateDeadFunctions()
604 funcIter != get_module()->end();) { in EliminateDeadFunctions()
628 Instruction* instruction = &*get_module()->debug2_begin(); in ProcessGlobalValues()
647 for (auto& inst : get_module()->annotations()) annotations.push_back(&inst); in ProcessGlobalValues()
749 for (auto& val : get_module()->types_values()) { in ProcessGlobalValues()
Dinstrument_pass.cpp420 get_module()->context(), SpvOpFunction, GetVoidId(), output_func_id_, in GetStreamWriteFunctionId()
434 new Instruction(get_module()->context(), SpvOpFunctionParameter, in GetStreamWriteFunctionId()
508 new Instruction(get_module()->context(), SpvOpFunctionEnd, 0, 0, {})); in GetStreamWriteFunctionId()
523 for (auto fii = get_module()->begin(); fii != get_module()->end(); ++fii) { in InstrumentFunction()
597 for (auto& e : get_module()->entry_points()) { in InstProcessEntryPointCallTree()
614 for (auto& e : get_module()->entry_points()) { in InstProcessEntryPointCallTree()
637 for (auto& fn : *get_module()) { in InitializeInstrument()
646 Module* module = get_module(); in InitializeInstrument()
692 auto prev_fn = get_module()->begin(); in InitializeInstrument()
694 for (++curr_fn; curr_fn != get_module()->end(); ++curr_fn) { in InitializeInstrument()
Dupgrade_memory_model.cpp28 Instruction* memory_model = get_module()->GetMemoryModel(); in Process()
48 Instruction* memory_model = get_module()->GetMemoryModel(); in UpgradeMemoryModelInstruction()
49 get_module()->AddCapability(MakeUnique<Instruction>( in UpgradeMemoryModelInstruction()
57 get_module()->AddExtension( in UpgradeMemoryModelInstruction()
73 for (auto& func : *get_module()) { in UpgradeInstructions()
88 for (auto& func : *get_module()) { in UpgradeInstructions()
465 get_module()->ForEachInst([this](Instruction* inst) { in CleanupDecorations()
528 for (auto& e : get_module()->entry_points()) in UpgradeBarriers()
555 get_module()->ForEachInst([this](Instruction* inst) { in UpgradeMemoryScope()
Deliminate_dead_functions_pass.cpp35 for (auto funcIter = get_module()->begin(); in Process()
36 funcIter != get_module()->end();) { in Process()
Dlocal_ssa_elim_pass.cpp28 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
45 for (auto& ai : get_module()->annotations()) in ProcessImpl()
Dprocess_lines_pass.cpp46 for (Instruction& inst : get_module()->types_values()) in ProcessLines()
49 for (Function& function : *get_module()) { in ProcessLines()
Dlocal_access_chain_convert_pass.cpp268 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
280 for (const Instruction& inst : get_module()->types_values()) in ProcessImpl()
287 for (auto& ai : get_module()->annotations()) in ProcessImpl()
Dlocal_single_block_elim_pass.cpp177 for (auto& ei : get_module()->extensions()) { in AllExtensionsSupported()
193 for (auto& ai : get_module()->annotations()) in ProcessImpl()
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dbitreader.ml43 (* get_module *)
47 Llvm_bitreader.get_module context mb
62 (* test get_module exceptions *)
67 Llvm_bitreader.get_module context mb
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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
/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
/external/swiftshader/third_party/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

1234