Searched refs:id_inst (Results 1 – 6 of 6) sorted by relevance
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()
1110 auto id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers() local1112 if (!workgroup && (id_inst->opcode() == SpvOpTypeArray || in CheckDecorationsOfBuffers()1113 id_inst->opcode() == SpvOpTypeRuntimeArray)) { in CheckDecorationsOfBuffers()1114 id = id_inst->GetOperandAs<uint32_t>(1u); in CheckDecorationsOfBuffers()1115 id_inst = vstate.FindDef(id); in CheckDecorationsOfBuffers()1118 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()
357 Instruction* id_inst = context()->get_def_use_mgr()->GetDef(id); in AllConstant() local358 if (!spvOpcodeIsConstant(id_inst->opcode())) return false; in AllConstant()