/external/llvm/include/llvm/CodeGen/ |
D | ScheduleDFS.h | 36 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()
|
D | MachineTraceMetrics.h | 94 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/ |
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()
|
D | MachineTraceMetrics.h | 115 unsigned InstrCount = ~0u; member 123 bool hasResources() const { return InstrCount != ~0u; } in hasResources() 126 void invalidate() { InstrCount = ~0u; } in invalidate()
|
D | MachineFunction.h | 695 unsigned InstrCount = 0; 697 InstrCount += MBB.size(); 698 return InstrCount;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopPass.cpp | 198 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()
|
D | CallGraphSCCPass.cpp | 133 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/ |
D | LegacyPassManager.cpp | 146 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/ |
D | DFAPacketizer.cpp | 53 static unsigned InstrCount = 0; variable 208 if (InstrCount >= InstrLimit) { in PacketizeMIs() 212 InstrCount++; in PacketizeMIs()
|
D | ScheduleDAGInstrs.cpp | 1259 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()
|
D | MachineTraceMetrics.cpp | 106 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()
|
D | EarlyIfConversion.cpp | 208 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()
|
D | TailDuplicator.cpp | 599 unsigned InstrCount = 0; in shouldTailDuplicate() local 629 InstrCount += 1; in shouldTailDuplicate() 631 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
|
/external/llvm/lib/CodeGen/ |
D | MachineTraceMetrics.cpp | 93 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()
|
D | ScheduleDAGInstrs.cpp | 1440 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()
|
D | TailDuplicator.cpp | 543 unsigned InstrCount = 0; in shouldTailDuplicate() local 567 InstrCount += 1; in shouldTailDuplicate() 569 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
|
D | EarlyIfConversion.cpp | 192 unsigned InstrCount = 0; in canSpeculateInstrs() local 201 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 386 unsigned InstrCount = 0; in canSpeculateInstrs() local 394 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 391 unsigned InstrCount = 0; in canSpeculateInstrs() local 399 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 275 auto InstrCount = BFI->getBlockProfileCount(BB); in run() local 276 if (!InstrCount) in run() 282 (PreheaderCount.getValue() * 3) >= (InstrCount.getValue() * 2)) in run()
|