/third_party/spirv-tools/source/lint/ |
D | lint_divergent_derivatives.cpp | 97 opt::analysis::DefUseManager* def_use = context->get_def_use_mgr(); in PrintDivergenceFlow() local 100 bool is_block = def_use->GetDef(id)->opcode() == SpvOpLabel; in PrintDivergenceFlow() 106 while (source != 0 && def_use->GetDef(source)->opcode() == SpvOpLabel) { in PrintDivergenceFlow() 121 opt::Instruction* def = def_use->GetDef(id); in PrintDivergenceFlow() 123 source == 0 ? nullptr : def_use->GetDef(source); in PrintDivergenceFlow() 126 Warn(context, def_use->GetDef(id)) in PrintDivergenceFlow() 133 source_def = def_use->GetDef(source); in PrintDivergenceFlow()
|
/third_party/skia/third_party/externals/spirv-tools/source/lint/ |
D | lint_divergent_derivatives.cpp | 97 opt::analysis::DefUseManager* def_use = context->get_def_use_mgr(); in PrintDivergenceFlow() local 100 bool is_block = def_use->GetDef(id)->opcode() == SpvOpLabel; in PrintDivergenceFlow() 106 while (source != 0 && def_use->GetDef(source)->opcode() == SpvOpLabel) { in PrintDivergenceFlow() 121 opt::Instruction* def = def_use->GetDef(id); in PrintDivergenceFlow() 123 source == 0 ? nullptr : def_use->GetDef(source); in PrintDivergenceFlow() 126 Warn(context, def_use->GetDef(id)) in PrintDivergenceFlow() 133 source_def = def_use->GetDef(source); in PrintDivergenceFlow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/lint/ |
D | lint_divergent_derivatives.cpp | 97 opt::analysis::DefUseManager* def_use = context->get_def_use_mgr(); in PrintDivergenceFlow() local 100 bool is_block = def_use->GetDef(id)->opcode() == SpvOpLabel; in PrintDivergenceFlow() 106 while (source != 0 && def_use->GetDef(source)->opcode() == SpvOpLabel) { in PrintDivergenceFlow() 121 opt::Instruction* def = def_use->GetDef(id); in PrintDivergenceFlow() 123 source == 0 ? nullptr : def_use->GetDef(source); in PrintDivergenceFlow() 126 Warn(context, def_use->GetDef(id)) in PrintDivergenceFlow() 133 source_def = def_use->GetDef(source); in PrintDivergenceFlow()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | eliminate_dead_constant_pass.cpp | 29 analysis::DefUseManager def_use(consumer(), module); in Process() local 39 if (analysis::UseList* uses = def_use.GetUses(const_id)) { in Process() 69 ir::Instruction* def_inst = def_use.GetDef(operand_id); in Process() 95 if (analysis::UseList* uses = def_use.GetUses(dc->result_id())) { in Process() 107 def_use.KillDef(dc->result_id()); in Process()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | strip_debug_info_pass.cpp | 41 analysis::DefUseManager* def_use = context()->get_def_use_mgr(); in Process() local 45 def_use->WhileEachUser(&inst, [def_use](Instruction* use) { in Process() 48 def_use->GetDef(use->GetSingleWordInOperand(0u)); in Process()
|
D | loop_fission.cpp | 124 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in TraverseUseDef() local 131 traverser_functor = [this, def_use, &inst_set, &traverser_functor, in TraverseUseDef() 164 auto traverse_operand = [&traverser_functor, def_use](const uint32_t* id) { in TraverseUseDef() 165 traverser_functor(def_use->GetDef(*id)); in TraverseUseDef() 173 def_use->ForEachUser(user, traverser_functor); in TraverseUseDef() 179 def_use->ForEachUse(user, traverse_use); in TraverseUseDef()
|
D | scalar_analysis.cpp | 102 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeMultiplyOp() local 105 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(0))); in AnalyzeMultiplyOp() 107 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(1))); in AnalyzeMultiplyOp() 233 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeAddOp() local 236 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(0))); in AnalyzeAddOp() 239 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(1))); in AnalyzeAddOp() 255 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzePhiInstruction() local 299 Instruction* value_inst = def_use->GetDef(value_id); in AnalyzePhiInstruction()
|
D | loop_utils.cpp | 525 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in CloneAndAttachLoopToHeader() local 527 def_use->ForEachUse(old_header, in CloneAndAttachLoopToHeader() 534 def_use->ForEachUse( in CloneAndAttachLoopToHeader()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | strip_debug_info_pass.cpp | 41 analysis::DefUseManager* def_use = context()->get_def_use_mgr(); in Process() local 45 def_use->WhileEachUser(&inst, [def_use](Instruction* use) { in Process() 48 def_use->GetDef(use->GetSingleWordInOperand(0u)); in Process()
|
D | loop_fission.cpp | 124 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in TraverseUseDef() local 131 traverser_functor = [this, def_use, &inst_set, &traverser_functor, in TraverseUseDef() 164 auto traverse_operand = [&traverser_functor, def_use](const uint32_t* id) { in TraverseUseDef() 165 traverser_functor(def_use->GetDef(*id)); in TraverseUseDef() 173 def_use->ForEachUser(user, traverser_functor); in TraverseUseDef() 179 def_use->ForEachUse(user, traverse_use); in TraverseUseDef()
|
D | scalar_analysis.cpp | 102 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeMultiplyOp() local 105 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(0))); in AnalyzeMultiplyOp() 107 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(1))); in AnalyzeMultiplyOp() 233 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeAddOp() local 236 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(0))); in AnalyzeAddOp() 239 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(1))); in AnalyzeAddOp() 255 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzePhiInstruction() local 299 Instruction* value_inst = def_use->GetDef(value_id); in AnalyzePhiInstruction()
|
D | loop_utils.cpp | 525 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in CloneAndAttachLoopToHeader() local 527 def_use->ForEachUse(old_header, in CloneAndAttachLoopToHeader() 534 def_use->ForEachUse( in CloneAndAttachLoopToHeader()
|
/third_party/spirv-tools/source/opt/ |
D | strip_debug_info_pass.cpp | 41 analysis::DefUseManager* def_use = context()->get_def_use_mgr(); in Process() local 45 def_use->WhileEachUser(&inst, [def_use](Instruction* use) { in Process() 48 def_use->GetDef(use->GetSingleWordInOperand(0u)); in Process()
|
D | loop_fission.cpp | 124 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in TraverseUseDef() local 131 traverser_functor = [this, def_use, &inst_set, &traverser_functor, in TraverseUseDef() 164 auto traverse_operand = [&traverser_functor, def_use](const uint32_t* id) { in TraverseUseDef() 165 traverser_functor(def_use->GetDef(*id)); in TraverseUseDef() 173 def_use->ForEachUser(user, traverser_functor); in TraverseUseDef() 179 def_use->ForEachUse(user, traverse_use); in TraverseUseDef()
|
D | scalar_analysis.cpp | 102 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeMultiplyOp() local 105 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(0))); in AnalyzeMultiplyOp() 107 AnalyzeInstruction(def_use->GetDef(multiply->GetSingleWordInOperand(1))); in AnalyzeMultiplyOp() 233 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzeAddOp() local 236 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(0))); in AnalyzeAddOp() 239 AnalyzeInstruction(def_use->GetDef(inst->GetSingleWordInOperand(1))); in AnalyzeAddOp() 255 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in AnalyzePhiInstruction() local 299 Instruction* value_inst = def_use->GetDef(value_id); in AnalyzePhiInstruction()
|
D | loop_utils.cpp | 525 analysis::DefUseManager* def_use = context_->get_def_use_mgr(); in CloneAndAttachLoopToHeader() local 527 def_use->ForEachUse(old_header, in CloneAndAttachLoopToHeader() 534 def_use->ForEachUse( in CloneAndAttachLoopToHeader()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_def_use.cpp | 32 int def_use::run() { in run() 38 void def_use::process_phi(container_node *c, bool defs, bool uses) { in process_phi() 49 void def_use::run_on(node* n, bool defs) { in run_on() 88 void def_use::process_defs(node *n, vvec &vv, bool arr_def) { in process_defs() 108 void def_use::process_uses(node* n) { in process_uses()
|
D | sb_core.cpp | 188 SB_RUN_PASS(def_use, 0); in r600_sb_bytecode_process() 203 SB_RUN_PASS(def_use, 0); in r600_sb_bytecode_process() 207 SB_RUN_PASS(def_use, 1); in r600_sb_bytecode_process() 213 SB_RUN_PASS(def_use, 0); in r600_sb_bytecode_process()
|
D | sb_pass.h | 150 class def_use : public pass { 154 def_use(shader &sh) : pass(sh) {} in def_use() function
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | CMakeLists.txt | 111 add_spvtools_unittest(TARGET def_use
|