Home
last modified time | relevance | path

Searched refs:objInst (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcommon_uniform_elim_pass.cpp85 Instruction* objInst = ptrInst; in GetPtr() local
86 while (objInst->opcode() != SpvOpVariable && in GetPtr()
87 objInst->opcode() != SpvOpFunctionParameter) { in GetPtr()
88 if (IsNonPtrAccessChain(objInst->opcode())) { in GetPtr()
89 *objId = objInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx); in GetPtr()
91 assert(objInst->opcode() == SpvOpCopyObject); in GetPtr()
92 *objId = objInst->GetSingleWordInOperand(kCopyObjectOperandInIdx); in GetPtr()
94 objInst = get_def_use_mgr()->GetDef(*objId); in GetPtr()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcommon_uniform_elim_pass.cpp85 Instruction* objInst = ptrInst; in GetPtr() local
86 while (objInst->opcode() != SpvOpVariable && in GetPtr()
87 objInst->opcode() != SpvOpFunctionParameter) { in GetPtr()
88 if (IsNonPtrAccessChain(objInst->opcode())) { in GetPtr()
89 *objId = objInst->GetSingleWordInOperand(kAccessChainPtrIdInIdx); in GetPtr()
91 assert(objInst->opcode() == SpvOpCopyObject); in GetPtr()
92 *objId = objInst->GetSingleWordInOperand(kCopyObjectOperandInIdx); in GetPtr()
94 objInst = get_def_use_mgr()->GetDef(*objId); in GetPtr()