Searched refs:ResourceUsage (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | ResourcePressureView.cpp | 39 ResourceUsage.resize(NumResourceUnits * (Source.size() + 1)); in initialize() 40 std::fill(ResourceUsage.begin(), ResourceUsage.end(), 0.0); in initialize() 54 ResourceUsage[R2VIndex + NumResourceUnits * SourceIdx] += Use.second; in onEvent() 55 ResourceUsage[R2VIndex + NumResourceUnits * Source.size()] += Use.second; in onEvent() 129 double Usage = ResourceUsage[I + Source.size() * E]; in printResourcePressurePerIteration() 152 double Usage = ResourceUsage[J + I * NumResourceUnits]; in printResourcePressurePerInstruction()
|
D | Instruction.h | 244 struct ResourceUsage { struct 247 ResourceUsage(CycleSegment Cycles, unsigned Units = 1) argument 261 std::vector<std::pair<uint64_t, ResourceUsage>> Resources; argument
|
D | ResourcePressureView.h | 82 std::vector<double> ResourceUsage; variable
|
D | InstrBuilder.cpp | 36 using ResourcePlusCycles = std::pair<uint64_t, ResourceUsage>; in initializeUsedResources() 58 Worklist.emplace_back(ResourcePlusCycles(Mask, ResourceUsage(RCy))); in initializeUsedResources() 136 for (const std::pair<uint64_t, ResourceUsage> &R : ID.Resources) in initializeUsedResources()
|
D | InstructionTables.cpp | 30 for (const std::pair<uint64_t, ResourceUsage> Resource : Desc.Resources) { in execute()
|
D | SummaryView.cpp | 51 for (const std::pair<uint64_t, const ResourceUsage> &RU : Desc.Resources) { in onEvent()
|
D | Scheduler.cpp | 153 [&](const std::pair<uint64_t, const ResourceUsage> &E) { in canBeIssued() 180 for (const std::pair<uint64_t, ResourceUsage> &R : Desc.Resources) { in issueInstruction()
|