Home
last modified time | relevance | path

Searched refs:NumUses (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp378 unsigned NumUses = 0; in findAndMakeBaseConstant() local
381 NumUses += ConstCand->Uses.size(); in findAndMakeBaseConstant()
387 if (NumUses <= 1) in findAndMakeBaseConstant()
DIndVarSimplify.cpp628 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()
DLoopStrengthReduce.cpp2324 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
DSROA.cpp3883 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/
DLoopUtils.cpp455 unsigned NumUses = 0; in hasMultipleUsesOf() local
459 ++NumUses; in hasMultipleUsesOf()
460 if (NumUses > 1) in hasMultipleUsesOf()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp986 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/
DLLParser.cpp6142 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/
DBitcodeReader.cpp3019 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/
DCodeGenPrepare.cpp3690 unsigned NumUses = V->getNumUses(); in optimizeMemoryInst() local
3691 if (NumUses > NumUsesConsensus) { in optimizeMemoryInst()
3693 NumUsesConsensus = NumUses; in optimizeMemoryInst()