Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/tools/llvm-mca/Views/
DResourcePressureView.cpp30 unsigned NumUnits = ProcResource.NumUnits; in ResourcePressureView() local
32 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in ResourcePressureView()
36 R2VIndex += ProcResource.NumUnits; in ResourcePressureView()
74 unsigned NumUnits = ProcResource.NumUnits; in printColumnNames() local
76 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in printColumnNames()
79 for (unsigned J = 0; J < NumUnits; ++J) { in printColumnNames()
82 if (NumUnits > 1) in printColumnNames()
113 unsigned NumUnits = ProcResource.NumUnits; in printResourcePressurePerIter() local
115 if (ProcResource.SubUnitsIdxBegin || !NumUnits) in printResourcePressurePerIter()
118 for (unsigned J = 0; J < NumUnits; ++J) { in printResourcePressurePerIter()
[all …]
/external/llvm-project/llvm/lib/MCA/Stages/
DInstructionTables.cpp36 unsigned NumUnits = ProcResource.NumUnits; in execute() local
39 for (unsigned I = 0, E = NumUnits; I < E; ++I) { in execute()
42 std::make_pair(ResourceUnit, ResourceCycles(Cycles, NumUnits))); in execute()
50 for (unsigned I1 = 0; I1 < NumUnits; ++I1) { in execute()
54 for (unsigned I2 = 0, E2 = SubUnit.NumUnits; I2 < E2; ++I2) { in execute()
57 ResourceUnit, ResourceCycles(Cycles, NumUnits * SubUnit.NumUnits))); in execute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DInstructionTables.cpp36 unsigned NumUnits = ProcResource.NumUnits; in execute() local
39 for (unsigned I = 0, E = NumUnits; I < E; ++I) { in execute()
42 std::make_pair(ResourceUnit, ResourceCycles(Cycles, NumUnits))); in execute()
50 for (unsigned I1 = 0; I1 < NumUnits; ++I1) { in execute()
54 for (unsigned I2 = 0, E2 = SubUnit.NumUnits; I2 < E2; ++I2) { in execute()
57 ResourceUnit, ResourceCycles(Cycles, NumUnits * SubUnit.NumUnits))); in execute()
/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-10.0/llvm/lib/CodeGen/
DTargetSchedule.cpp73 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
74 if (NumUnits > 0) in init()
75 ResourceLCM = lcm(ResourceLCM, NumUnits); in init()
79 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
80 ResourceFactors[Idx] = NumUnits ? (ResourceLCM / NumUnits) : 0; in init()
/external/llvm-project/llvm/lib/CodeGen/
DTargetSchedule.cpp73 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
74 if (NumUnits > 0) in init()
75 ResourceLCM = lcm(ResourceLCM, NumUnits); in init()
79 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init() local
80 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-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp26 NumUnits = IndexData.getU32(OffsetPtr); in parse()
54 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns)) in parseImpl()
59 std::make_unique<Entry::SectionContribution *[]>(Header.NumUnits); in parseImpl()
91 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
98 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/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp109 NumUnits = IndexData.getU32(OffsetPtr); in parse()
115 OS << format("version = %u, units = %u, slots = %u\n\n", Version, NumUnits, NumBuckets); in dump()
141 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns)) in parseImpl()
146 std::make_unique<Entry::SectionContribution *[]>(Header.NumUnits); in parseImpl()
180 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
187 for (unsigned i = 0; i != Header.NumUnits; ++i) { in parseImpl()
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
DResourceManager.cpp73 ResourceSizeMask = (1ULL << Desc.NumUnits) - 1; in ResourceState()
80 bool ResourceState::isReady(unsigned NumUnits) const { in isReady()
82 countPopulation(ReadyMask) >= NumUnits; in isReady()
285 unsigned NumUnits = E.second.isReserved() ? 0U : E.second.NumUnits; in checkAvailability() local
287 if (!Resources[Index]->isReady(NumUnits)) in checkAvailability()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DResourceManager.cpp73 ResourceSizeMask = (1ULL << Desc.NumUnits) - 1; in ResourceState()
80 bool ResourceState::isReady(unsigned NumUnits) const { in isReady()
82 countPopulation(ReadyMask) >= NumUnits; in isReady()
285 unsigned NumUnits = E.second.isReserved() ? 0U : E.second.NumUnits; in checkAvailability() local
287 if (!Resources[Index]->isReady(NumUnits)) in checkAvailability()
/external/swiftshader/third_party/llvm-10.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/llvm-project/llvm/include/llvm/MC/
DMCSchedule.h34 unsigned NumUnits; // Number of resource of this kind member
57 return NumUnits == Other.NumUnits && SuperIdx == Other.SuperIdx
/external/llvm-project/llvm/lib/MC/
DMCSchedule.cpp97 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput() local
98 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSchedule.cpp97 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput() local
98 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSchedClassResolution.cpp73 SubResIdx != ProcResDesc->SubUnitsIdxBegin + ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
86 SubResIdx != ProcResDesc->SubUnitsIdxBegin + ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
88 ProcResUnitUsage[*SubResIdx] += RemainingCycles / ProcResDesc->NumUnits; in getNonRedundantWriteProcRes()
193 ProcResDesc->NumUnits); in computeIdealizedProcResPressure()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DSupport.cpp63 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks()
99 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
/external/llvm-project/llvm/lib/MCA/
DSupport.cpp63 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks()
99 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
DInstrBuilder.cpp137 B.second.NumUnits++; in initializeUsedResources()
164 if (RPC.second.NumUnits > countPopulation(Mask)) { in initializeUsedResources()
166 RPC.second.NumUnits = MaxResourceUnits; in initializeUsedResources()
192 << "#Units=" << R.second.NumUnits << ", " in initializeUsedResources()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnitIndex.h36 uint32_t NumUnits; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnitIndex.h37 uint32_t NumUnits; member
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnitIndex.h84 uint32_t NumUnits; member
/external/llvm-project/llvm/include/llvm/MCA/
DInstruction.h339 unsigned NumUnits; member
341 : CS(Cycles), NumUnits(Units) {} in CS()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h339 unsigned NumUnits; member
341 : CS(Cycles), NumUnits(Units) {} in CS()

12