/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 304 Instruction* index_inst = in ClampIndicesForAccessChain() local 307 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 350 if (auto* index_constant = constant_mgr->GetConstantFromInst(index_inst)) { in ClampIndicesForAccessChain() 379 << index_inst->PrettyPrint(); in ClampIndicesForAccessChain() 396 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain() 397 index_inst, &inst); in ClampIndicesForAccessChain() 401 return clamp_index(operand_index, index_inst, in ClampIndicesForAccessChain() 415 Instruction* index_inst = in ClampIndicesForAccessChain() local 418 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 446 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain() [all …]
|
D | combine_access_chains.cpp | 108 Instruction* index_inst = in GetIndexedType() local 111 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType() 285 Instruction* index_inst = in Has64BitIndices() local 288 context()->get_type_mgr()->GetType(index_inst->type_id()); in Has64BitIndices()
|
D | upgrade_memory_model.cpp | 422 Instruction* index_inst = context()->get_def_use_mgr()->GetDef(index); in CheckType() local 423 assert(index_inst->opcode() == spv::Op::OpConstant); in CheckType() 424 uint64_t value = GetIndexValue(index_inst); in CheckType() 491 uint64_t UpgradeMemoryModel::GetIndexValue(Instruction* index_inst) { in GetIndexValue() argument 493 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
|
D | upgrade_memory_model.h | 115 uint64_t GetIndexValue(Instruction* index_inst);
|
D | inst_bindless_check_pass.cpp | 620 Instruction* index_inst = get_def_use_mgr()->GetDef(ref.desc_idx_id); in GenDescIdxCheckCode() local 622 if (index_inst->opcode() == spv::Op::OpConstant && in GenDescIdxCheckCode() 624 index_inst->GetSingleWordInOperand(kSpvConstantValueInIdx) < in GenDescIdxCheckCode()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | graphics_robust_access_pass.cpp | 298 Instruction* index_inst = in ClampIndicesForAccessChain() local 301 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 344 if (auto* index_constant = constant_mgr->GetConstantFromInst(index_inst)) { in ClampIndicesForAccessChain() 373 << index_inst->PrettyPrint(); in ClampIndicesForAccessChain() 390 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain() 391 index_inst, &inst); in ClampIndicesForAccessChain() 395 return clamp_index(operand_index, index_inst, in ClampIndicesForAccessChain() 409 Instruction* index_inst = in ClampIndicesForAccessChain() local 412 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 440 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain() [all …]
|
D | combine_access_chains.cpp | 108 Instruction* index_inst = in GetIndexedType() local 111 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType() 285 Instruction* index_inst = in Has64BitIndices() local 288 context()->get_type_mgr()->GetType(index_inst->type_id()); in Has64BitIndices()
|
D | upgrade_memory_model.cpp | 422 Instruction* index_inst = context()->get_def_use_mgr()->GetDef(index); in CheckType() local 423 assert(index_inst->opcode() == spv::Op::OpConstant); in CheckType() 424 uint64_t value = GetIndexValue(index_inst); in CheckType() 491 uint64_t UpgradeMemoryModel::GetIndexValue(Instruction* index_inst) { in GetIndexValue() argument 493 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
|
D | upgrade_memory_model.h | 115 uint64_t GetIndexValue(Instruction* index_inst);
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | graphics_robust_access_pass.cpp | 303 Instruction* index_inst = in ClampIndicesForAccessChain() local 306 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 349 if (auto* index_constant = constant_mgr->GetConstantFromInst(index_inst)) { in ClampIndicesForAccessChain() 378 << index_inst->PrettyPrint(); in ClampIndicesForAccessChain() 395 index_inst = WidenInteger(index_type->IsSigned(), maxval_width, in ClampIndicesForAccessChain() 396 index_inst, &inst); in ClampIndicesForAccessChain() 400 return clamp_index(operand_index, index_inst, in ClampIndicesForAccessChain() 414 Instruction* index_inst = in ClampIndicesForAccessChain() local 417 type_mgr->GetType(index_inst->type_id())->AsInteger(); in ClampIndicesForAccessChain() 445 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain() [all …]
|
D | combine_access_chains.cpp | 108 Instruction* index_inst = in GetIndexedType() local 111 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType() 283 Instruction* index_inst = in Has64BitIndices() local 286 context()->get_type_mgr()->GetType(index_inst->type_id()); in Has64BitIndices()
|
D | upgrade_memory_model.cpp | 418 Instruction* index_inst = context()->get_def_use_mgr()->GetDef(index); in CheckType() local 419 assert(index_inst->opcode() == SpvOpConstant); in CheckType() 420 uint64_t value = GetIndexValue(index_inst); in CheckType() 487 uint64_t UpgradeMemoryModel::GetIndexValue(Instruction* index_inst) { in GetIndexValue() argument 489 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
|
D | upgrade_memory_model.h | 115 uint64_t GetIndexValue(Instruction* index_inst);
|
D | inst_bindless_check_pass.cpp | 605 Instruction* index_inst = get_def_use_mgr()->GetDef(ref.desc_idx_id); in GenDescIdxCheckCode() local 607 if (index_inst->opcode() == SpvOpConstant && in GenDescIdxCheckCode() 609 index_inst->GetSingleWordInOperand(kSpvConstantValueInIdx) < in GenDescIdxCheckCode()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_add_function.cpp | 824 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices() local 826 ir_context->get_def_use_mgr()->GetDef(index_inst->type_id()); in TryToClampAccessChainIndices() 834 if (index_inst->opcode() != SpvOpConstant || in TryToClampAccessChainIndices() 835 index_inst->GetSingleWordInOperand(0) >= bound) { in TryToClampAccessChainIndices() 871 {{SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 880 {SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 911 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex() local 912 assert(index_inst->opcode() == SpvOpConstant); in FollowCompositeIndex() 914 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() 917 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() [all …]
|
D | fuzzer_pass_donate_modules.cpp | 1162 auto index_inst = in MaybeAddLivesafeFunction() local 1165 index_inst->type_id()); in MaybeAddLivesafeFunction() 1171 if (index_inst->opcode() != SpvOpConstant) { in MaybeAddLivesafeFunction()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | transformation_add_function.cpp | 831 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices() local 833 ir_context->get_def_use_mgr()->GetDef(index_inst->type_id()); in TryToClampAccessChainIndices() 841 if (index_inst->opcode() != spv::Op::OpConstant || in TryToClampAccessChainIndices() 842 index_inst->GetSingleWordInOperand(0) >= bound) { in TryToClampAccessChainIndices() 878 {{SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 888 {SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 919 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex() local 920 assert(index_inst->opcode() == spv::Op::OpConstant); in FollowCompositeIndex() 922 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() 925 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() [all …]
|
D | fuzzer_pass_donate_modules.cpp | 1167 auto index_inst = in MaybeAddLivesafeFunction() local 1170 index_inst->type_id()); in MaybeAddLivesafeFunction() 1176 if (index_inst->opcode() != spv::Op::OpConstant) { in MaybeAddLivesafeFunction()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_function.cpp | 831 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in TryToClampAccessChainIndices() local 833 ir_context->get_def_use_mgr()->GetDef(index_inst->type_id()); in TryToClampAccessChainIndices() 841 if (index_inst->opcode() != spv::Op::OpConstant || in TryToClampAccessChainIndices() 842 index_inst->GetSingleWordInOperand(0) >= bound) { in TryToClampAccessChainIndices() 878 {{SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 888 {SPV_OPERAND_TYPE_ID, {index_inst->result_id()}}, in TryToClampAccessChainIndices() 919 auto index_inst = ir_context->get_def_use_mgr()->GetDef(index_id); in FollowCompositeIndex() local 920 assert(index_inst->opcode() == spv::Op::OpConstant); in FollowCompositeIndex() 922 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() 925 ->GetDef(index_inst->type_id()) in FollowCompositeIndex() [all …]
|
D | fuzzer_pass_donate_modules.cpp | 1167 auto index_inst = in MaybeAddLivesafeFunction() local 1170 index_inst->type_id()); in MaybeAddLivesafeFunction() 1176 if (index_inst->opcode() != spv::Op::OpConstant) { in MaybeAddLivesafeFunction()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_extensions.cpp | 3229 auto index_inst = _.FindDef(inst->word(word_index)); in ValidateExtInst() local 3230 auto type_id = index_inst != nullptr ? index_inst->type_id() : 0; in ValidateExtInst()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_extensions.cpp | 3535 auto index_inst = _.FindDef(inst->word(word_index)); in ValidateExtInst() local 3536 auto type_id = index_inst != nullptr ? index_inst->type_id() : 0; in ValidateExtInst()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_extensions.cpp | 3531 auto index_inst = _.FindDef(inst->word(word_index)); in ValidateExtInst() local 3532 auto type_id = index_inst != nullptr ? index_inst->type_id() : 0; in ValidateExtInst()
|