Home
last modified time | relevance | path

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

/external/llvm-project/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/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/deqp-deps/SPIRV-Tools/source/opt/
Ddef_use_manager.h184 uint32_t NumUsers(const Instruction* def) const;
185 uint32_t NumUsers(uint32_t id) const;
Ddef_use_manager.cpp190 uint32_t DefUseManager::NumUsers(const Instruction* def) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
196 uint32_t DefUseManager::NumUsers(uint32_t id) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
197 return NumUsers(GetDef(id)); in NumUsers()
Daggressive_dead_code_elim_pass.cpp865 if (get_def_use_mgr()->NumUsers(annotation) == 0) { in ProcessGlobalValues()
Dscalar_replacement_pass.cpp153 if (get_def_use_mgr()->NumUsers(var) == 0) { in ReplaceVariable()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddef_use_manager.h184 uint32_t NumUsers(const Instruction* def) const;
185 uint32_t NumUsers(uint32_t id) const;
Ddef_use_manager.cpp190 uint32_t DefUseManager::NumUsers(const Instruction* def) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
196 uint32_t DefUseManager::NumUsers(uint32_t id) const { in NumUsers() function in spvtools::opt::analysis::DefUseManager
197 return NumUsers(GetDef(id)); in NumUsers()
Daggressive_dead_code_elim_pass.cpp865 if (get_def_use_mgr()->NumUsers(annotation) == 0) { in ProcessGlobalValues()
Dscalar_replacement_pass.cpp153 if (get_def_use_mgr()->NumUsers(var) == 0) { in ReplaceVariable()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_block_reduction_opportunity.cpp27 block_->begin()->context()->get_def_use_mgr()->NumUsers( 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/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_block_reduction_opportunity.cpp27 block_->begin()->context()->get_def_use_mgr()->NumUsers( 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.cc115 int64 NumUsers(const HloInstruction* node) { in NumUsers() function in xla::__anon9b186d4a0111::OpAndUserCollectingVisitor
168 EXPECT_EQ(0, visitor.NumUsers(add)); in TEST_F()
169 EXPECT_EQ(1, visitor.NumUsers(foo)); in TEST_F()
170 EXPECT_EQ(1, visitor.NumUsers(bar)); in TEST_F()
207 EXPECT_EQ(3, visitor.NumUsers(foo)); in TEST_F()
268 EXPECT_EQ(2, visitor.NumUsers(c0)); in TEST_F()
317 EXPECT_EQ(1, visitor.NumUsers(c0)); in TEST_F()
318 EXPECT_EQ(2, visitor.NumUsers(neg1)); in TEST_F()
323 EXPECT_EQ(0, visitor.NumUsers(neg2)); in TEST_F()
357 EXPECT_EQ(1, visitor.NumUsers(param0)); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlan.cpp1040 unsigned NumUsers = getNumUsers(); in replaceAllUsesWith() local
1047 if (NumUsers == getNumUsers()) in replaceAllUsesWith()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_util.cpp964 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1 && in UpdateFunctionType()
995 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1) { in UpdateFunctionType()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_util.cpp964 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1 && in UpdateFunctionType()
995 if (ir_context->get_def_use_mgr()->NumUsers(old_function_type) == 1) { in UpdateFunctionType()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp4783 unsigned NumUsers = 0; in LSRInstance() local
4785 if (++NumUsers > MaxIVUsers) { in LSRInstance()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp5575 unsigned NumUsers = 0; in LSRInstance() local
5577 if (++NumUsers > MaxIVUsers) { in LSRInstance()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp5512 unsigned NumUsers = 0; in LSRInstance() local
5514 if (++NumUsers > MaxIVUsers) { in LSRInstance()