Home
last modified time | relevance | path

Searched refs:Metrics (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp298 CodeMetrics Metrics; in rotateLoop() local
299 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues, PrepareForLTO); in rotateLoop()
300 if (Metrics.notDuplicatable) { in rotateLoop()
307 if (Metrics.convergent) { in rotateLoop()
313 if (!Metrics.NumInsts.isValid()) { in rotateLoop()
319 if (*Metrics.NumInsts.getValue() > MaxHeaderSize) { in rotateLoop()
321 << Metrics.NumInsts in rotateLoop()
331 if (PrepareForLTO && Metrics.NumInlineCandidates > 0) in rotateLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp395 CodeMetrics &Metrics = I.first->second; in analyzeFunction() local
401 Metrics.analyzeBasicBlock(&BB, (GetTTI)(*F), EphValues); in analyzeFunction()
404 << F->getName() << " is " << Metrics.NumInsts in analyzeFunction()
407 return Metrics; in analyzeFunction()
548 CodeMetrics &Metrics = analyzeFunction(F); in getSpecializationCost() local
553 if (Metrics.notDuplicatable || !Metrics.NumInsts.isValid() || in getSpecializationCost()
555 *Metrics.NumInsts.getValue() < SmallFunctionThreshold)) { in getSpecializationCost()
564 return Metrics.NumInsts * InlineConstants::InstrCost * Penalty; in getSpecializationCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp285 CodeMetrics Metrics; in runOnLoop() local
302 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in runOnLoop()
305 if (!Metrics.NumInsts.isValid()) in runOnLoop()
308 unsigned LoopSize = *Metrics.NumInsts.getValue(); in runOnLoop()
H A DDFAJumpThreading.cpp774 CodeMetrics Metrics; in isLegalAndProfitableToTransform() local
790 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in isLegalAndProfitableToTransform()
807 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in isLegalAndProfitableToTransform()
811 if (Metrics.notDuplicatable) { in isLegalAndProfitableToTransform()
822 if (Metrics.convergent) { in isLegalAndProfitableToTransform()
832 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform()
854 DuplicationCost = *Metrics.NumInsts.getValue() / CondBranches; in isLegalAndProfitableToTransform()
862 DuplicationCost = *Metrics.NumInsts.getValue() / JumpTableSize; in isLegalAndProfitableToTransform()
H A DLoopUnrollPass.cpp670 CodeMetrics Metrics; in ApproximateLoopSize() local
672 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
673 NumCalls = Metrics.NumInlineCandidates; in ApproximateLoopSize()
674 NotDuplicatable = Metrics.notDuplicatable; in ApproximateLoopSize()
675 Convergent = Metrics.convergent; in ApproximateLoopSize()
677 InstructionCost LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
/llvm-project-15.0.7/lldb/examples/summaries/cocoa/
H A Dcache.py15 self.statistics = lldb.formatters.metrics.Metrics()
H A Dmetrics.py80 class Metrics: class
H A DNSNotification.py16 statistics = lldb.formatters.metrics.Metrics()
H A DNSBundle.py17 statistics = lldb.formatters.metrics.Metrics()
H A DNSMachPort.py21 statistics = lldb.formatters.metrics.Metrics()
H A DNSException.py15 statistics = lldb.formatters.metrics.Metrics()
H A DCFBinaryHeap.py21 statistics = lldb.formatters.metrics.Metrics()
H A DNSURL.py16 statistics = lldb.formatters.metrics.Metrics()
H A DNSData.py21 statistics = lldb.formatters.metrics.Metrics()
H A DCFBag.py21 statistics = lldb.formatters.metrics.Metrics()
H A DNSIndexSet.py21 statistics = lldb.formatters.metrics.Metrics()
H A DCFBitVector.py41 statistics = lldb.formatters.metrics.Metrics()
H A DCFArray.py21 statistics = lldb.formatters.metrics.Metrics()
H A DCFDictionary.py21 statistics = lldb.formatters.metrics.Metrics()
H A DNSSet.py21 statistics = lldb.formatters.metrics.Metrics()
H A DNSDate.py20 statistics = lldb.formatters.metrics.Metrics()
H A DNSNumber.py20 statistics = lldb.formatters.metrics.Metrics()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A DO3-pipeline.ll128 ; CHECK-NEXT: Machine Trace Metrics
133 ; CHECK-NEXT: Machine Trace Metrics
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp732 CodeMetrics Metrics; in isHardwareLoopProfitable() local
734 Metrics.analyzeBasicBlock(BB, *this, EphValues); in isHardwareLoopProfitable()
736 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSelectionTests.cpp581 TEST(SelectionTree, Metrics) { in TEST() argument

12