/third_party/spirv-tools/source/opt/ |
D | relax_float_ops_pass.cpp | 35 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()
|
D | convert_to_half_pass.cpp | 40 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()
|
D | pass.cpp | 57 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()
|
D | pass.h | 113 Instruction* GetBaseType(uint32_t ty_id); 117 bool IsFloat(uint32_t ty_id, uint32_t width);
|
D | inst_bindless_check_pass.h | 139 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);
|
D | instruction.h | 201 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()
|
D | convert_to_half_pass.h | 70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
|
D | inst_bindless_check_pass.cpp | 313 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/ |
D | relax_float_ops_pass.cpp | 35 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()
|
D | pass.cpp | 57 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()
|
D | convert_to_half_pass.cpp | 40 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()
|
D | pass.h | 113 Instruction* GetBaseType(uint32_t ty_id); 117 bool IsFloat(uint32_t ty_id, uint32_t width);
|
D | inst_bindless_check_pass.h | 139 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);
|
D | instruction.h | 203 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()
|
D | convert_to_half_pass.h | 70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | relax_float_ops_pass.cpp | 35 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()
|
D | pass.cpp | 57 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()
|
D | convert_to_half_pass.cpp | 40 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()
|
D | pass.h | 113 Instruction* GetBaseType(uint32_t ty_id); 117 bool IsFloat(uint32_t ty_id, uint32_t width);
|
D | inst_bindless_check_pass.h | 139 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);
|
D | instruction.h | 203 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()
|
D | convert_to_half_pass.h | 70 uint32_t EquivFloatTypeId(uint32_t ty_id, uint32_t width);
|
D | inst_bindless_check_pass.cpp | 313 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/ |
D | instruction.h | 89 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()
|
D | instruction.cpp | 41 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()
|