Home
last modified time | relevance | path

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

/third_party/spirv-tools/source/opt/
Dvector_dce.cpp54 [&work_list, this, live_components](Instruction* current_inst) { in FindLiveComponents() argument
55 if (current_inst->IsOpenCL100DebugInstr()) { in FindLiveComponents()
58 if (!HasVectorOrScalarResult(current_inst) || in FindLiveComponents()
59 !context()->IsCombinatorInstruction(current_inst)) { in FindLiveComponents()
60 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents() local
70 switch (current_inst->opcode()) { in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
86 if (current_inst->IsScalarizable()) { in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
[all …]
Dvector_dce.h90 bool RewriteInsertInstruction(Instruction* current_inst,
113 void MarkUsesAsLive(Instruction* current_inst,
137 void MarkExtractUseAsLive(const Instruction* current_inst,
Dcopy_prop_arrays.cpp230 Instruction* current_inst = def_use_mgr->GetDef( in BuildMemoryObjectFromLoad() local
240 while (current_inst->opcode() == SpvOpAccessChain) { in BuildMemoryObjectFromLoad()
241 for (uint32_t i = current_inst->NumInOperands() - 1; i >= 1; --i) { in BuildMemoryObjectFromLoad()
242 uint32_t element_index_id = current_inst->GetSingleWordInOperand(i); in BuildMemoryObjectFromLoad()
245 current_inst = def_use_mgr->GetDef(current_inst->GetSingleWordInOperand(0)); in BuildMemoryObjectFromLoad()
252 if (current_inst->opcode() != SpvOpVariable) { in BuildMemoryObjectFromLoad()
259 new MemoryObject(current_inst, components_in_reverse.rbegin(), in BuildMemoryObjectFromLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp54 [&work_list, this, live_components](Instruction* current_inst) { in FindLiveComponents() argument
55 if (current_inst->IsCommonDebugInstr()) { in FindLiveComponents()
58 if (!HasVectorOrScalarResult(current_inst) || in FindLiveComponents()
59 !context()->IsCombinatorInstruction(current_inst)) { in FindLiveComponents()
60 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents() local
70 switch (current_inst->opcode()) { in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
86 if (current_inst->IsScalarizable()) { in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
[all …]
Dvector_dce.h90 bool RewriteInsertInstruction(Instruction* current_inst,
116 void MarkUsesAsLive(Instruction* current_inst,
140 void MarkExtractUseAsLive(const Instruction* current_inst,
Dcopy_prop_arrays.cpp234 Instruction* current_inst = def_use_mgr->GetDef( in BuildMemoryObjectFromLoad() local
244 while (current_inst->opcode() == SpvOpAccessChain) { in BuildMemoryObjectFromLoad()
245 for (uint32_t i = current_inst->NumInOperands() - 1; i >= 1; --i) { in BuildMemoryObjectFromLoad()
246 uint32_t element_index_id = current_inst->GetSingleWordInOperand(i); in BuildMemoryObjectFromLoad()
249 current_inst = def_use_mgr->GetDef(current_inst->GetSingleWordInOperand(0)); in BuildMemoryObjectFromLoad()
256 if (current_inst->opcode() != SpvOpVariable) { in BuildMemoryObjectFromLoad()
263 new MemoryObject(current_inst, components_in_reverse.rbegin(), in BuildMemoryObjectFromLoad()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dvector_dce.cpp54 [&work_list, this, live_components](Instruction* current_inst) { in FindLiveComponents() argument
55 if (current_inst->IsCommonDebugInstr()) { in FindLiveComponents()
58 if (!HasVectorOrScalarResult(current_inst) || in FindLiveComponents()
59 !context()->IsCombinatorInstruction(current_inst)) { in FindLiveComponents()
60 MarkUsesAsLive(current_inst, all_components_live_, live_components, in FindLiveComponents()
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents() local
70 switch (current_inst->opcode()) { in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
86 if (current_inst->IsScalarizable()) { in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
[all …]
Dvector_dce.h90 bool RewriteInsertInstruction(Instruction* current_inst,
116 void MarkUsesAsLive(Instruction* current_inst,
140 void MarkExtractUseAsLive(const Instruction* current_inst,
Dcopy_prop_arrays.cpp234 Instruction* current_inst = def_use_mgr->GetDef( in BuildMemoryObjectFromLoad() local
244 while (current_inst->opcode() == SpvOpAccessChain) { in BuildMemoryObjectFromLoad()
245 for (uint32_t i = current_inst->NumInOperands() - 1; i >= 1; --i) { in BuildMemoryObjectFromLoad()
246 uint32_t element_index_id = current_inst->GetSingleWordInOperand(i); in BuildMemoryObjectFromLoad()
249 current_inst = def_use_mgr->GetDef(current_inst->GetSingleWordInOperand(0)); in BuildMemoryObjectFromLoad()
256 if (current_inst->opcode() != SpvOpVariable) { in BuildMemoryObjectFromLoad()
263 new MemoryObject(current_inst, components_in_reverse.rbegin(), in BuildMemoryObjectFromLoad()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c52 struct tgsi_full_instruction *current_inst) in transform_instr() argument
62 tctx->emit_instruction(tctx, current_inst); in transform_instr()
125 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()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidation_state.cpp1159 const auto current_inst = stack.back(); in EntryPointReferences() local
1162 if (const auto func = current_inst->function()) { in EntryPointReferences()
1169 for (auto pair : current_inst->uses()) { in EntryPointReferences()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.cpp1159 const auto current_inst = stack.back(); in EntryPointReferences() local
1162 if (const auto func = current_inst->function()) { in EntryPointReferences()
1169 for (auto pair : current_inst->uses()) { in EntryPointReferences()
/third_party/spirv-tools/source/val/
Dvalidation_state.cpp1073 const auto current_inst = stack.back(); in EntryPointReferences() local
1076 if (const auto func = current_inst->function()) { in EntryPointReferences()
1083 for (auto pair : current_inst->uses()) { in EntryPointReferences()