Home
last modified time | relevance | path

Searched refs:NumUnits (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DResourcePressureView.cpp29 unsigned NumUnits = ProcResource.NumUnits; in initialize() local
31 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in initialize()
35 R2VIndex += ProcResource.NumUnits; in initialize()
65 unsigned NumUnits = ProcResource.NumUnits; in printColumnNames() local
67 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in printColumnNames()
70 for (unsigned J = 0; J < NumUnits; ++J) { in printColumnNames()
73 if (NumUnits > 1) in printColumnNames()
105 unsigned NumUnits = ProcResource.NumUnits; in printResourcePressurePerIteration() local
107 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in printResourcePressurePerIteration()
110 for (unsigned J = 0; J < NumUnits; ++J) { in printResourcePressurePerIteration()
[all …]
DInstructionTables.cpp38 unsigned NumUnits = ProcResource.NumUnits; in execute() local
41 Cycles /= NumUnits; in execute()
42 for (unsigned I = 0, E = NumUnits; I < E; ++I) { in execute()
52 for (unsigned I1 = 0; I1 < NumUnits; ++I1) { in execute()
56 double RUCycles = Cycles / (NumUnits * SubUnit.NumUnits); in execute()
57 for (unsigned I2 = 0, E2 = SubUnit.NumUnits; I2 < E2; ++I2) { in execute()
DScheduler.h176 : ((1ULL << Desc.NumUnits) - 1); in ResourceState()
204 bool isReady(unsigned NumUnits = 1) const {
206 llvm::countPopulation(ReadyMask) >= NumUnits;
322 bool isReady(uint64_t ResourceID, unsigned NumUnits) const { in isReady() argument
324 return Resource.isReady(NumUnits); in isReady()
DSupport.cpp44 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks()
69 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
DScheduler.cpp154 unsigned NumUnits = in canBeIssued() local
155 E.second.isReserved() ? 0U : E.second.NumUnits; in canBeIssued()
156 return isReady(E.first, NumUnits); in canBeIssued()
DInstruction.h246 unsigned NumUnits; member
248 : CS(Cycles), NumUnits(Units) {} in CS()
DInstrBuilder.cpp84 A.second.NumUnits = 0; in initializeUsedResources()
104 B.second.NumUnits++; in initializeUsedResources()
/external/llvm/lib/CodeGen/
DTargetSchedule.cpp65 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
66 if (NumUnits > 0) in init()
67 ResourceLCM = lcm(ResourceLCM, NumUnits); in init()
71 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
72 ResourceFactors[Idx] = NumUnits ? (ResourceLCM / NumUnits) : 0; in init()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetSchedule.cpp74 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
75 if (NumUnits > 0) in init()
76 ResourceLCM = lcm(ResourceLCM, NumUnits); in init()
80 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
81 ResourceFactors[Idx] = NumUnits ? (ResourceLCM / NumUnits) : 0; in init()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp23 NumUnits = IndexData.getU32(OffsetPtr); in parse()
51 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns)) in parseImpl()
56 llvm::make_unique<Entry::SectionContribution *[]>(Header.NumUnits); in parseImpl()
88 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
95 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp27 NumUnits = IndexData.getU32(OffsetPtr); in parse()
55 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns)) in parseImpl()
60 llvm::make_unique<Entry::SectionContribution *[]>(Header.NumUnits); in parseImpl()
92 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
99 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
/external/llvm/include/llvm/MC/
DMCSchedule.h30 unsigned NumUnits; // Number of resource of this kind member
48 return NumUnits == Other.NumUnits && SuperIdx == Other.SuperIdx
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCSchedule.h34 unsigned NumUnits; // Number of resource of this kind member
57 return NumUnits == Other.NumUnits && SuperIdx == Other.SuperIdx
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCSchedule.cpp98 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput() local
99 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnitIndex.h36 uint32_t NumUnits; member
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnitIndex.h38 uint32_t NumUnits; member
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DAnalysis.cpp353 SubResIdx != ProcResDesc->SubUnitsIdxBegin + ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
366 SubResIdx != ProcResDesc->SubUnitsIdxBegin + ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
368 ProcResUnitUsage[*SubResIdx] += RemainingCycles / ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
740 ProcResDesc->NumUnits); in computeIdealizedProcResPressure()
/external/llvm/utils/TableGen/
DSubtargetEmitter.cpp614 unsigned NumUnits = 0; in EmitProcessorResources() local
619 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
629 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
637 OS << NumUnits << ", " << SuperIdx << ", " in EmitProcessorResources()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSubtargetEmitter.cpp795 unsigned NumUnits = 0; in EmitProcessorResources() local
801 NumUnits += RU->getValueAsInt("NumUnits"); in EmitProcessorResources()
813 NumUnits = PRDef->getValueAsInt("NumUnits"); in EmitProcessorResources()
819 OS << NumUnits << ", " << SuperIdx << ", " << BufferSize << ", "; in EmitProcessorResources()
/external/llvm/include/llvm/Target/
DTargetSchedule.td128 // Define a number of interchangeable processor resources. NumUnits
182 int NumUnits = num;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTargetSchedule.td134 // Define a number of interchangeable processor resources. NumUnits
188 int NumUnits = num;
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/
DMipsGenSubtargetInfo.inc2332 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
2378 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenSubtargetInfo.inc10407 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10442 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10477 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10519 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10575 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10652 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10700 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10737 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
10779 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenSubtargetInfo.inc15689 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
15772 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
15879 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
15978 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16062 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16154 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16206 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16311 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16401 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/
DARMGenSubtargetInfo.inc16201 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16250 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16300 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}
16334 // {Name, NumUnits, SuperIdx, IsBuffered, SubUnitsIdxBegin}

12