Searched refs:ty_inst (Results 1 – 6 of 6) sorted by relevance
58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType() local59 if (ty_inst->opcode() == SpvOpTypeMatrix) { in GetBaseType()60 uint32_t vty_id = ty_inst->GetSingleWordInOperand(0); in GetBaseType()61 ty_inst = get_def_use_mgr()->GetDef(vty_id); in GetBaseType()63 if (ty_inst->opcode() == SpvOpTypeVector) { in GetBaseType()64 uint32_t cty_id = ty_inst->GetSingleWordInOperand(0); in GetBaseType()65 ty_inst = get_def_use_mgr()->GetDef(cty_id); in GetBaseType()67 return ty_inst; in GetBaseType()71 Instruction* ty_inst = GetBaseType(ty_id); in IsFloat() local72 if (ty_inst->opcode() != SpvOpTypeFloat) return false; in IsFloat()[all …]
84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId() local85 if (ty_inst->opcode() == SpvOpTypeMatrix) in EquivFloatTypeId()86 reg_equiv_ty = FloatMatrixType(ty_inst->GetSingleWordInOperand(1), in EquivFloatTypeId()87 ty_inst->GetSingleWordInOperand(0), width); in EquivFloatTypeId()88 else if (ty_inst->opcode() == SpvOpTypeVector) in EquivFloatTypeId()89 reg_equiv_ty = FloatVectorType(ty_inst->GetSingleWordInOperand(1), width); in EquivFloatTypeId()