Searched refs:ptr_input (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | combine_access_chains.cpp | 120 bool CombineAccessChains::CombineIndices(Instruction* ptr_input, in CombineIndices() argument 127 ptr_input->GetSingleWordInOperand(ptr_input->NumInOperands() - 1)); in CombineIndices() 140 IsPtrAccessChain(ptr_input->opcode()) && ptr_input->NumInOperands() == 2; in CombineIndices() 142 const analysis::Type* type = GetIndexedType(ptr_input); in CombineIndices() 170 Instruction* ptr_input, Instruction* inst, in CreateNewInputOperands() argument 173 for (uint32_t i = 0; i != ptr_input->NumInOperands() - 1; ++i) { in CreateNewInputOperands() 174 new_operands->push_back(ptr_input->GetInOperand(i)); in CreateNewInputOperands() 181 if (!CombineIndices(ptr_input, inst, new_operands)) return false; in CreateNewInputOperands() 186 ptr_input->GetInOperand(ptr_input->NumInOperands() - 1)); in CreateNewInputOperands() 205 Instruction* ptr_input = in CombineAccessChain() local [all …]
|
D | combine_access_chains.h | 62 bool CreateNewInputOperands(Instruction* ptr_input, Instruction* inst, 67 bool CombineIndices(Instruction* ptr_input, Instruction* inst,
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | combine_access_chains.cpp | 120 bool CombineAccessChains::CombineIndices(Instruction* ptr_input, in CombineIndices() argument 127 ptr_input->GetSingleWordInOperand(ptr_input->NumInOperands() - 1)); in CombineIndices() 140 IsPtrAccessChain(ptr_input->opcode()) && ptr_input->NumInOperands() == 2; in CombineIndices() 142 const analysis::Type* type = GetIndexedType(ptr_input); in CombineIndices() 170 Instruction* ptr_input, Instruction* inst, in CreateNewInputOperands() argument 173 for (uint32_t i = 0; i != ptr_input->NumInOperands() - 1; ++i) { in CreateNewInputOperands() 174 new_operands->push_back(ptr_input->GetInOperand(i)); in CreateNewInputOperands() 181 if (!CombineIndices(ptr_input, inst, new_operands)) return false; in CreateNewInputOperands() 186 ptr_input->GetInOperand(ptr_input->NumInOperands() - 1)); in CreateNewInputOperands() 205 Instruction* ptr_input = in CombineAccessChain() local [all …]
|
D | combine_access_chains.h | 61 bool CreateNewInputOperands(Instruction* ptr_input, Instruction* inst, 66 bool CombineIndices(Instruction* ptr_input, Instruction* inst,
|