Home
last modified time | relevance | path

Searched refs:current_inst (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp54 [&work_list, this, live_components](Instruction* current_inst) { in FindLiveComponents() argument
55 if (!HasVectorOrScalarResult(current_inst) || in FindLiveComponents()
56 !context()->IsCombinatorInstruction(current_inst)) { in FindLiveComponents()
57 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
65 Instruction* current_inst = current_item.instruction; in FindLiveComponents() local
67 switch (current_inst->opcode()) { in FindLiveComponents()
69 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
83 if (current_inst->IsScalarizable()) { in FindLiveComponents()
84 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
[all …]
Ddominator_analysis.cpp58 Instruction* current_inst = a; in Dominates() local
59 while ((current_inst = current_inst->NextNode())) { in Dominates()
60 if (current_inst == b) { in Dominates()
Dvector_dce.h85 bool RewriteInsertInstruction(Instruction* current_inst,
107 void MarkUsesAsLive(Instruction* current_inst,
131 void MarkExtractUseAsLive(const Instruction* current_inst,
Dcopy_prop_arrays.cpp222 Instruction* current_inst = def_use_mgr->GetDef( in BuildMemoryObjectFromLoad() local
232 while (current_inst->opcode() == SpvOpAccessChain) { in BuildMemoryObjectFromLoad()
233 for (uint32_t i = current_inst->NumInOperands() - 1; i >= 1; --i) { in BuildMemoryObjectFromLoad()
234 uint32_t element_index_id = current_inst->GetSingleWordInOperand(i); in BuildMemoryObjectFromLoad()
237 current_inst = def_use_mgr->GetDef(current_inst->GetSingleWordInOperand(0)); in BuildMemoryObjectFromLoad()
244 if (current_inst->opcode() != SpvOpVariable) { in BuildMemoryObjectFromLoad()
251 new MemoryObject(current_inst, components_in_reverse.rbegin(), in BuildMemoryObjectFromLoad()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dvector_dce.cpp54 [&work_list, this, live_components](Instruction* current_inst) { in FindLiveComponents() argument
55 if (!HasVectorOrScalarResult(current_inst) || in FindLiveComponents()
56 !context()->IsCombinatorInstruction(current_inst)) { in FindLiveComponents()
57 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
65 Instruction* current_inst = current_item.instruction; in FindLiveComponents() local
67 switch (current_inst->opcode()) { in FindLiveComponents()
69 MarkExtractUseAsLive(current_inst, live_components, &work_list); in FindLiveComponents()
82 if (current_inst->IsScalarizable()) { in FindLiveComponents()
83 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
86 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
[all …]
Ddominator_analysis.cpp58 Instruction* current_inst = a; in Dominates() local
59 while ((current_inst = current_inst->NextNode())) { in Dominates()
60 if (current_inst == b) { in Dominates()
Dvector_dce.h84 bool RewriteInsertInstruction(Instruction* current_inst,
106 void MarkUsesAsLive(Instruction* current_inst,
130 void MarkExtractUseAsLive(const Instruction* current_inst,
Dcopy_prop_arrays.cpp222 Instruction* current_inst = def_use_mgr->GetDef( in BuildMemoryObjectFromLoad() local
232 while (current_inst->opcode() == SpvOpAccessChain) { in BuildMemoryObjectFromLoad()
233 for (uint32_t i = current_inst->NumInOperands() - 1; i >= 1; --i) { in BuildMemoryObjectFromLoad()
234 uint32_t element_index_id = current_inst->GetSingleWordInOperand(i); in BuildMemoryObjectFromLoad()
237 current_inst = def_use_mgr->GetDef(current_inst->GetSingleWordInOperand(0)); in BuildMemoryObjectFromLoad()
244 if (current_inst->opcode() != SpvOpVariable) { in BuildMemoryObjectFromLoad()
251 new MemoryObject(current_inst, components_in_reverse.rbegin(), in BuildMemoryObjectFromLoad()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c53 struct tgsi_full_instruction *current_inst) in transform_instr() argument
63 tctx->emit_instruction(tctx, current_inst); in transform_instr()
126 tctx->emit_instruction(tctx, current_inst); in transform_instr()
Dst_cb_drawpixels_shader.c73 struct tgsi_full_instruction *current_inst) in transform_instr() argument
192 for (i = 0; i < current_inst->Instruction.NumSrcRegs; i++) { in transform_instr()
193 struct tgsi_full_src_register *src = &current_inst->Src[i]; in transform_instr()
212 tctx->emit_instruction(tctx, current_inst); in transform_instr()
Dst_atifs_to_tgsi.c664 struct tgsi_full_instruction *current_inst) in transform_instr() argument
680 if (current_inst->Instruction.Opcode == TGSI_OPCODE_TEX) { in transform_instr()
682 unsigned newtarget = ctx->key->texture_targets[current_inst->Src[1].Register.Index]; in transform_instr()
684 current_inst->Texture.Texture = newtarget; in transform_instr()
686 } else if (ctx->key->fog && current_inst->Instruction.Opcode == TGSI_OPCODE_MOV && in transform_instr()
687 current_inst->Dst[0].Register.File == TGSI_FILE_OUTPUT) { in transform_instr()
691 int reg0_index = current_inst->Src[0].Register.Index; in transform_instr()
702 tctx->emit_instruction(tctx, current_inst); in transform_instr()
813 tctx->emit_instruction(tctx, current_inst); in transform_instr()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidation_state.cpp973 const auto current_inst = stack.back(); in EntryPointReferences() local
976 if (const auto func = current_inst->function()) { in EntryPointReferences()
983 for (auto pair : current_inst->uses()) { in EntryPointReferences()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.cpp990 const auto current_inst = stack.back(); in EntryPointReferences() local
993 if (const auto func = current_inst->function()) { in EntryPointReferences()
1000 for (auto pair : current_inst->uses()) { in EntryPointReferences()