Home
last modified time | relevance | path

Searched refs:InstrCount (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DScheduleDFS.h36 unsigned InstrCount; member
42 InstrCount(count), Length(length) {} in ILPValue()
46 return (uint64_t)InstrCount * RHS.Length
47 < (uint64_t)Length * RHS.InstrCount;
53 return (uint64_t)InstrCount * RHS.Length
54 <= (uint64_t)Length * RHS.InstrCount;
78 unsigned InstrCount; member
81 NodeData(): InstrCount(0), SubtreeID(InvalidSubtreeID) {} in NodeData()
147 return DFSNodeData[SU->NodeNum].InstrCount; in getNumInstrs()
160 return ILPValue(DFSNodeData[SU->NodeNum].InstrCount, 1 + SU->getDepth()); in getILP()
DMachineTraceMetrics.h94 unsigned InstrCount; member
99 FixedBlockInfo() : InstrCount(~0u), HasCalls(false) {} in FixedBlockInfo()
102 bool hasResources() const { return InstrCount != ~0u; } in hasResources()
105 void invalidate() { InstrCount = ~0u; } in invalidate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DScheduleDFS.h35 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()
DMachineTraceMetrics.h115 unsigned InstrCount = ~0u; member
123 bool hasResources() const { return InstrCount != ~0u; } in hasResources()
126 void invalidate() { InstrCount = ~0u; } in invalidate()
DMachineFunction.h695 unsigned InstrCount = 0;
697 InstrCount += MBB.size();
698 return InstrCount;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopPass.cpp198 unsigned InstrCount, FunctionSize = 0; in runOnFunction() local
203 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnFunction()
235 emitInstrCountChangedRemark(P, M, Delta, InstrCount, in runOnFunction()
237 InstrCount = static_cast<int64_t>(InstrCount) + Delta; in runOnFunction()
DCallGraphSCCPass.cpp133 unsigned InstrCount, SCCCount = 0; in RunPassOnSCC() local
138 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in RunPassOnSCC()
145 if (SCCCount != InstrCount) { in RunPassOnSCC()
148 static_cast<int64_t>(SCCCount) - static_cast<int64_t>(InstrCount); in RunPassOnSCC()
149 emitInstrCountChangedRemark(P, M, Delta, InstrCount, in RunPassOnSCC()
151 InstrCount = SCCCount; in RunPassOnSCC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLegacyPassManager.cpp146 unsigned InstrCount = 0; in initSizeRemarkInfo() local
160 InstrCount += FCount; in initSizeRemarkInfo()
162 return InstrCount; in initSizeRemarkInfo()
1456 unsigned InstrCount, FunctionSize = 0; in runOnFunction() local
1461 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnFunction()
1490 emitInstrCountChangedRemark(FP, M, Delta, InstrCount, in runOnFunction()
1492 InstrCount = static_cast<int64_t>(InstrCount) + Delta; in runOnFunction()
1562 unsigned InstrCount; in runOnModule() local
1567 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnModule()
1586 if (ModuleCount != InstrCount) { in runOnModule()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DDFAPacketizer.cpp53 static unsigned InstrCount = 0; variable
208 if (InstrCount >= InstrLimit) { in PacketizeMIs()
212 InstrCount++; in PacketizeMIs()
DScheduleDAGInstrs.cpp1259 R.DFSNodeData[SU->NodeNum].InstrCount = in visitPreorder()
1278 unsigned InstrCount = R.DFSNodeData[SU->NodeNum].InstrCount; in visitPostorderNode() local
1283 if ((InstrCount - R.DFSNodeData[PredNum].InstrCount) < R.SubtreeLimit) in visitPostorderNode()
1309 R.DFSNodeData[Succ->NodeNum].InstrCount in visitPostorderEdge()
1310 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge()
1377 if (CheckLimit && R.DFSNodeData[PredNum].InstrCount > R.SubtreeLimit) in joinPredSubtree()
1504 OS << InstrCount << " / " << Length << " = "; in print()
1508 OS << format("%g", ((double)InstrCount / Length)); in print()
DMachineTraceMetrics.cpp106 unsigned InstrCount = 0; in getResources() local
115 ++InstrCount; in getResources()
133 FBI->InstrCount = InstrCount; in getResources()
196 TBI->InstrDepth = PredTBI->InstrDepth + PredFBI->InstrCount; in computeDepthResources()
215 TBI->InstrHeight = MTM.getResources(MBB)->InstrCount; in computeHeightResources()
333 unsigned CurCount = MTM.getResources(MBB)->InstrCount; in pickTracePred()
1217 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1269 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
DEarlyIfConversion.cpp208 unsigned InstrCount = 0; in canSpeculateInstrs() local
217 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
302 unsigned InstrCount = 0; in canPredicateInstrs() local
312 if (++InstrCount > BlockInstrLimit && !Stress) { in canPredicateInstrs()
DTailDuplicator.cpp599 unsigned InstrCount = 0; in shouldTailDuplicate() local
629 InstrCount += 1; in shouldTailDuplicate()
631 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp93 unsigned InstrCount = 0; in getResources() local
102 ++InstrCount; in getResources()
120 FBI->InstrCount = InstrCount; in getResources()
184 TBI->InstrDepth = PredTBI->InstrDepth + PredFBI->InstrCount; in computeDepthResources()
203 TBI->InstrHeight = MTM.getResources(MBB)->InstrCount; in computeHeightResources()
320 unsigned CurCount = MTM.getResources(MBB)->InstrCount; in pickTracePred()
1193 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1245 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
DScheduleDAGInstrs.cpp1440 R.DFSNodeData[SU->NodeNum].InstrCount = in visitPreorder()
1459 unsigned InstrCount = R.DFSNodeData[SU->NodeNum].InstrCount; in visitPostorderNode() local
1465 if ((InstrCount - R.DFSNodeData[PredNum].InstrCount) < R.SubtreeLimit) in visitPostorderNode()
1491 R.DFSNodeData[Succ->NodeNum].InstrCount in visitPostorderEdge()
1492 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge()
1563 if (CheckLimit && R.DFSNodeData[PredNum].InstrCount > R.SubtreeLimit) in joinPredSubtree()
1691 OS << InstrCount << " / " << Length << " = "; in print()
1695 OS << format("%g", ((double)InstrCount / Length)); in print()
DTailDuplicator.cpp543 unsigned InstrCount = 0; in shouldTailDuplicate() local
567 InstrCount += 1; in shouldTailDuplicate()
569 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
DEarlyIfConversion.cpp192 unsigned InstrCount = 0; in canSpeculateInstrs() local
201 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp386 unsigned InstrCount = 0; in canSpeculateInstrs() local
394 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp391 unsigned InstrCount = 0; in canSpeculateInstrs() local
399 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp275 auto InstrCount = BFI->getBlockProfileCount(BB); in run() local
276 if (!InstrCount) in run()
282 (PreheaderCount.getValue() * 3) >= (InstrCount.getValue() * 2)) in run()