/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 75 ir::Instruction* ptrInst = def_use_mgr_->GetDef(ptrId); in GetPtr() local 76 *varId = IsNonPtrAccessChain(ptrInst->opcode()) ? in GetPtr() 77 ptrInst->GetSingleWordInOperand(kSpvAccessChainPtrId) : in GetPtr() 79 return ptrInst; in GetPtr() 119 ir::Instruction* ptrInst) { in ReplaceAndDeleteLoad() argument 125 if (IsNonPtrAccessChain(ptrInst->opcode())) { in ReplaceAndDeleteLoad() 126 DeleteIfUseless(ptrInst); in ReplaceAndDeleteLoad() 131 const ir::Instruction* ptrInst) const { in GetPointeeTypeId() 132 const uint32_t ptrTypeId = ptrInst->type_id(); in GetPointeeTypeId() 150 const ir::Instruction* ptrInst, in BuildAndAppendVarLoad() argument [all …]
|
D | local_access_chain_convert_pass.h | 82 ir::Instruction* ptrInst); 85 uint32_t GetPointeeTypeId(const ir::Instruction* ptrInst) const; 95 uint32_t BuildAndAppendVarLoad(const ir::Instruction* ptrInst, 102 void AppendConstantOperands( const ir::Instruction* ptrInst, 108 void GenAccessChainStoreReplacement(const ir::Instruction* ptrInst, 114 uint32_t GenAccessChainLoadReplacement(const ir::Instruction* ptrInst,
|
D | local_single_block_elim_pass.cpp | 72 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() local 73 ir::Instruction* varInst = ptrInst; in GetPtr() 78 return ptrInst; in GetPtr() 222 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 226 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 237 assert(IsNonPtrAccessChain(ptrInst->opcode())); in LocalSingleBlockLoadStoreElim() 246 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 251 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 269 if (ptrInst->opcode() == SpvOpVariable) in LocalSingleBlockLoadStoreElim()
|
D | local_single_store_elim_pass.cpp | 77 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() local 78 ir::Instruction* varInst = ptrInst; in GetPtr() 83 return ptrInst; in GetPtr() 141 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in SingleStoreAnalyze() local 148 if (IsNonPtrAccessChain(ptrInst->opcode())) { in SingleStoreAnalyze() 273 ir::Instruction* ptrInst = GetPtr(&*ii, &varId); in SingleStoreProcess() local 275 if (IsNonPtrAccessChain(ptrInst->opcode())) in SingleStoreProcess() 277 if (ptrInst->opcode() != SpvOpVariable) in SingleStoreProcess()
|
D | aggressive_dead_code_elim_pass.cpp | 49 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() local 50 ir::Instruction* varInst = ptrInst; in GetPtr() 61 return ptrInst; in GetPtr()
|
D | local_ssa_elim_pass.cpp | 84 ir::Instruction* ptrInst = def_use_mgr_->GetDef(*varId); in GetPtr() local 85 ir::Instruction* varInst = ptrInst; in GetPtr() 96 return ptrInst; in GetPtr() 379 const ir::Instruction* ptrInst) const { in GetPointeeTypeId() 380 const uint32_t ptrTypeId = ptrInst->type_id(); in GetPointeeTypeId()
|
D | local_ssa_elim_pass.h | 72 uint32_t GetPointeeTypeId(const ir::Instruction* ptrInst) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 46 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, in BuildAndAppendVarLoad() argument 53 *varId = ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx); in BuildAndAppendVarLoad() 64 const Instruction* ptrInst, std::vector<Operand>* in_opnds) { in AppendConstantOperands() argument 66 ptrInst->ForEachInId([&iidIdx, &in_opnds, this](const uint32_t* iid) { in AppendConstantOperands() 122 const Instruction* ptrInst, uint32_t valId, in GenAccessChainStoreReplacement() argument 124 if (ptrInst->NumInOperands() == 1) { in GenAccessChainStoreReplacement() 130 {ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx)}}, in GenAccessChainStoreReplacement() 140 BuildAndAppendVarLoad(ptrInst, &varId, &varPteTypeId, newInsts); in GenAccessChainStoreReplacement() 156 AppendConstantOperands(ptrInst, &ins_in_opnds); in GenAccessChainStoreReplacement() 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() local [all …]
|
D | mem_pass.cpp | 82 Instruction* ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() local 83 while (ptrInst->opcode() == SpvOpCopyObject) { in IsPtr() 84 varId = ptrInst->GetSingleWordInOperand(kCopyObjectOperandInIdx); in IsPtr() 85 ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() 87 const SpvOp op = ptrInst->opcode(); in IsPtr() 89 const uint32_t varTypeId = ptrInst->type_id(); in IsPtr() 97 Instruction* ptrInst = get_def_use_mgr()->GetDef(*varId); in GetPtr() local 100 if (ptrInst->opcode() == SpvOpConstantNull) { in GetPtr() 102 return ptrInst; in GetPtr() 105 if (ptrInst->opcode() != SpvOpVariable && in GetPtr() [all …]
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 79 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 111 assert(IsNonPtrAccessChain(ptrInst->opcode())); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 123 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 148 if (ptrInst->opcode() == SpvOpVariable) in LocalSingleBlockLoadStoreElim()
|
D | local_access_chain_convert_pass.h | 74 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, 80 void AppendConstantOperands(const Instruction* ptrInst, 87 const Instruction* ptrInst, uint32_t valId,
|
D | pass.cpp | 51 uint32_t Pass::GetPointeeTypeId(const Instruction* ptrInst) const { in GetPointeeTypeId() 52 const uint32_t ptrTypeId = ptrInst->type_id(); in GetPointeeTypeId()
|
D | pass.h | 110 uint32_t GetPointeeTypeId(const Instruction* ptrInst) const;
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 46 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, in BuildAndAppendVarLoad() argument 53 *varId = ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx); in BuildAndAppendVarLoad() 64 const Instruction* ptrInst, std::vector<Operand>* in_opnds) { in AppendConstantOperands() argument 66 ptrInst->ForEachInId([&iidIdx, &in_opnds, this](const uint32_t* iid) { in AppendConstantOperands() 122 const Instruction* ptrInst, uint32_t valId, in GenAccessChainStoreReplacement() argument 124 if (ptrInst->NumInOperands() == 1) { in GenAccessChainStoreReplacement() 130 {ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx)}}, in GenAccessChainStoreReplacement() 140 BuildAndAppendVarLoad(ptrInst, &varId, &varPteTypeId, newInsts); in GenAccessChainStoreReplacement() 156 AppendConstantOperands(ptrInst, &ins_in_opnds); in GenAccessChainStoreReplacement() 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() local [all …]
|
D | mem_pass.cpp | 82 Instruction* ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() local 83 while (ptrInst->opcode() == SpvOpCopyObject) { in IsPtr() 84 varId = ptrInst->GetSingleWordInOperand(kCopyObjectOperandInIdx); in IsPtr() 85 ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() 87 const SpvOp op = ptrInst->opcode(); in IsPtr() 89 const uint32_t varTypeId = ptrInst->type_id(); in IsPtr() 97 Instruction* ptrInst = get_def_use_mgr()->GetDef(*varId); in GetPtr() local 100 if (ptrInst->opcode() == SpvOpConstantNull) { in GetPtr() 102 return ptrInst; in GetPtr() 105 if (ptrInst->opcode() != SpvOpVariable && in GetPtr() [all …]
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 79 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 111 assert(IsNonPtrAccessChain(ptrInst->opcode())); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 123 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 148 if (ptrInst->opcode() == SpvOpVariable) in LocalSingleBlockLoadStoreElim()
|
D | local_access_chain_convert_pass.h | 74 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, 80 void AppendConstantOperands(const Instruction* ptrInst, 87 const Instruction* ptrInst, uint32_t valId,
|
D | pass.cpp | 51 uint32_t Pass::GetPointeeTypeId(const Instruction* ptrInst) const { in GetPointeeTypeId() 52 const uint32_t ptrTypeId = ptrInst->type_id(); in GetPointeeTypeId()
|
D | pass.h | 110 uint32_t GetPointeeTypeId(const Instruction* ptrInst) const;
|
/third_party/spirv-tools/source/opt/ |
D | local_access_chain_convert_pass.cpp | 46 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, in BuildAndAppendVarLoad() argument 53 *varId = ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx); in BuildAndAppendVarLoad() 64 const Instruction* ptrInst, std::vector<Operand>* in_opnds) { in AppendConstantOperands() argument 66 ptrInst->ForEachInId([&iidIdx, &in_opnds, this](const uint32_t* iid) { in AppendConstantOperands() 122 const Instruction* ptrInst, uint32_t valId, in GenAccessChainStoreReplacement() argument 124 if (ptrInst->NumInOperands() == 1) { in GenAccessChainStoreReplacement() 130 {ptrInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx)}}, in GenAccessChainStoreReplacement() 140 BuildAndAppendVarLoad(ptrInst, &varId, &varPteTypeId, newInsts); in GenAccessChainStoreReplacement() 156 AppendConstantOperands(ptrInst, &ins_in_opnds); in GenAccessChainStoreReplacement() 215 Instruction* ptrInst = GetPtr(&*ii, &varId); in FindTargetVars() local [all …]
|
D | mem_pass.cpp | 83 Instruction* ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() local 84 while (ptrInst->opcode() == SpvOpCopyObject) { in IsPtr() 85 varId = ptrInst->GetSingleWordInOperand(kCopyObjectOperandInIdx); in IsPtr() 86 ptrInst = get_def_use_mgr()->GetDef(varId); in IsPtr() 88 const SpvOp op = ptrInst->opcode(); in IsPtr() 91 const uint32_t varTypeId = ptrInst->type_id(); in IsPtr() 98 Instruction* ptrInst = get_def_use_mgr()->GetDef(*varId); in GetPtr() local 101 if (ptrInst->opcode() == SpvOpConstantNull) { in GetPtr() 103 return ptrInst; in GetPtr() 106 if (ptrInst->opcode() != SpvOpVariable && in GetPtr() [all …]
|
D | local_single_block_elim_pass.cpp | 73 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 79 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 111 assert(IsNonPtrAccessChain(ptrInst->opcode())); in LocalSingleBlockLoadStoreElim() 119 Instruction* ptrInst = GetPtr(&*ii, &varId); in LocalSingleBlockLoadStoreElim() local 123 if (ptrInst->opcode() == SpvOpVariable) { in LocalSingleBlockLoadStoreElim() 148 if (ptrInst->opcode() == SpvOpVariable) in LocalSingleBlockLoadStoreElim()
|
D | local_access_chain_convert_pass.h | 74 const Instruction* ptrInst, uint32_t* varId, uint32_t* varPteTypeId, 80 void AppendConstantOperands(const Instruction* ptrInst, 87 const Instruction* ptrInst, uint32_t valId,
|
D | pass.cpp | 51 uint32_t Pass::GetPointeeTypeId(const Instruction* ptrInst) const { in GetPointeeTypeId() 52 const uint32_t ptrTypeId = ptrInst->type_id(); in GetPointeeTypeId()
|
D | pass.h | 110 uint32_t GetPointeeTypeId(const Instruction* ptrInst) const;
|