Searched refs:NumUses (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 378 unsigned NumUses = 0; in findAndMakeBaseConstant() local 381 NumUses += ConstCand->Uses.size(); in findAndMakeBaseConstant() 387 if (NumUses <= 1) in findAndMakeBaseConstant()
|
D | IndVarSimplify.cpp | 628 unsigned NumUses = 0; in rewriteLoopExitValues() local 630 IB != IE && NumUses <= 6; ++IB) { in rewriteLoopExitValues() 633 NumUses++; in rewriteLoopExitValues() 641 NumUses--; in rewriteLoopExitValues() 644 PB != PE && NumUses <= 6; ++PB, ++NumUses) { in rewriteLoopExitValues() 655 if (NumUses <= 6 && NumHardInternalUses && !NumSoftExternalUses) in rewriteLoopExitValues()
|
D | LoopStrengthReduce.cpp | 2324 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FindUseWithSimilarFormula() local 3829 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3836 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3847 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3876 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FilterOutUndesirableDedicatedRegisters() local 3993 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByDetectingSupersets() local 4057 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByCollapsingUnrolledCode() local 4090 if (Fixup.LUIdx == NumUses-1) in NarrowSearchSpaceByCollapsingUnrolledCode() 4115 --NumUses; in NarrowSearchSpaceByCollapsingUnrolledCode() 4176 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByPickingWinnerRegs() local
|
D | SROA.cpp | 3883 unsigned NumUses = 0; in rewritePartition() local 3893 ++NumUses; in rewritePartition() 3897 ++NumUses; in rewritePartition() 3900 NumAllocaPartitionUses += NumUses; in rewritePartition() 3902 std::max<unsigned>(NumUses, MaxUsesPerAllocaPartition); in rewritePartition()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 455 unsigned NumUses = 0; in hasMultipleUsesOf() local 459 ++NumUses; in hasMultipleUsesOf() 460 if (NumUses > 1) in hasMultipleUsesOf()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 986 unsigned NumUses = 0; in getNumGlobalVariableUses() local 988 NumUses += getNumGlobalVariableUses(dyn_cast<Constant>(CU)); in getNumGlobalVariableUses() 990 return NumUses; in getNumGlobalVariableUses() 2177 int NumUses = (int)Result.second; in handleIndirectSymViaGOTPCRel() local 2184 --NumUses; in handleIndirectSymViaGOTPCRel() 2185 if (NumUses >= 0) in handleIndirectSymViaGOTPCRel() 2186 AP.GlobalGOTEquivs[GOTEquivSym] = std::make_pair(GV, NumUses); in handleIndirectSymViaGOTPCRel()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 6142 unsigned NumUses = 0; in sortUseListOrder() local 6145 if (++NumUses > Indexes.size()) in sortUseListOrder() 6147 Order[&U] = Indexes[NumUses - 1]; in sortUseListOrder() 6149 if (NumUses < 2) in sortUseListOrder() 6151 if (Order.size() != Indexes.size() || NumUses > Indexes.size()) in sortUseListOrder()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3019 unsigned NumUses = 0; in parseUseLists() local 3022 if (++NumUses > Record.size()) in parseUseLists() 3024 Order[&U] = Record[NumUses - 1]; in parseUseLists() 3026 if (Order.size() != Record.size() || NumUses > Record.size()) in parseUseLists()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3690 unsigned NumUses = V->getNumUses(); in optimizeMemoryInst() local 3691 if (NumUses > NumUsesConsensus) { in optimizeMemoryInst() 3693 NumUsesConsensus = NumUses; in optimizeMemoryInst()
|