Home
last modified time | relevance | path

Searched refs:length_id (Results 1 – 22 of 22) sorted by relevance

/third_party/spirv-tools/source/opt/
Dinst_bindless_check_pass.cpp516 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
546 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
553 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
560 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
601 uint32_t length_id = 0; in GenDescIdxCheckCode() local
603 length_id = in GenDescIdxCheckCode()
606 Instruction* length_inst = get_def_use_mgr()->GetDef(length_id); in GenDescIdxCheckCode()
626 if (length_id == 0) { in GenDescIdxCheckCode()
629 length_id = GenDebugReadLength(ref.var_id, &builder); in GenDescIdxCheckCode()
635 uint32_t length_32b_id = Gen32BitCvtCode(length_id, &builder); in GenDescIdxCheckCode()
[all …]
Ddesc_sroa_util.cpp26 uint32_t length_id = type->GetSingleWordInOperand(1); in GetLengthOfArrayType() local
28 context->get_constant_mgr()->FindDeclaredConstant(length_id); in GetLengthOfArrayType()
Deliminate_dead_input_components_pass.cpp137 uint32_t length_id = const_mgr->GetUIntConst(length); in ChangeArrayLength() local
139 arr_ty->GetConstantLengthInfo(length_id, length)); in ChangeArrayLength()
Dinst_buff_addr_check_pass.h118 void GenCheckCode(uint32_t check_id, uint32_t error_id, uint32_t length_id,
Dtype_manager.cpp708 const uint32_t length_id = inst.GetSingleWordInOperand(1); in RecordIfTypeDefinition() local
709 const Instruction* length_constant_inst = id_to_constant_inst_[length_id]; in RecordIfTypeDefinition()
722 length_id, SpvDecorationSpecId, in RecordIfTypeDefinition()
744 extra_words.push_back(length_id); in RecordIfTypeDefinition()
747 Array::LengthInfo length_info{length_id, extra_words}; in RecordIfTypeDefinition()
Ddesc_sroa.cpp327 uint32_t length_id = type_inst->GetSingleWordInOperand(1); in GetNumBindingsUsedByType() local
329 context()->get_constant_mgr()->FindDeclaredConstant(length_id); in GetNumBindingsUsedByType()
Dinst_bindless_check_pass.h177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinst_bindless_check_pass.cpp523 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
553 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
560 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
567 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
608 uint32_t length_id = 0; in GenDescIdxCheckCode() local
610 length_id = in GenDescIdxCheckCode()
613 Instruction* length_inst = get_def_use_mgr()->GetDef(length_id); in GenDescIdxCheckCode()
633 if (length_id == 0) { in GenDescIdxCheckCode()
636 length_id = GenDebugReadLength(ref.var_id, &builder); in GenDescIdxCheckCode()
642 uint32_t length_32b_id = Gen32BitCvtCode(length_id, &builder); in GenDescIdxCheckCode()
[all …]
Ddesc_sroa_util.cpp26 uint32_t length_id = type->GetSingleWordInOperand(1); in GetLengthOfArrayType() local
28 context->get_constant_mgr()->FindDeclaredConstant(length_id); in GetLengthOfArrayType()
Dinst_buff_addr_check_pass.h118 void GenCheckCode(uint32_t check_id, uint32_t error_id, uint32_t length_id,
Dtype_manager.cpp708 const uint32_t length_id = inst.GetSingleWordInOperand(1); in RecordIfTypeDefinition() local
709 const Instruction* length_constant_inst = id_to_constant_inst_[length_id]; in RecordIfTypeDefinition()
722 length_id, SpvDecorationSpecId, in RecordIfTypeDefinition()
744 extra_words.push_back(length_id); in RecordIfTypeDefinition()
747 Array::LengthInfo length_info{length_id, extra_words}; in RecordIfTypeDefinition()
Ddesc_sroa.cpp326 uint32_t length_id = type_inst->GetSingleWordInOperand(1); in GetNumBindingsUsedByType() local
328 context()->get_constant_mgr()->FindDeclaredConstant(length_id); in GetNumBindingsUsedByType()
Dinst_bindless_check_pass.h177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_bindless_check_pass.cpp523 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref, in GenCheckCode() argument
553 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
560 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
567 uint32_t u_length_id = GenUintCastCode(length_id, &builder); in GenCheckCode()
608 uint32_t length_id = 0; in GenDescIdxCheckCode() local
610 length_id = in GenDescIdxCheckCode()
613 Instruction* length_inst = get_def_use_mgr()->GetDef(length_id); in GenDescIdxCheckCode()
633 if (length_id == 0) { in GenDescIdxCheckCode()
636 length_id = GenDebugReadLength(ref.var_id, &builder); in GenDescIdxCheckCode()
642 uint32_t length_32b_id = Gen32BitCvtCode(length_id, &builder); in GenDescIdxCheckCode()
[all …]
Ddesc_sroa_util.cpp26 uint32_t length_id = type->GetSingleWordInOperand(1); in GetLengthOfArrayType() local
28 context->get_constant_mgr()->FindDeclaredConstant(length_id); in GetLengthOfArrayType()
Dinst_buff_addr_check_pass.h118 void GenCheckCode(uint32_t check_id, uint32_t error_id, uint32_t length_id,
Dtype_manager.cpp708 const uint32_t length_id = inst.GetSingleWordInOperand(1); in RecordIfTypeDefinition() local
709 const Instruction* length_constant_inst = id_to_constant_inst_[length_id]; in RecordIfTypeDefinition()
722 length_id, SpvDecorationSpecId, in RecordIfTypeDefinition()
744 extra_words.push_back(length_id); in RecordIfTypeDefinition()
747 Array::LengthInfo length_info{length_id, extra_words}; in RecordIfTypeDefinition()
Ddesc_sroa.cpp327 uint32_t length_id = type_inst->GetSingleWordInOperand(1); in GetNumBindingsUsedByType() local
329 context()->get_constant_mgr()->FindDeclaredConstant(length_id); in GetNumBindingsUsedByType()
Dinst_bindless_check_pass.h177 uint32_t length_id, uint32_t stage_idx, RefAnalysis* ref,
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_type.cpp237 const auto length_id = inst->GetOperandAs<uint32_t>(length_index); in ValidateTypeArray() local
238 const auto length = _.FindDef(length_id); in ValidateTypeArray()
241 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
251 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
264 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
270 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_type.cpp237 const auto length_id = inst->GetOperandAs<uint32_t>(length_index); in ValidateTypeArray() local
238 const auto length = _.FindDef(length_id); in ValidateTypeArray()
241 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
251 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
264 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
270 << "OpTypeArray Length <id> '" << _.getIdName(length_id) in ValidateTypeArray()
/third_party/spirv-tools/source/val/
Dvalidate_type.cpp237 const auto length_id = inst->GetOperandAs<uint32_t>(length_index); in ValidateTypeArray() local
238 const auto length = _.FindDef(length_id); in ValidateTypeArray()
241 << "OpTypeArray Length <id> " << _.getIdName(length_id) in ValidateTypeArray()
251 << "OpTypeArray Length <id> " << _.getIdName(length_id) in ValidateTypeArray()
264 << "OpTypeArray Length <id> " << _.getIdName(length_id) in ValidateTypeArray()
270 << "OpTypeArray Length <id> " << _.getIdName(length_id) in ValidateTypeArray()