Searched refs:id_inst (Results 1 – 6 of 6) sorted by relevance
990 auto id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers() local992 if (!workgroup && (id_inst->opcode() == SpvOpTypeArray || in CheckDecorationsOfBuffers()993 id_inst->opcode() == SpvOpTypeRuntimeArray)) { in CheckDecorationsOfBuffers()994 id = id_inst->GetOperandAs<uint32_t>(1u); in CheckDecorationsOfBuffers()995 id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers()998 if (SpvOpTypeStruct != id_inst->opcode()) continue; in CheckDecorationsOfBuffers()
1008 auto id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers() local1010 if (!workgroup && (id_inst->opcode() == SpvOpTypeArray || in CheckDecorationsOfBuffers()1011 id_inst->opcode() == SpvOpTypeRuntimeArray)) { in CheckDecorationsOfBuffers()1012 id = id_inst->GetOperandAs<uint32_t>(1u); in CheckDecorationsOfBuffers()1013 id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers()1016 if (SpvOpTypeStruct != id_inst->opcode()) continue; in CheckDecorationsOfBuffers()
310 Instruction* id_inst = context()->get_def_use_mgr()->GetDef(id); in AllConstant() local311 if (!spvOpcodeIsConstant(id_inst->opcode())) return false; in AllConstant()