/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | vector_dce.cpp | 54 [&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 …]
|
D | dominator_analysis.cpp | 58 Instruction* current_inst = a; in Dominates() local 59 while ((current_inst = current_inst->NextNode())) { in Dominates() 60 if (current_inst == b) { in Dominates()
|
D | vector_dce.h | 85 bool RewriteInsertInstruction(Instruction* current_inst, 107 void MarkUsesAsLive(Instruction* current_inst, 131 void MarkExtractUseAsLive(const Instruction* current_inst,
|
D | copy_prop_arrays.cpp | 222 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/ |
D | vector_dce.cpp | 54 [&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 …]
|
D | dominator_analysis.cpp | 58 Instruction* current_inst = a; in Dominates() local 59 while ((current_inst = current_inst->NextNode())) { in Dominates() 60 if (current_inst == b) { in Dominates()
|
D | vector_dce.h | 84 bool RewriteInsertInstruction(Instruction* current_inst, 106 void MarkUsesAsLive(Instruction* current_inst, 130 void MarkExtractUseAsLive(const Instruction* current_inst,
|
D | copy_prop_arrays.cpp | 222 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/ |
D | st_cb_bitmap_shader.c | 53 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()
|
D | st_cb_drawpixels_shader.c | 73 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 = ¤t_inst->Src[i]; in transform_instr() 212 tctx->emit_instruction(tctx, current_inst); in transform_instr()
|
D | st_atifs_to_tgsi.c | 664 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/ |
D | validation_state.cpp | 973 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/ |
D | validation_state.cpp | 990 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()
|