Home
last modified time | relevance | path

Searched refs:Occupancy (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h276 unsigned Occupancy = 0;
345 YamlIO.mapOptional("occupancy", MFI.Occupancy, 0);
513 unsigned Occupancy;
1151 return Occupancy;
1156 return Occupancy;
1157 return (Occupancy < 4) ? Occupancy : 4;
1163 if (Occupancy > Limit)
1164 Occupancy = Limit;
1168 if (Occupancy < Limit)
1169 Occupancy = Limit;
H A DAMDGPUAsmPrinter.cpp466 uint64_t Occupancy; in validateMCResourceInfo() local
471 if (TryGetMCExprValue(OccupancyExpr, Occupancy) && Occupancy < MinWEU) { in validateMCResourceInfo()
477 ", final occupancy is " + Twine(Occupancy)); in validateMCResourceInfo()
799 " Occupancy: " + getMCExprStr(CurrentProgramInfo.Occupancy), false); in runOnMachineFunction()
1259 ProgInfo.Occupancy = AMDGPUMCExpr::createOccupancy( in getSIProgramInfo()
1266 uint64_t Occupancy; in getSIProgramInfo() local
1267 if (TryGetMCExprValue(ProgInfo.Occupancy, Occupancy) && Occupancy < MinWEU) { in getSIProgramInfo()
1273 ", final occupancy is " + Twine(Occupancy)); in getSIProgramInfo()
1745 getMCExprStr(CurrentProgramInfo.Occupancy)); in emitResourceUsageRemarks()
H A DSIFormMemoryClauses.cpp200 unsigned Occupancy = MaxPressure.getOccupancy( in checkPressure() local
213 if (Occupancy >= MFI->getMinAllowedOccupancy() && in checkPressure()
216 LastRecordedOccupancy = Occupancy; in checkPressure()
H A DSIProgramInfo.h87 const MCExpr *Occupancy = nullptr; member
H A DSIMachineFunctionInfo.cpp57 Occupancy = ST.computeOccupancy(F, getLDSSize()).second; in SIMachineFunctionInfo()
715 Occupancy(MFI.getOccupancy()), in SIMachineFunctionInfo()
762 Occupancy = YamlMFI.Occupancy; in initializeBaseYamlFields()
H A DSIProgramInfo.cpp76 Occupancy = ZeroExpr; in reset()
H A DGCNRegPressure.cpp382 GCNRPTarget::GCNRPTarget(unsigned Occupancy, const MachineFunction &MF, in GCNRPTarget() argument
388 setRegLimits(ST.getMaxNumSGPRs(Occupancy, /*Addressable=*/false), in GCNRPTarget()
389 ST.getMaxNumVGPRs(Occupancy, DynamicVGPRBlockSize), MF); in GCNRPTarget()
H A DGCNRegPressure.h187 GCNRPTarget(unsigned Occupancy, const MachineFunction &MF,
H A DAMDGPUTargetMachine.cpp1801 if (MFI->Occupancy == 0) { in parseMachineFunctionInfo()
1803 MFI->Occupancy = ST.getOccupancyWithWorkGroupSizes(MF).second; in parseMachineFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp202 unsigned Occupancy = InitOccupancy; in evaluateOccupancy() local
204 Occupancy = std::min( in evaluateOccupancy()
205 Occupancy, IsaInfo::getOccupancyWithNumSGPRs( in evaluateOccupancy()
209 Occupancy = std::min(Occupancy, in evaluateOccupancy()
213 Res = MCValue::get(Occupancy); in evaluateOccupancy()