| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ScheduleDFS.h | 35 unsigned InstrCount; member 41 InstrCount(count), Length(length) {} in ILPValue() 45 return (uint64_t)InstrCount * RHS.Length 46 < (uint64_t)Length * RHS.InstrCount; 52 return (uint64_t)InstrCount * RHS.Length 53 <= (uint64_t)Length * RHS.InstrCount; 77 unsigned InstrCount = 0; member 146 return DFSNodeData[SU->NodeNum].InstrCount; in getNumInstrs() 159 return ILPValue(DFSNodeData[SU->NodeNum].InstrCount, 1 + SU->getDepth()); in getILP()
|
| H A D | MachineTraceMetrics.h | 131 unsigned InstrCount = ~0u; member 139 bool hasResources() const { return InstrCount != ~0u; } in hasResources() 142 void invalidate() { InstrCount = ~0u; } in invalidate()
|
| H A D | MachineFunction.h | 1018 unsigned InstrCount = 0; 1020 InstrCount += MBB.size(); 1021 return InstrCount;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopPass.cpp | 165 unsigned InstrCount, FunctionSize = 0; in runOnFunction() local 170 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnFunction() 214 emitInstrCountChangedRemark(P, M, Delta, InstrCount, in runOnFunction() 216 InstrCount = static_cast<int64_t>(InstrCount) + Delta; in runOnFunction()
|
| H A D | CallGraphSCCPass.cpp | 136 unsigned InstrCount, SCCCount = 0; in RunPassOnSCC() local 141 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in RunPassOnSCC() 148 if (SCCCount != InstrCount) { in RunPassOnSCC() 151 static_cast<int64_t>(SCCCount) - static_cast<int64_t>(InstrCount); in RunPassOnSCC() 152 emitInstrCountChangedRemark(P, M, Delta, InstrCount, in RunPassOnSCC() 154 InstrCount = SCCCount; in RunPassOnSCC()
|
| H A D | InlineSizeEstimatorAnalysis.cpp | 160 size_t InstrCount = getMaxInstructionID() + 1; in getFunctionFeatures() local 161 FF.InstructionHistogram.resize(InstrCount); in getFunctionFeatures()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LegacyPassManager.cpp | 68 unsigned InstrCount = 0; in initSizeRemarkInfo() local 82 InstrCount += FCount; in initSizeRemarkInfo() 84 return InstrCount; in initSizeRemarkInfo() 1365 unsigned InstrCount, FunctionSize = 0; in runOnFunction() local 1370 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnFunction() 1416 emitInstrCountChangedRemark(FP, M, Delta, InstrCount, in runOnFunction() 1418 InstrCount = static_cast<int64_t>(InstrCount) + Delta; in runOnFunction() 1489 unsigned InstrCount; in runOnModule() local 1494 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnModule() 1523 if (ModuleCount != InstrCount) { in runOnModule() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | DFAPacketizer.cpp | 51 static unsigned InstrCount = 0; variable 178 if (InstrCount >= InstrLimit) { in PacketizeMIs() 182 InstrCount++; in PacketizeMIs()
|
| H A D | ScheduleDAGInstrs.cpp | 1298 R.DFSNodeData[SU->NodeNum].InstrCount = in visitPreorder() 1317 unsigned InstrCount = R.DFSNodeData[SU->NodeNum].InstrCount; in visitPostorderNode() local 1322 if ((InstrCount - R.DFSNodeData[PredNum].InstrCount) < R.SubtreeLimit) in visitPostorderNode() 1348 R.DFSNodeData[Succ->NodeNum].InstrCount in visitPostorderEdge() 1349 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge() 1416 if (CheckLimit && R.DFSNodeData[PredNum].InstrCount > R.SubtreeLimit) in joinPredSubtree() 1543 OS << InstrCount << " / " << Length << " = "; in print() 1547 OS << format("%g", ((double)InstrCount / Length)); in print()
|
| H A D | MachineTraceMetrics.cpp | 119 unsigned InstrCount = 0; in getResources() local 128 ++InstrCount; in getResources() 146 FBI->InstrCount = InstrCount; in getResources() 209 TBI->InstrDepth = PredTBI->InstrDepth + PredFBI->InstrCount; in computeDepthResources() 228 TBI->InstrHeight = MTM.getResources(MBB)->InstrCount; in computeHeightResources() 361 unsigned CurCount = MTM.getResources(MBB)->InstrCount; in pickTracePred() 1249 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth() 1301 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
|
| H A D | TailDuplicator.cpp | 626 unsigned InstrCount = 0; in shouldTailDuplicate() local 665 InstrCount += MI.getBundleSize(); in shouldTailDuplicate() 667 InstrCount += 1; in shouldTailDuplicate() 669 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
|
| H A D | EarlyIfConversion.cpp | 214 unsigned InstrCount = 0; in canSpeculateInstrs() local 223 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs() 308 unsigned InstrCount = 0; in canPredicateInstrs() local 318 if (++InstrCount > BlockInstrLimit && !Stress) { in canPredicateInstrs()
|
| H A D | MachineBlockPlacement.cpp | 3321 uint64_t InstrCount = 0; in countMBBInstruction() local 3324 InstrCount += 1; in countMBBInstruction() 3326 return InstrCount; in countMBBInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ConditionalCompares.cpp | 389 unsigned InstrCount = 0; in canSpeculateInstrs() local 397 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 556 auto InstrCount = BFI->getBlockProfileCount(BB); in run() local 557 if (!InstrCount) in run() 562 if (PreheaderCount && (*PreheaderCount * 3) >= (*InstrCount * 2)) in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 97 unsigned InstrCount = 0; in adjustInliningThreshold() local 100 if (++InstrCount == 200) { in adjustInliningThreshold()
|