reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/GCNRegPressure.cpp
  117     Value[Kind] += Sign;
  126     Value[Kind == SGPR_TUPLE ? SGPR32 : Kind == AGPR_TUPLE ? AGPR32 : VGPR32] +=
  131       Value[Kind] += Sign * MRI.getPressureSets(Reg).getWeight();
  186   OS << "VGPRs: " << Value[VGPR32] << ' ';
  187   OS << "AGPRs: " << Value[AGPR32];
lib/Target/AMDGPU/GCNRegPressure.h
   45   void clear() { std::fill(&Value[0], &Value[TOTAL_KINDS], 0); }
   45   void clear() { std::fill(&Value[0], &Value[TOTAL_KINDS], 0); }
   47   unsigned getSGPRNum() const { return Value[SGPR32]; }
   48   unsigned getVGPRNum() const { return std::max(Value[VGPR32], Value[AGPR32]); }
   48   unsigned getVGPRNum() const { return std::max(Value[VGPR32], Value[AGPR32]); }
   50   unsigned getVGPRTuplesWeight() const { return std::max(Value[VGPR_TUPLE],
   51                                                          Value[AGPR_TUPLE]); }
   52   unsigned getSGPRTuplesWeight() const { return Value[SGPR_TUPLE]; }
   72     return std::equal(&Value[0], &Value[TOTAL_KINDS], O.Value);
   72     return std::equal(&Value[0], &Value[TOTAL_KINDS], O.Value);
   72     return std::equal(&Value[0], &Value[TOTAL_KINDS], O.Value);
   94     Res.Value[I] = std::max(P1.Value[I], P2.Value[I]);
   94     Res.Value[I] = std::max(P1.Value[I], P2.Value[I]);
   94     Res.Value[I] = std::max(P1.Value[I], P2.Value[I]);