/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 334 unsigned NumUses = 0; in maximizeConstantsInRange() local 338 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 342 return NumUses; in maximizeConstantsInRange() 351 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 382 return NumUses; in maximizeConstantsInRange() 390 unsigned NumUses = maximizeConstantsInRange(S, E, MaxCostItr); in findAndMakeBaseConstant() local 393 if (NumUses <= 1) in findAndMakeBaseConstant()
|
D | LoopStrengthReduce.cpp | 2308 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FindUseWithSimilarFormula() local 3810 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3817 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3828 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3857 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FilterOutUndesirableDedicatedRegisters() local 3974 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByDetectingSupersets() local 4038 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByCollapsingUnrolledCode() local 4071 if (Fixup.LUIdx == NumUses-1) in NarrowSearchSpaceByCollapsingUnrolledCode() 4096 --NumUses; in NarrowSearchSpaceByCollapsingUnrolledCode() 4157 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByPickingWinnerRegs() local
|
D | IndVarSimplify.cpp | 575 unsigned NumUses = 0; in rewriteLoopExitValues() local 577 IB != IE && NumUses <= 6; ++IB) { in rewriteLoopExitValues() 580 NumUses++; in rewriteLoopExitValues() 588 NumUses--; in rewriteLoopExitValues() 591 PB != PE && NumUses <= 6; ++PB, ++NumUses) { in rewriteLoopExitValues() 602 if (NumUses <= 6 && NumHardInternalUses && !NumSoftExternalUses) in rewriteLoopExitValues()
|
D | SROA.cpp | 3876 unsigned NumUses = 0; in rewritePartition() local 3886 ++NumUses; in rewritePartition() 3890 ++NumUses; in rewritePartition() 3893 NumAllocaPartitionUses += NumUses; in rewritePartition() 3895 std::max<unsigned>(NumUses, MaxUsesPerAllocaPartition); in rewritePartition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 492 unsigned NumUses = 0; in maximizeConstantsInRange() local 496 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 500 return NumUses; in maximizeConstantsInRange() 509 NumUses += ConstCand->Uses.size(); in maximizeConstantsInRange() 541 return NumUses; in maximizeConstantsInRange() 549 unsigned NumUses = maximizeConstantsInRange(S, E, MaxCostItr); in findAndMakeBaseConstant() local 552 if (NumUses <= 1) in findAndMakeBaseConstant()
|
D | LoopStrengthReduce.cpp | 2583 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FindUseWithSimilarFormula() local 4152 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 4159 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 4170 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 4200 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FilterOutUndesirableDedicatedRegisters() local 4316 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByDetectingSupersets() local 4381 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByCollapsingUnrolledCode() local 4426 --NumUses; in NarrowSearchSpaceByCollapsingUnrolledCode() 4478 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByFilterFormulaWithSameScaledReg() local 4492 FARegNum += (NumUses - UsedByIndices.count() + 1); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg() [all …]
|
D | IndVarSimplify.cpp | 621 unsigned NumUses = 0; in rewriteLoopExitValues() local 623 IB != IE && NumUses <= 6; ++IB) { in rewriteLoopExitValues() 626 NumUses++; in rewriteLoopExitValues() 634 NumUses--; in rewriteLoopExitValues() 637 PB != PE && NumUses <= 6; ++PB, ++NumUses) { in rewriteLoopExitValues() 648 if (NumUses <= 6 && NumHardInternalUses && !NumSoftExternalUses) in rewriteLoopExitValues()
|
D | SROA.cpp | 4087 unsigned NumUses = 0; in rewritePartition() local 4097 ++NumUses; in rewritePartition() 4101 ++NumUses; in rewritePartition() 4104 NumAllocaPartitionUses += NumUses; in rewritePartition() 4105 MaxUsesPerAllocaPartition.updateMax(NumUses); in rewritePartition()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | def_use_manager.cpp | 200 uint32_t DefUseManager::NumUses(const Instruction* def) const { in NumUses() function in spvtools::opt::analysis::DefUseManager 206 uint32_t DefUseManager::NumUses(uint32_t id) const { in NumUses() function in spvtools::opt::analysis::DefUseManager 207 return NumUses(GetDef(id)); in NumUses()
|
D | def_use_manager.h | 188 uint32_t NumUses(const Instruction* def) const; 189 uint32_t NumUses(uint32_t id) const;
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | def_use_manager.cpp | 200 uint32_t DefUseManager::NumUses(const Instruction* def) const { in NumUses() function in spvtools::opt::analysis::DefUseManager 206 uint32_t DefUseManager::NumUses(uint32_t id) const { in NumUses() function in spvtools::opt::analysis::DefUseManager 207 return NumUses(GetDef(id)); in NumUses()
|
D | def_use_manager.h | 188 uint32_t NumUses(const Instruction* def) const; 189 uint32_t NumUses(uint32_t id) const;
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LiveVariables.h | 90 unsigned NumUses; member 97 VarInfo() : NumUses(0) {} in VarInfo()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | def_use_test.cpp | 42 uint32_t NumUses(const std::unique_ptr<IRContext>& context, uint32_t id) { in NumUses() function 1300 EXPECT_EQ(2u, NumUses(context, 6)); in TEST() 1305 EXPECT_EQ(6u, NumUses(context, 7)); in TEST() 1314 EXPECT_EQ(1u, NumUses(context, id)); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | def_use_test.cpp | 42 uint32_t NumUses(const std::unique_ptr<IRContext>& context, uint32_t id) { in NumUses() function 1300 EXPECT_EQ(2u, NumUses(context, 6)); in TEST() 1305 EXPECT_EQ(6u, NumUses(context, 7)); in TEST() 1314 EXPECT_EQ(1u, NumUses(context, id)); in TEST()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | remove_unreferenced_instruction_reduction_pass.cpp | 33 if (context->get_def_use_mgr()->NumUses(&inst) > 0) { in GetAvailableOpportunities()
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | remove_unreferenced_instruction_reduction_pass.cpp | 33 if (context->get_def_use_mgr()->NumUses(&inst) > 0) { in GetAvailableOpportunities()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1994 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FindUseWithSimilarFormula() local 2881 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 2888 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 2899 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 2927 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FilterOutUndesirableDedicatedRegisters() local 3028 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByDetectingSupersets() local 3093 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByCollapsingUnrolledCode() local 3126 if (Fixup.LUIdx == NumUses-1) in NarrowSearchSpaceByCollapsingUnrolledCode() 3151 --NumUses; in NarrowSearchSpaceByCollapsingUnrolledCode() 3220 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByPickingWinnerRegs() local
|
D | CodeGenPrepare.cpp | 776 unsigned NumUses = V->getNumUses(); in OptimizeMemoryInst() local 777 if (NumUses > NumUsesConsensus) { in OptimizeMemoryInst() 779 NumUsesConsensus = NumUses; in OptimizeMemoryInst()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 462 unsigned NumUses = 0; in hasMultipleUsesOf() local 466 ++NumUses; in hasMultipleUsesOf() 467 if (NumUses > 1) in hasMultipleUsesOf()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 992 unsigned NumUses = 0; in getNumGlobalVariableUses() local 994 NumUses += getNumGlobalVariableUses(dyn_cast<Constant>(CU)); in getNumGlobalVariableUses() 996 return NumUses; in getNumGlobalVariableUses() 2232 int NumUses = (int)Result.second; in handleIndirectSymViaGOTPCRel() local 2239 --NumUses; in handleIndirectSymViaGOTPCRel() 2240 if (NumUses >= 0) in handleIndirectSymViaGOTPCRel() 2241 AP.GlobalGOTEquivs[GOTEquivSym] = std::make_pair(GV, NumUses); in handleIndirectSymViaGOTPCRel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1228 unsigned NumUses = 0; in getNumGlobalVariableUses() local 1230 NumUses += getNumGlobalVariableUses(dyn_cast<Constant>(CU)); in getNumGlobalVariableUses() 1232 return NumUses; in getNumGlobalVariableUses() 2533 int NumUses = (int)Result.second; in handleIndirectSymViaGOTPCRel() local 2540 --NumUses; in handleIndirectSymViaGOTPCRel() 2541 if (NumUses >= 0) in handleIndirectSymViaGOTPCRel() 2542 AP.GlobalGOTEquivs[GOTEquivSym] = std::make_pair(GV, NumUses); in handleIndirectSymViaGOTPCRel()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PHIElimination.cpp | 244 VI.NumUses++; in LowerAtomicPHINode()
|
D | LiveVariables.cpp | 133 VRInfo.NumUses++; in HandleVirtRegUse()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 535 unsigned NumUses = 0; in hasMultipleUsesOf() local 539 ++NumUses; in hasMultipleUsesOf() 540 if (NumUses > 1) in hasMultipleUsesOf()
|