/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | local_single_block_elim_pass.cpp | 56 return IsMathType(def_use_mgr_->GetDef(typeInst->GetSingleWordOperand(1))); in IsTargetType() 62 ir::Instruction* compTypeInst = def_use_mgr_->GetDef(*tid); in IsTargetType() 72 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() 76 varInst = def_use_mgr_->GetDef(*varId); in GetPtr() 86 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsTargetVar() 89 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsTargetVar() 97 ir::Instruction* varPteTypeInst = def_use_mgr_->GetDef(varPteTypeId); in IsTargetVar() 109 (void) def_use_mgr_->ReplaceAllUsesWith(loadId, replId); in ReplaceAndDeleteLoad() 115 analysis::UseList* uses = def_use_mgr_->GetUses(ptrId); in HasLoads() 136 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsLiveVar() [all …]
|
D | local_access_chain_convert_pass.cpp | 58 return IsMathType(def_use_mgr_->GetDef(typeInst->GetSingleWordOperand(1))); in IsTargetType() 64 ir::Instruction* compTypeInst = def_use_mgr_->GetDef(*tid); in IsTargetType() 75 ir::Instruction* ptrInst = def_use_mgr_->GetDef(ptrId); in GetPtr() 87 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsTargetVar() 91 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsTargetVar() 99 ir::Instruction* varPteTypeInst = def_use_mgr_->GetDef(varPteTypeId); in IsTargetVar() 111 analysis::UseList* uses = def_use_mgr_->GetUses(resId); in DeleteIfUseless() 113 def_use_mgr_->KillInst(inst); in DeleteIfUseless() 121 (void) def_use_mgr_->ReplaceAllUsesWith(loadId, replId); in ReplaceAndDeleteLoad() 123 def_use_mgr_->KillInst(loadInst); in ReplaceAndDeleteLoad() [all …]
|
D | local_ssa_elim_pass.cpp | 66 return IsMathType(def_use_mgr_->GetDef(typeInst->GetSingleWordOperand(1))); in IsTargetType() 72 const ir::Instruction* compTypeInst = def_use_mgr_->GetDef(*tid); in IsTargetType() 84 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() 94 varInst = def_use_mgr_->GetDef(*varId); in GetPtr() 104 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsTargetVar() 107 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsTargetVar() 115 ir::Instruction* varPteTypeInst = def_use_mgr_->GetDef(varPteTypeId); in IsTargetVar() 125 analysis::UseList* uses = def_use_mgr_->GetUses(ptrId); in HasLoads() 146 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsLiveVar() 149 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsLiveVar() [all …]
|
D | local_single_store_elim_pass.cpp | 61 return IsMathType(def_use_mgr_->GetDef(typeInst->GetSingleWordOperand(1))); in IsTargetType() 67 ir::Instruction* compTypeInst = def_use_mgr_->GetDef(*tid); in IsTargetType() 77 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() 81 varInst = def_use_mgr_->GetDef(*varId); in GetPtr() 91 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsTargetVar() 94 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsTargetVar() 102 ir::Instruction* varPteTypeInst = def_use_mgr_->GetDef(varPteTypeId); in IsTargetVar() 114 analysis::UseList* uses = def_use_mgr_->GetUses(ptrId); in HasOnlySupportedRefs() 179 (void) def_use_mgr_->ReplaceAllUsesWith(loadInst->result_id(), replId); in ReplaceAndDeleteLoad() 298 analysis::UseList* uses = def_use_mgr_->GetUses(varId); in HasLoads() [all …]
|
D | dead_branch_elim_pass.cpp | 98 ir::Instruction* cInst = def_use_mgr_->GetDef(condId); in GetConstCondition() 125 def_use_mgr_->AnalyzeInstDefUse(&*newBranch); in AddBranch() 135 def_use_mgr_->AnalyzeInstDefUse(&*newMerge); in AddSelectionMerge() 146 def_use_mgr_->AnalyzeInstDefUse(&*newBranchCond); in AddBranchConditional() 152 def_use_mgr_->KillInst(ip); in KillAllInsts() 178 analysis::UseList* uses = def_use_mgr_->GetUses(labelId); in HasNonPhiRef() 217 def_use_mgr_->KillInst(br); in EliminateDeadBranches() 218 def_use_mgr_->KillInst(mergeInst); in EliminateDeadBranches() 252 (void)def_use_mgr_->ReplaceAllUsesWith(phiId, replId); in EliminateDeadBranches() 253 def_use_mgr_->KillInst(phiInst); in EliminateDeadBranches() [all …]
|
D | block_merge_pass.cpp | 39 const analysis::UseList* uses = def_use_mgr_->GetUses(labId); in HasMultipleRefs() 55 analysis::UseList* uses = def_use_mgr_->GetUses(id); in KillInstAndName() 59 def_use_mgr_->KillInst(u.inst); in KillInstAndName() 63 def_use_mgr_->KillInst(inst); in KillInstAndName() 94 def_use_mgr_->KillInst(br); in MergeBlocks() 120 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 134 : module_(nullptr), def_use_mgr_(nullptr) {} in BlockMergePass()
|
D | insert_extract_elim.cpp | 62 ir::Instruction* cinst = def_use_mgr_->GetDef(cid); in EliminateInsertExtract() 72 cinst = def_use_mgr_->GetDef(cid); in EliminateInsertExtract() 76 (void)def_use_mgr_->ReplaceAllUsesWith(extId, replId); in EliminateInsertExtract() 77 def_use_mgr_->KillInst(&*ii); in EliminateInsertExtract() 99 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 116 : module_(nullptr), def_use_mgr_(nullptr) {} in InsertExtractElimPass()
|
D | aggressive_dead_code_elim_pass.cpp | 49 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() 59 varInst = def_use_mgr_->GetDef(*varId); in GetPtr() 65 const ir::Instruction* varInst = def_use_mgr_->GetDef(varId); in IsLocalVar() 68 const ir::Instruction* varTypeInst = def_use_mgr_->GetDef(varTypeId); in IsLocalVar() 74 const analysis::UseList* uses = def_use_mgr_->GetUses(ptrId); in AddStores() 123 const ir::Instruction* tInst = def_use_mgr_->GetDef(tId); in KillInstIfTargetDead() 125 def_use_mgr_->KillInst(inst); in KillInstIfTargetDead() 177 ir::Instruction* inInst = def_use_mgr_->GetDef(*iid); in AggressiveDCE() 222 def_use_mgr_->KillInst(&inst); in AggressiveDCE() 246 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() [all …]
|
D | fold_spec_constant_op_and_composite_pass.cpp | 247 def_use_mgr_(nullptr), in FoldSpecConstantOpAndCompositePass() 258 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module)); in Initialize() 259 for (const auto& id_def : def_use_mgr_->id_to_defs()) { in Initialize() 379 def_use_mgr_->ReplaceAllUsesWith(old_id, new_id); in ProcessOpSpecConstantOp() 380 def_use_mgr_->KillDef(old_id); in ProcessOpSpecConstantOp() 596 def_use_mgr_->AnalyzeInstDefUse(new_inst_ptr); in BuildInstructionAndAddToModule()
|
D | block_merge_pass.h | 63 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | insert_extract_elim.h | 67 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | inline_pass.cpp | 163 def_use_mgr_->id_to_defs().find(calleeTypeId)->second; in CreateReturnVar() 397 def_use_mgr_->id_to_defs().find(*iid)->second; in GenInlineCode() 597 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module)); in Initialize() 638 : module_(nullptr), def_use_mgr_(nullptr), next_id_(0) {} in InlinePass()
|
D | aggressive_dead_code_elim_pass.h | 102 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | local_single_block_elim_pass.h | 113 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | dead_branch_elim_pass.h | 115 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | fold_spec_constant_op_and_composite_pass.h | 155 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | local_access_chain_convert_pass.h | 148 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | local_single_store_elim_pass.h | 155 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | local_ssa_elim_pass.h | 210 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
D | inline_pass.h | 181 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl.cc | 385 << def_use_mgr_->GetDef(type_id)->PrettyPrint(); in ConvertType() 426 if (def_use_mgr_) { in ShowType() 427 const auto* type_inst = def_use_mgr_->GetDef(type_id); in ShowType() 528 def_use_mgr_ = ir_context_->get_def_use_mgr(); in BuildInternalModule() 542 def_use_mgr_ = nullptr; in ResetInternalModule() 597 return GetSourceForInst(def_use_mgr_->GetDef(id)); in GetSourceForResultIdForTest() 784 def_use_mgr_->GetDef(info.id); in RegisterWorkgroupSizeBuiltin() 805 def_use_mgr_->GetDef(info.type_id)->GetSingleWordInOperand(0); in RegisterWorkgroupSizeBuiltin() 812 const auto* def = def_use_mgr_->GetDef(id); in RegisterWorkgroupSizeBuiltin() 883 if (const auto* var_inst = def_use_mgr_->GetDef(var_id)) { in RegisterEntryPoints() [all …]
|
D | function.cc | 742 def_use_mgr_(ir_context_.get_def_use_mgr()), in FunctionEmitter() 763 def_use_mgr_(ir_context_.get_def_use_mgr()), in FunctionEmitter() 1217 const auto* var = def_use_mgr_->GetDef(var_id); in EmitEntryPointAsWrapper() 1300 const auto* var = def_use_mgr_->GetDef(var_id); in EmitEntryPointAsWrapper() 1440 const auto* ptr_ty = def_use_mgr_->GetDef(type_id); in GetVariableStoreType() 2581 parser_impl_.ConvertType(def_use_mgr_->GetDef(id)->type_id()), in MakeExpression() 2594 const auto* inst = def_use_mgr_->GetDef(id); in MakeExpression() 3408 const auto* def_inst = def_use_mgr_->GetDef(id); in EmitStatementsInBasicBlock() 3421 const auto* def_inst = def_use_mgr_->GetDef(id); in EmitStatementsInBasicBlock() 3591 const auto ptr_type_id = def_use_mgr_->GetDef(ptr_id)->type_id(); in EmitStatement() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | ir_context.h | 100 def_use_mgr_(nullptr), in IRContext() 119 def_use_mgr_(nullptr), in IRContext() 247 return def_use_mgr_.get(); in get_def_use_mgr() 614 def_use_mgr_ = MakeUnique<analysis::DefUseManager>(module()); in BuildDefUseManager() 770 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
/third_party/spirv-tools/source/opt/ |
D | ir_context.h | 101 def_use_mgr_(nullptr), in IRContext() 120 def_use_mgr_(nullptr), in IRContext() 248 return def_use_mgr_.get(); in get_def_use_mgr() 631 def_use_mgr_ = MakeUnique<analysis::DefUseManager>(module()); in BuildDefUseManager() 787 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ir_context.h | 100 def_use_mgr_(nullptr), in IRContext() 119 def_use_mgr_(nullptr), in IRContext() 247 return def_use_mgr_.get(); in get_def_use_mgr() 614 def_use_mgr_ = MakeUnique<analysis::DefUseManager>(module()); in BuildDefUseManager() 770 std::unique_ptr<analysis::DefUseManager> def_use_mgr_; variable
|