Home
last modified time | relevance | path

Searched refs:ty_id (Results 1 – 25 of 29) sorted by relevance

12

/third_party/spirv-tools/source/opt/
Drelax_float_ops_pass.cpp35 uint32_t ty_id; in IsFloat32() local
39 ty_id = opnd_inst->type_id(); in IsFloat32()
41 ty_id = inst->type_id(); in IsFloat32()
42 if (ty_id == 0) return false; in IsFloat32()
44 return IsFloat(ty_id, 32); in IsFloat32()
Dconvert_to_half_pass.cpp40 uint32_t ty_id = inst->type_id(); in IsFloat() local
41 if (ty_id == 0) return false; in IsFloat()
42 return Pass::IsFloat(ty_id, width); in IsFloat()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId() argument
84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId()
98 uint32_t ty_id = val_inst->type_id(); in GenConvert() local
99 uint32_t nty_id = EquivFloatTypeId(ty_id, width); in GenConvert()
100 if (nty_id == ty_id) return; in GenConvert()
Dpass.cpp57 Instruction* Pass::GetBaseType(uint32_t ty_id) { in GetBaseType() argument
58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType()
70 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() argument
71 Instruction* ty_inst = GetBaseType(ty_id); in IsFloat()
Dpass.h113 Instruction* GetBaseType(uint32_t ty_id);
117 bool IsFloat(uint32_t ty_id, uint32_t width);
Dinst_bindless_check_pass.h139 uint32_t ByteSize(uint32_t ty_id, uint32_t matrix_stride, bool col_major,
144 uint32_t FindStride(uint32_t ty_id, uint32_t stride_deco);
Dinstruction.h201 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id,
300 inline void SetResultType(uint32_t ty_id);
677 inline void Instruction::SetResultType(uint32_t ty_id) { in SetResultType() argument
686 assert(ty_id != 0); in SetResultType()
688 operands_.front().words = {ty_id}; in SetResultType()
Dconvert_to_half_pass.h70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
Dinst_bindless_check_pass.cpp313 uint32_t InstBindlessCheckPass::FindStride(uint32_t ty_id, in FindStride() argument
317 ty_id, stride_deco, [&stride](const Instruction& deco_inst) { in FindStride()
325 uint32_t InstBindlessCheckPass::ByteSize(uint32_t ty_id, uint32_t matrix_stride, in ByteSize() argument
328 const analysis::Type* sz_ty = type_mgr->GetType(ty_id); in ByteSize()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Drelax_float_ops_pass.cpp35 uint32_t ty_id; in IsFloat32() local
39 ty_id = opnd_inst->type_id(); in IsFloat32()
41 ty_id = inst->type_id(); in IsFloat32()
42 if (ty_id == 0) return false; in IsFloat32()
44 return IsFloat(ty_id, 32); in IsFloat32()
Dpass.cpp57 Instruction* Pass::GetBaseType(uint32_t ty_id) { in GetBaseType() argument
58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType()
70 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() argument
71 Instruction* ty_inst = GetBaseType(ty_id); in IsFloat()
Dconvert_to_half_pass.cpp40 uint32_t ty_id = inst->type_id(); in IsFloat() local
41 if (ty_id == 0) return false; in IsFloat()
42 return Pass::IsFloat(ty_id, width); in IsFloat()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId() argument
84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId()
98 uint32_t ty_id = val_inst->type_id(); in GenConvert() local
99 uint32_t nty_id = EquivFloatTypeId(ty_id, width); in GenConvert()
100 if (nty_id == ty_id) return; in GenConvert()
Dpass.h113 Instruction* GetBaseType(uint32_t ty_id);
117 bool IsFloat(uint32_t ty_id, uint32_t width);
Dinst_bindless_check_pass.h139 uint32_t ByteSize(uint32_t ty_id, uint32_t matrix_stride, bool col_major,
144 uint32_t FindStride(uint32_t ty_id, uint32_t stride_deco);
Dinstruction.h203 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id,
297 inline void SetResultType(uint32_t ty_id);
710 inline void Instruction::SetResultType(uint32_t ty_id) { in SetResultType() argument
719 assert(ty_id != 0); in SetResultType()
721 operands_.front().words = {ty_id}; in SetResultType()
Dconvert_to_half_pass.h70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Drelax_float_ops_pass.cpp35 uint32_t ty_id; in IsFloat32() local
39 ty_id = opnd_inst->type_id(); in IsFloat32()
41 ty_id = inst->type_id(); in IsFloat32()
42 if (ty_id == 0) return false; in IsFloat32()
44 return IsFloat(ty_id, 32); in IsFloat32()
Dpass.cpp57 Instruction* Pass::GetBaseType(uint32_t ty_id) { in GetBaseType() argument
58 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in GetBaseType()
70 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() argument
71 Instruction* ty_inst = GetBaseType(ty_id); in IsFloat()
Dconvert_to_half_pass.cpp40 uint32_t ty_id = inst->type_id(); in IsFloat() local
41 if (ty_id == 0) return false; in IsFloat()
42 return Pass::IsFloat(ty_id, width); in IsFloat()
82 uint32_t ConvertToHalfPass::EquivFloatTypeId(uint32_t ty_id, uint32_t width) { in EquivFloatTypeId() argument
84 Instruction* ty_inst = get_def_use_mgr()->GetDef(ty_id); in EquivFloatTypeId()
98 uint32_t ty_id = val_inst->type_id(); in GenConvert() local
99 uint32_t nty_id = EquivFloatTypeId(ty_id, width); in GenConvert()
100 if (nty_id == ty_id) return; in GenConvert()
Dpass.h113 Instruction* GetBaseType(uint32_t ty_id);
117 bool IsFloat(uint32_t ty_id, uint32_t width);
Dinst_bindless_check_pass.h139 uint32_t ByteSize(uint32_t ty_id, uint32_t matrix_stride, bool col_major,
144 uint32_t FindStride(uint32_t ty_id, uint32_t stride_deco);
Dinstruction.h203 Instruction(IRContext* c, SpvOp op, uint32_t ty_id, uint32_t res_id,
297 inline void SetResultType(uint32_t ty_id);
710 inline void Instruction::SetResultType(uint32_t ty_id) { in SetResultType() argument
719 assert(ty_id != 0); in SetResultType()
721 operands_.front().words = {ty_id}; in SetResultType()
Dconvert_to_half_pass.h70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
Dinst_bindless_check_pass.cpp313 uint32_t InstBindlessCheckPass::FindStride(uint32_t ty_id, in FindStride() argument
317 ty_id, stride_deco, [&stride](const Instruction& deco_inst) { in FindStride()
325 uint32_t InstBindlessCheckPass::ByteSize(uint32_t ty_id, uint32_t matrix_stride, in ByteSize() argument
328 const analysis::Type* sz_ty = type_mgr->GetType(ty_id); in ByteSize()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinstruction.h89 Instruction(SpvOp op, uint32_t ty_id, uint32_t res_id,
139 inline void SetResultType(uint32_t ty_id);
215 inline void Instruction::SetResultType(uint32_t ty_id) { in SetResultType() argument
217 type_id_ = ty_id; in SetResultType()
219 operands_.front().words = {ty_id}; in SetResultType()
Dinstruction.cpp41 Instruction::Instruction(SpvOp op, uint32_t ty_id, uint32_t res_id, in Instruction() argument
43 : opcode_(op), type_id_(ty_id), result_id_(res_id), operands_() { in Instruction()

12