Home
last modified time | relevance | path

Searched refs:ty_inst (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpass.cpp58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType() local
59 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() local
72 if (ty_inst->opcode() != SpvOpTypeFloat) return false; in IsFloat()
[all …]
Dconvert_to_half_pass.cpp84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId() local
85 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()
/third_party/spirv-tools/source/opt/
Dpass.cpp58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType() local
59 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() local
72 if (ty_inst->opcode() != SpvOpTypeFloat) return false; in IsFloat()
[all …]
Dconvert_to_half_pass.cpp84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId() local
85 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass.cpp58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType() local
59 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() local
72 if (ty_inst->opcode() != SpvOpTypeFloat) return false; in IsFloat()
[all …]
Dconvert_to_half_pass.cpp84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId() local
85 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()