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 | 567 unsigned NumUses = 0; in RewriteLoopExitValues() local 569 IB != IE && NumUses <= 6; ++IB) { in RewriteLoopExitValues() 572 NumUses++; in RewriteLoopExitValues() 580 NumUses--; in RewriteLoopExitValues() 583 PB != PE && NumUses <= 6; ++PB, ++NumUses) { in RewriteLoopExitValues() 594 if (NumUses <= 6 && NumHardInternalUses && !NumSoftExternalUses) in RewriteLoopExitValues()
|
D | LoopStrengthReduce.cpp | 2339 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FindUseWithSimilarFormula() local 3880 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3887 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3898 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in GenerateAllReuseFormulae() local 3927 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in FilterOutUndesirableDedicatedRegisters() local 4049 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByDetectingSupersets() local 4114 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByCollapsingUnrolledCode() local 4151 if (Fixup.LUIdx == NumUses-1) in NarrowSearchSpaceByCollapsingUnrolledCode() 4176 --NumUses; in NarrowSearchSpaceByCollapsingUnrolledCode() 4240 for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) { in NarrowSearchSpaceByPickingWinnerRegs() local
|
D | SROA.cpp | 4043 unsigned NumUses = 0; in rewritePartition() local 4053 ++NumUses; in rewritePartition() 4057 ++NumUses; in rewritePartition() 4060 NumAllocaPartitionUses += NumUses; in rewritePartition() 4062 std::max<unsigned>(NumUses, MaxUsesPerAllocaPartition); in rewritePartition()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 936 unsigned NumUses = 0; in getNumGlobalVariableUses() local 938 NumUses += getNumGlobalVariableUses(dyn_cast<Constant>(CU)); in getNumGlobalVariableUses() 940 return NumUses; in getNumGlobalVariableUses() 2159 int NumUses = (int)Result.second; in handleIndirectSymViaGOTPCRel() local 2166 --NumUses; in handleIndirectSymViaGOTPCRel() 2167 if (NumUses >= 0) in handleIndirectSymViaGOTPCRel() 2168 AP.GlobalGOTEquivs[GOTEquivSym] = std::make_pair(GV, NumUses); in handleIndirectSymViaGOTPCRel()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2580 unsigned NumUses = 0; in ParseUseLists() local 2583 if (++NumUses > Record.size()) in ParseUseLists() 2585 Order[&U] = Record[NumUses - 1]; in ParseUseLists() 2587 if (Order.size() != Record.size() || NumUses > Record.size()) in ParseUseLists()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 5644 unsigned NumUses = 0; in sortUseListOrder() local 5647 if (++NumUses > Indexes.size()) in sortUseListOrder() 5649 Order[&U] = Indexes[NumUses - 1]; in sortUseListOrder() 5651 if (NumUses < 2) in sortUseListOrder() 5653 if (Order.size() != Indexes.size() || NumUses > Indexes.size()) in sortUseListOrder()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3203 unsigned NumUses = V->getNumUses(); in OptimizeMemoryInst() local 3204 if (NumUses > NumUsesConsensus) { in OptimizeMemoryInst() 3206 NumUsesConsensus = NumUses; in OptimizeMemoryInst()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 4034 unsigned NumUses = 0; in hasMultipleUsesOf() local 4037 ++NumUses; in hasMultipleUsesOf() 4038 if (NumUses > 1) in hasMultipleUsesOf()
|