Home
last modified time | relevance | path

Searched refs:GetSingleWordOperand (Results 1 – 25 of 108) sorted by relevance

12345

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dccp_pass.cpp62 uint32_t phi_arg_id = phi->GetSingleWordOperand(i); in VisitPhi()
186 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch()
201 dest_label = instr->GetSingleWordOperand(2u); in VisitBranch()
204 dest_label = val->value() ? instr->GetSingleWordOperand(1) in VisitBranch()
205 : instr->GetSingleWordOperand(2); in VisitBranch()
217 uint32_t select_id = instr->GetSingleWordOperand(0); in VisitBranch()
241 dest_label = instr->GetSingleWordOperand(1); in VisitBranch()
243 if (constant_cond == instr->GetSingleWordOperand(i)) { in VisitBranch()
244 dest_label = instr->GetSingleWordOperand(i + 1); in VisitBranch()
Dstrip_atomic_counter_memory_pass.cpp28 auto mem_sem_id = inst->GetSingleWordOperand(idx); in Process()
32 auto mem_sem_val = mem_sem_inst->GetSingleWordOperand(2); in Process()
Dgraphics_robust_access_pass.cpp213 const auto addressing_model = inst->GetSingleWordOperand(0); in IsCompatibleModule()
303 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
410 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
480 const uint32_t index_id = inst.GetSingleWordOperand(idx); in ClampIndicesForAccessChain()
487 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain()
489 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain()
497 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
542 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
738 GetDef(current_access_chain->GetSingleWordOperand( in MakeRuntimeArrayLengthInst()
Ddead_variable_elimination.cpp49 if (linkage_instruction.GetSingleWordOperand(last_operand) == in Process()
91 get_def_use_mgr()->GetDef(inst->GetSingleWordOperand(3)); in DeleteVariable()
/external/angle/third_party/spirv-tools/src/source/opt/
Dccp_pass.cpp62 uint32_t phi_arg_id = phi->GetSingleWordOperand(i); in VisitPhi()
186 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch()
201 dest_label = instr->GetSingleWordOperand(2u); in VisitBranch()
204 dest_label = val->value() ? instr->GetSingleWordOperand(1) in VisitBranch()
205 : instr->GetSingleWordOperand(2); in VisitBranch()
217 uint32_t select_id = instr->GetSingleWordOperand(0); in VisitBranch()
241 dest_label = instr->GetSingleWordOperand(1); in VisitBranch()
243 if (constant_cond == instr->GetSingleWordOperand(i)) { in VisitBranch()
244 dest_label = instr->GetSingleWordOperand(i + 1); in VisitBranch()
Dstrip_atomic_counter_memory_pass.cpp28 auto mem_sem_id = inst->GetSingleWordOperand(idx); in Process()
32 auto mem_sem_val = mem_sem_inst->GetSingleWordOperand(2); in Process()
Dgraphics_robust_access_pass.cpp213 const auto addressing_model = inst->GetSingleWordOperand(0); in IsCompatibleModule()
303 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
410 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
480 const uint32_t index_id = inst.GetSingleWordOperand(idx); in ClampIndicesForAccessChain()
487 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain()
489 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain()
497 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
542 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
738 GetDef(current_access_chain->GetSingleWordOperand( in MakeRuntimeArrayLengthInst()
Ddead_variable_elimination.cpp49 if (linkage_instruction.GetSingleWordOperand(last_operand) == in Process()
91 get_def_use_mgr()->GetDef(inst->GetSingleWordOperand(3)); in DeleteVariable()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dccp_pass.cpp62 uint32_t phi_arg_id = phi->GetSingleWordOperand(i); in VisitPhi()
186 uint32_t pred_id = instr->GetSingleWordOperand(0); in VisitBranch()
201 dest_label = instr->GetSingleWordOperand(2u); in VisitBranch()
204 dest_label = val->value() ? instr->GetSingleWordOperand(1) in VisitBranch()
205 : instr->GetSingleWordOperand(2); in VisitBranch()
217 uint32_t select_id = instr->GetSingleWordOperand(0); in VisitBranch()
241 dest_label = instr->GetSingleWordOperand(1); in VisitBranch()
243 if (constant_cond == instr->GetSingleWordOperand(i)) { in VisitBranch()
244 dest_label = instr->GetSingleWordOperand(i + 1); in VisitBranch()
Dstrip_atomic_counter_memory_pass.cpp28 auto mem_sem_id = inst->GetSingleWordOperand(idx); in Process()
32 auto mem_sem_val = mem_sem_inst->GetSingleWordOperand(2); in Process()
Dgraphics_robust_access_pass.cpp213 const auto addressing_model = inst->GetSingleWordOperand(0); in IsCompatibleModule()
303 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
410 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
480 const uint32_t index_id = inst.GetSingleWordOperand(idx); in ClampIndicesForAccessChain()
487 const uint32_t count = pointee_type->GetSingleWordOperand(2); in ClampIndicesForAccessChain()
489 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
495 Instruction* array_len = GetDef(pointee_type->GetSingleWordOperand(2)); in ClampIndicesForAccessChain()
497 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
542 pointee_type = GetDef(pointee_type->GetSingleWordOperand(1)); in ClampIndicesForAccessChain()
738 GetDef(current_access_chain->GetSingleWordOperand( in MakeRuntimeArrayLengthInst()
Ddead_variable_elimination.cpp49 if (linkage_instruction.GetSingleWordOperand(last_operand) == in Process()
91 get_def_use_mgr()->GetDef(inst->GetSingleWordOperand(3)); in DeleteVariable()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F()
112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F()
115 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F()
182 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
190 uint32_t phi_arg_id = instr->GetSingleWordOperand(i); in TEST_F()
Dir_builder.cpp395 uint32_t type_id_unsigned = const_1->GetSingleWordOperand(0); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
400 EXPECT_EQ(const_3->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
401 EXPECT_EQ(const_5->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
403 EXPECT_EQ(const_4->GetSingleWordOperand(0), type_id_signed); in TEST_F()
404 EXPECT_EQ(const_6->GetSingleWordOperand(0), type_id_signed); in TEST_F()
/external/angle/third_party/spirv-tools/src/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F()
112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F()
115 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F()
182 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
190 uint32_t phi_arg_id = instr->GetSingleWordOperand(i); in TEST_F()
Dir_builder.cpp395 uint32_t type_id_unsigned = const_1->GetSingleWordOperand(0); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
400 EXPECT_EQ(const_3->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
401 EXPECT_EQ(const_5->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
403 EXPECT_EQ(const_4->GetSingleWordOperand(0), type_id_signed); in TEST_F()
404 EXPECT_EQ(const_6->GetSingleWordOperand(0), type_id_signed); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F()
112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F()
115 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F()
182 uint32_t val = rhs_def->GetSingleWordOperand(2); in TEST_F()
190 uint32_t phi_arg_id = instr->GetSingleWordOperand(i); in TEST_F()
Dir_builder.cpp395 uint32_t type_id_unsigned = const_1->GetSingleWordOperand(0); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
400 EXPECT_EQ(const_3->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
401 EXPECT_EQ(const_5->GetSingleWordOperand(0), type_id_unsigned); in TEST_F()
403 EXPECT_EQ(const_4->GetSingleWordOperand(0), type_id_signed); in TEST_F()
404 EXPECT_EQ(const_6->GetSingleWordOperand(0), type_id_signed); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_selection_reduction_opportunity_finder.cpp45 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in GetAvailableOpportunities()
47 merge_instruction->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
122 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in CanOpSelectionMergeBeRemoved()
/external/angle/third_party/spirv-tools/src/source/reduce/
Dremove_selection_reduction_opportunity_finder.cpp45 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in GetAvailableOpportunities()
47 merge_instruction->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
122 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in CanOpSelectionMergeBeRemoved()
Dstructured_loop_to_selection_reduction_opportunity.cpp154 if (terminator->GetSingleWordOperand(operand_index) == original_target_id) { in RedirectEdge()
186 loop_merge_inst->GetSingleWordOperand(kMergeNodeIndex); in ChangeLoopToSelection()
206 auto original_branch_id = terminator->GetSingleWordOperand(0); in ChangeLoopToSelection()
278 ->Dominates(def_block.id(), use->GetSingleWordOperand(use_index + 1)); in DefinitionSufficientlyDominatesUse()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_selection_reduction_opportunity_finder.cpp45 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in GetAvailableOpportunities()
47 merge_instruction->GetSingleWordOperand(kContinueNodeIndex); in GetAvailableOpportunities()
122 merge_instruction->GetSingleWordOperand(kMergeNodeIndex); in CanOpSelectionMergeBeRemoved()
/external/angle/third_party/spirv-tools/src/source/link/
Dlinker.cpp249 uint32_t addressing_model = memory_model_inst->GetSingleWordOperand(0u); in MergeModules()
250 uint32_t memory_model = memory_model_inst->GetSingleWordOperand(1u); in MergeModules()
255 if (addressing_model != memory_model_inst->GetSingleWordOperand(0u)) { in MergeModules()
260 memory_model_inst->GetSingleWordOperand(0u), in MergeModules()
266 if (memory_model != memory_model_inst->GetSingleWordOperand(1u)) { in MergeModules()
271 memory_model_inst->GetSingleWordOperand(1u), in MergeModules()
584 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
585 inst->GetSingleWordOperand(3u) == SpvLinkageTypeImport && in RemoveLinkageSpecificInstructions()
587 imports.find(inst->GetSingleWordOperand(0u)) != imports.end())) { in RemoveLinkageSpecificInstructions()
599 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
[all …]
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp249 uint32_t addressing_model = memory_model_inst->GetSingleWordOperand(0u); in MergeModules()
250 uint32_t memory_model = memory_model_inst->GetSingleWordOperand(1u); in MergeModules()
255 if (addressing_model != memory_model_inst->GetSingleWordOperand(0u)) { in MergeModules()
260 memory_model_inst->GetSingleWordOperand(0u), in MergeModules()
266 if (memory_model != memory_model_inst->GetSingleWordOperand(1u)) { in MergeModules()
271 memory_model_inst->GetSingleWordOperand(1u), in MergeModules()
584 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
585 inst->GetSingleWordOperand(3u) == SpvLinkageTypeImport && in RemoveLinkageSpecificInstructions()
587 imports.find(inst->GetSingleWordOperand(0u)) != imports.end())) { in RemoveLinkageSpecificInstructions()
599 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp249 uint32_t addressing_model = memory_model_inst->GetSingleWordOperand(0u); in MergeModules()
250 uint32_t memory_model = memory_model_inst->GetSingleWordOperand(1u); in MergeModules()
255 if (addressing_model != memory_model_inst->GetSingleWordOperand(0u)) { in MergeModules()
260 memory_model_inst->GetSingleWordOperand(0u), in MergeModules()
266 if (memory_model != memory_model_inst->GetSingleWordOperand(1u)) { in MergeModules()
271 memory_model_inst->GetSingleWordOperand(1u), in MergeModules()
584 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
585 inst->GetSingleWordOperand(3u) == SpvLinkageTypeImport && in RemoveLinkageSpecificInstructions()
587 imports.find(inst->GetSingleWordOperand(0u)) != imports.end())) { in RemoveLinkageSpecificInstructions()
599 inst->GetSingleWordOperand(1u) == SpvDecorationLinkageAttributes && in RemoveLinkageSpecificInstructions()
[all …]

12345