Home
last modified time | relevance | path

Searched refs:NumUsers (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h182 unsigned NumUsers = Users.size(); in getNumUsers() local
184 ++NumUsers; in getNumUsers()
185 return NumUsers; in getNumUsers()
429 unsigned NumUsers = 0; in getNumUsers() local
431 NumUsers += Def.getNumUsers(); in getNumUsers()
432 return NumUsers; in getNumUsers()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddef_use_manager.cpp188 uint32_t DefUseManager::NumUsers(const Instruction* def) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
194 uint32_t DefUseManager::NumUsers(uint32_t id) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
195 return NumUsers(GetDef(id)); in NumUsers()
Ddef_use_manager.h183 uint32_t NumUsers(const Instruction* def) const;
184 uint32_t NumUsers(uint32_t id) const;
Daggressive_dead_code_elim_pass.cpp860 if (get_def_use_mgr()->NumUsers(annotation) == 0) { in ProcessGlobalValues()
Dscalar_replacement_pass.cpp160 if (get_def_use_mgr()->NumUsers(var) == 0) { in ReplaceVariable()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Ddef_use_manager.cpp188 uint32_t DefUseManager::NumUsers(const Instruction* def) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
194 uint32_t DefUseManager::NumUsers(uint32_t id) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
195 return NumUsers(GetDef(id)); in NumUsers()
Ddef_use_manager.h183 uint32_t NumUsers(const Instruction* def) const;
184 uint32_t NumUsers(uint32_t id) const;
Daggressive_dead_code_elim_pass.cpp862 if (get_def_use_mgr()->NumUsers(annotation) == 0) { in ProcessGlobalValues()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddef_use_manager.cpp188 uint32_t DefUseManager::NumUsers(const Instruction* def) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
194 uint32_t DefUseManager::NumUsers(uint32_t id) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
195 return NumUsers(GetDef(id)); in NumUsers()
Ddef_use_manager.h183 uint32_t NumUsers(const Instruction* def) const;
184 uint32_t NumUsers(uint32_t id) const;
Daggressive_dead_code_elim_pass.cpp852 if (get_def_use_mgr()->NumUsers(annotation) == 0) { in ProcessGlobalValues()
Dscalar_replacement_pass.cpp159 if (get_def_use_mgr()->NumUsers(var) == 0) { in ReplaceVariable()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_block_reduction_opportunity.cpp27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
Dremove_block_reduction_opportunity_finder.cpp54 if (context->get_def_use_mgr()->NumUsers((*bi)->id()) > 0) { in IsBlockValidOpportunity()
Dremove_unused_instruction_reduction_opportunity_finder.cpp84 if (context->get_def_use_mgr()->NumUsers(&inst) > 0) { in GetAvailableOpportunities()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_block_reduction_opportunity.cpp27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
Dremove_block_reduction_opportunity_finder.cpp54 if (context->get_def_use_mgr()->NumUsers((*bi)->id()) > 0) { in IsBlockValidOpportunity()
Dremove_unused_instruction_reduction_opportunity_finder.cpp84 if (context->get_def_use_mgr()->NumUsers(&inst) > 0) { in GetAvailableOpportunities()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dremove_block_reduction_opportunity.cpp27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
Dremove_block_reduction_opportunity_finder.cpp54 if (context->get_def_use_mgr()->NumUsers((*bi)->id()) > 0) { in IsBlockValidOpportunity()
Dremove_unused_instruction_reduction_opportunity_finder.cpp84 if (context->get_def_use_mgr()->NumUsers(&inst) > 0) { in GetAvailableOpportunities()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction_test.cc116 int64_t NumUsers(const HloInstruction* node) { in NumUsers() function in xla::__anon4922aaaf0111::OpAndUserCollectingVisitor
169 EXPECT_EQ(0, visitor.NumUsers(add)); in TEST_F()
170 EXPECT_EQ(1, visitor.NumUsers(foo)); in TEST_F()
171 EXPECT_EQ(1, visitor.NumUsers(bar)); in TEST_F()
208 EXPECT_EQ(3, visitor.NumUsers(foo)); in TEST_F()
269 EXPECT_EQ(2, visitor.NumUsers(c0)); in TEST_F()
318 EXPECT_EQ(1, visitor.NumUsers(c0)); in TEST_F()
319 EXPECT_EQ(2, visitor.NumUsers(neg1)); in TEST_F()
324 EXPECT_EQ(0, visitor.NumUsers(neg2)); in TEST_F()
358 EXPECT_EQ(1, visitor.NumUsers(param0)); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_util.cpp1078 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1 && in UpdateFunctionType()
1109 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1) { in UpdateFunctionType()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_util.cpp1084 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1 && in UpdateFunctionType()
1115 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1) { in UpdateFunctionType()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_util.cpp1084 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1 && in UpdateFunctionType()
1115 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1) { in UpdateFunctionType()

12