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-7.0/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 = 0; member
147 return DFSNodeData[SU->NodeNum].InstrCount; in getNumInstrs()
160 return ILPValue(DFSNodeData[SU->NodeNum].InstrCount, 1 + SU->getDepth()); in getILP()
DMachineTraceMetrics.h116 unsigned InstrCount = ~0u; member
124 bool hasResources() const { return InstrCount != ~0u; } in hasResources()
127 void invalidate() { InstrCount = ~0u; } in invalidate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScheduleDAGInstrs.cpp1171 R.DFSNodeData[SU->NodeNum].InstrCount = in visitPreorder()
1190 unsigned InstrCount = R.DFSNodeData[SU->NodeNum].InstrCount; in visitPostorderNode() local
1195 if ((InstrCount - R.DFSNodeData[PredNum].InstrCount) < R.SubtreeLimit) in visitPostorderNode()
1221 R.DFSNodeData[Succ->NodeNum].InstrCount in visitPostorderEdge()
1222 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge()
1289 if (CheckLimit && R.DFSNodeData[PredNum].InstrCount > R.SubtreeLimit) in joinPredSubtree()
1416 OS << InstrCount << " / " << Length << " = "; in print()
1420 OS << format("%g", ((double)InstrCount / Length)); in print()
DDFAPacketizer.cpp52 static unsigned InstrCount = 0; variable
267 if (InstrCount >= InstrLimit) { in PacketizeMIs()
271 InstrCount++; in PacketizeMIs()
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()
334 unsigned CurCount = MTM.getResources(MBB)->InstrCount; in pickTracePred()
1218 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1270 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
DTailDuplicator.cpp593 unsigned InstrCount = 0; in shouldTailDuplicate() local
623 InstrCount += 1; in shouldTailDuplicate()
625 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
DEarlyIfConversion.cpp192 unsigned InstrCount = 0; in canSpeculateInstrs() local
201 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopPass.cpp196 unsigned InstrCount = 0; in runOnFunction() local
216 InstrCount = initSizeRemarkInfo(M); in runOnFunction()
219 emitInstrCountChangedRemark(P, M, InstrCount); in runOnFunction()
DCallGraphSCCPass.cpp133 unsigned InstrCount = 0; in RunPassOnSCC() local
137 InstrCount = initSizeRemarkInfo(M); in RunPassOnSCC()
143 emitInstrCountChangedRemark(P, M, InstrCount); in RunPassOnSCC()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp691 int InstrCount = 0, FunctionCount = 0; in TEST_F() local
700 InstrCount += IndirectResult.FDep.InstructionCount; in TEST_F()
712 InstrCount += IndirectResult.FDep.InstructionCount; in TEST_F()
727 InstrCount += IndirectResult.FDep.InstructionCount; in TEST_F()
741 InstrCount += IndirectResult.FDep.InstructionCount; in TEST_F()
769 EXPECT_EQ(5 * 4, InstrCount); in TEST_F()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLegacyPassManager.cpp1346 unsigned InstrCount = 0; in runOnFunction() local
1363 InstrCount = initSizeRemarkInfo(M); in runOnFunction()
1366 emitInstrCountChangedRemark(BP, M, InstrCount); in runOnFunction()
1570 unsigned InstrCount = 0; in runOnFunction() local
1585 InstrCount = initSizeRemarkInfo(M); in runOnFunction()
1588 emitInstrCountChangedRemark(FP, M, InstrCount); in runOnFunction()
1652 unsigned InstrCount = 0; in runOnModule() local
1668 InstrCount = initSizeRemarkInfo(M); in runOnModule()
1671 emitInstrCountChangedRemark(MP, M, InstrCount); in runOnModule()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTailDuplication.cpp563 unsigned InstrCount = 0; in shouldTailDuplicate() local
583 InstrCount += 1; in shouldTailDuplicate()
585 if (InstrCount > MaxDuplicateCount) in shouldTailDuplicate()
/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-7.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp392 unsigned InstrCount = 0; in canSpeculateInstrs() local
400 if (++InstrCount > BlockInstrLimit && !Stress) { in canSpeculateInstrs()