Home
last modified time | relevance | path

Searched refs:index_id (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_access_chain.cpp31 const std::vector<uint32_t>& index_id, in TransformationAccessChain()
36 for (auto id : index_id) { in TransformationAccessChain()
113 for (auto index_id : message_.index_id()) { in IsApplicable()
125 GetStructIndexValue(ir_context, index_id, subobject_type_id); in IsApplicable()
156 if (!ValidIndexToComposite(ir_context, index_id, subobject_type_id)) { in IsApplicable()
161 auto index_instruction = ir_context->get_def_use_mgr()->GetDef(index_id); in IsApplicable()
237 for (auto index_id : message_.index_id()) { in Apply()
250 GetStructIndexValue(ir_context, index_id, subobject_type_i in Apply()
29 TransformationAccessChain( uint32_t fresh_id, uint32_t pointer_id, const std::vector<uint32_t>& index_id, const protobufs::InstructionDescriptor& instruction_to_insert_before, const std::vector<std::pair<uint32_t, uint32_t>>& fresh_ids_for_clamping) TransformationAccessChain() argument
366 GetStructIndexValue( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) const GetStructIndexValue() argument
394 ValidIndexToComposite( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) ValidIndexToComposite() argument
[all...]
H A Dtransformation_access_chain.h35 const std::vector<uint32_t>& index_id,
46 // - |message_.index_id| must be a sequence of ids of 32-bit integers
63 // |message_.fresh_id| = OpAccessChain %ptr |message_.index_id|
66 // the indices in |message_.index_id|, and with the same storage class as
85 // - |index_id| does not correspond to a 32-bit integer constant
87 // - the constant at |index_id| is out of bounds.
89 // at |index_id|.
91 uint32_t index_id,
94 // Returns true if |index_id| corresponds, in the given context, to a 32-bit
98 uint32_t index_id, uint32_
[all...]
H A Dtransformation_add_function.cpp823 const uint32_t index_id = access_chain_inst->GetSingleWordInOperand(index); in TryToClampAccessChainIndices() local
824 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices()
892 FollowCompositeIndex(ir_context, *should_be_composite_type, index_id); in TryToClampAccessChainIndices()
899 uint32_t index_id) { in FollowCompositeIndex()
911 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex()
897 FollowCompositeIndex( opt::IRContext* ir_context, const opt::Instruction& composite_type_inst, uint32_t index_id) FollowCompositeIndex() argument
H A Dtransformation_add_function.h64 // type of the sub-object at index |index_id|, which is required to be in-
68 uint32_t index_id);
H A Dfuzzer_pass_donate_modules.cpp1161 const uint32_t index_id = inst.GetSingleWordInOperand(index); in MaybeAddLivesafeFunction() local
1163 donor_ir_context->get_def_use_mgr()->GetDef(index_id); in MaybeAddLivesafeFunction()
1180 donor_ir_context, *should_be_composite_type, index_id); in MaybeAddLivesafeFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_access_chain.cpp31 const std::vector<uint32_t>& index_id, in TransformationAccessChain()
36 for (auto id : index_id) { in TransformationAccessChain()
113 for (auto index_id : message_.index_id()) { in IsApplicable()
125 GetStructIndexValue(ir_context, index_id, subobject_type_id); in IsApplicable()
156 if (!ValidIndexToComposite(ir_context, index_id, subobject_type_id)) { in IsApplicable()
161 auto index_instruction = ir_context->get_def_use_mgr()->GetDef(index_id); in IsApplicable()
237 for (auto index_id : message_.index_id()) { in Apply()
250 GetStructIndexValue(ir_context, index_id, subobject_type_i in Apply()
29 TransformationAccessChain( uint32_t fresh_id, uint32_t pointer_id, const std::vector<uint32_t>& index_id, const protobufs::InstructionDescriptor& instruction_to_insert_before, const std::vector<std::pair<uint32_t, uint32_t>>& fresh_ids_for_clamping) TransformationAccessChain() argument
366 GetStructIndexValue( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) const GetStructIndexValue() argument
394 ValidIndexToComposite( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) ValidIndexToComposite() argument
[all...]
H A Dtransformation_access_chain.h35 const std::vector<uint32_t>& index_id,
46 // - |message_.index_id| must be a sequence of ids of 32-bit integers
63 // |message_.fresh_id| = OpAccessChain %ptr |message_.index_id|
66 // the indices in |message_.index_id|, and with the same storage class as
85 // - |index_id| does not correspond to a 32-bit integer constant
87 // - the constant at |index_id| is out of bounds.
89 // at |index_id|.
91 uint32_t index_id,
94 // Returns true if |index_id| corresponds, in the given context, to a 32-bit
98 uint32_t index_id, uint32_
[all...]
H A Dtransformation_add_function.cpp823 const uint32_t index_id = access_chain_inst->GetSingleWordInOperand(index); in TryToClampAccessChainIndices() local
824 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices()
892 FollowCompositeIndex(ir_context, *should_be_composite_type, index_id); in TryToClampAccessChainIndices()
899 uint32_t index_id) { in FollowCompositeIndex()
911 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex()
897 FollowCompositeIndex( opt::IRContext* ir_context, const opt::Instruction& composite_type_inst, uint32_t index_id) FollowCompositeIndex() argument
H A Dtransformation_add_function.h64 // type of the sub-object at index |index_id|, which is required to be in-
68 uint32_t index_id);
H A Dfuzzer_pass_donate_modules.cpp1161 const uint32_t index_id = inst.GetSingleWordInOperand(index); in MaybeAddLivesafeFunction() local
1163 donor_ir_context->get_def_use_mgr()->GetDef(index_id); in MaybeAddLivesafeFunction()
1180 donor_ir_context, *should_be_composite_type, index_id); in MaybeAddLivesafeFunction()
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_access_chain.cpp31 const std::vector<uint32_t>& index_id, in TransformationAccessChain()
36 for (auto id : index_id) { in TransformationAccessChain()
113 for (auto index_id : message_.index_id()) { in IsApplicable()
125 GetStructIndexValue(ir_context, index_id, subobject_type_id); in IsApplicable()
156 if (!ValidIndexToComposite(ir_context, index_id, subobject_type_id)) { in IsApplicable()
161 auto index_instruction = ir_context->get_def_use_mgr()->GetDef(index_id); in IsApplicable()
237 for (auto index_id : message_.index_id()) { in Apply()
250 GetStructIndexValue(ir_context, index_id, subobject_type_i in Apply()
29 TransformationAccessChain( uint32_t fresh_id, uint32_t pointer_id, const std::vector<uint32_t>& index_id, const protobufs::InstructionDescriptor& instruction_to_insert_before, const std::vector<std::pair<uint32_t, uint32_t>>& fresh_ids_for_clamping) TransformationAccessChain() argument
368 GetStructIndexValue( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) const GetStructIndexValue() argument
396 ValidIndexToComposite( opt::IRContext* ir_context, uint32_t index_id, uint32_t object_type_id) ValidIndexToComposite() argument
[all...]
H A Dtransformation_access_chain.h35 const std::vector<uint32_t>& index_id,
46 // - |message_.index_id| must be a sequence of ids of 32-bit integers
63 // |message_.fresh_id| = OpAccessChain %ptr |message_.index_id|
66 // the indices in |message_.index_id|, and with the same storage class as
85 // - |index_id| does not correspond to a 32-bit integer constant
87 // - the constant at |index_id| is out of bounds.
89 // at |index_id|.
91 uint32_t index_id,
94 // Returns true if |index_id| corresponds, in the given context, to a 32-bit
98 uint32_t index_id, uint32_
[all...]
H A Dtransformation_add_function.cpp830 const uint32_t index_id = access_chain_inst->GetSingleWordInOperand(index); in TryToClampAccessChainIndices() local
831 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices()
900 FollowCompositeIndex(ir_context, *should_be_composite_type, index_id); in TryToClampAccessChainIndices()
907 uint32_t index_id) { in FollowCompositeIndex()
919 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex()
905 FollowCompositeIndex( opt::IRContext* ir_context, const opt::Instruction& composite_type_inst, uint32_t index_id) FollowCompositeIndex() argument
H A Dtransformation_add_function.h64 // type of the sub-object at index |index_id|, which is required to be in-
68 uint32_t index_id);
H A Dfuzzer_pass_donate_modules.cpp1166 const uint32_t index_id = inst.GetSingleWordInOperand(index); in MaybeAddLivesafeFunction() local
1168 donor_ir_context->get_def_use_mgr()->GetDef(index_id); in MaybeAddLivesafeFunction()
1185 donor_ir_context, *should_be_composite_type, index_id); in MaybeAddLivesafeFunction()
/third_party/spirv-tools/source/opt/
H A Dinst_bindless_check_pass.h50 uint32_t var_id, uint32_t index_id,
H A Dinterface_var_sroa.cpp477 for (uint32_t index_id : index_ids) { in CreateAccessChainToVar()
478 new_access_chain->AddOperand({SPV_OPERAND_TYPE_ID, {index_id}}); in CreateAccessChainToVar()
492 uint32_t index_id = context()->get_constant_mgr()->GetUIntConstId(index); in CreateAccessChainWithIndex() local
497 {SPV_OPERAND_TYPE_ID, {index_id}}, in CreateAccessChainWithIndex()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dinst_bindless_check_pass.h118 // descriptor array |image_id| at |index_id| from debug input buffer and
120 uint32_t GenDebugReadInit(uint32_t image_id, uint32_t index_id,
H A Dir_builder.h468 for (uint32_t index_id : ids) { in AddAccessChain()
469 operands.push_back({SPV_OPERAND_TYPE_ID, {index_id}}); in AddAccessChain()
H A Dgraphics_robust_access_pass.cpp485 const uint32_t index_id = inst.GetSingleWordOperand(idx); in ClampIndicesForAccessChain() local
486 Instruction* index_inst = GetDef(index_id); in ClampIndicesForAccessChain()
H A Dscalar_replacement_pass.cpp962 uint32_t index_id = use->GetSingleWordInOperand(1); in GetUsedComponents()
964 const_mgr->FindDeclaredConstant(index_id); in GetUsedComponents()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dinst_bindless_check_pass.h118 // descriptor array |image_id| at |index_id| from debug input buffer and
120 uint32_t GenDebugReadInit(uint32_t image_id, uint32_t index_id,
H A Dir_builder.h468 for (uint32_t index_id : ids) { in AddAccessChain()
469 operands.push_back({SPV_OPERAND_TYPE_ID, {index_id}}); in AddAccessChain()
H A Dgraphics_robust_access_pass.cpp485 const uint32_t index_id = inst.GetSingleWordOperand(idx); in ClampIndicesForAccessChain() local
486 Instruction* index_inst = GetDef(index_id); in ClampIndicesForAccessChain()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_acceleration_structure.c848 nir_ssa_def *index_id = nir_umul24(b, id, nir_imm_int(b, 6)); in get_indices() local
852 b, 1, 16, nir_iadd(b, addr, nir_u2u64(b, nir_iadd_imm(b, index_id, 2 * i)))); in get_indices()
858 nir_ssa_def *index_id = nir_umul24(b, id, nir_imm_int(b, 12)); in get_indices() local
860 nir_build_load_global(b, 3, 32, nir_iadd(b, addr, nir_u2u64(b, index_id))); in get_indices()
866 nir_ssa_def *index_id = nir_umul24(b, id, nir_imm_int(b, 3)); in get_indices() local
868 index_id, in get_indices()
869 nir_iadd_imm(b, index_id, 1), in get_indices()
870 nir_iadd_imm(b, index_id, 2), in get_indices()

Completed in 27 milliseconds

12