Home
last modified time | relevance | path

Searched refs:PSetID (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/CodeGen/
DRegisterClassInfo.cpp161 const int *PSetID = TRI->getRegClassPressureSets(*RI); in computePSetLimit() local
162 for (; *PSetID != -1; ++PSetID) { in computePSetLimit()
163 if ((unsigned)*PSetID == Idx) in computePSetLimit()
166 if (*PSetID == -1) in computePSetLimit()
DRegisterPressure.cpp1129 unsigned PSetID = PDiffI->getPSet(); in getUpwardPressureDelta() local
1130 unsigned Limit = RCI->getRegPressureSetLimit(PSetID); in getUpwardPressureDelta()
1132 Limit += LiveThruPressure[PSetID]; in getUpwardPressureDelta()
1134 unsigned POld = CurrSetPressure[PSetID]; in getUpwardPressureDelta()
1135 unsigned MOld = P.MaxSetPressure[PSetID]; in getUpwardPressureDelta()
1151 Delta.Excess = PressureChange(PSetID); in getUpwardPressureDelta()
1159 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
1162 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
1165 Delta.CriticalMax = PressureChange(PSetID); in getUpwardPressureDelta()
1171 if (!Delta.CurrentMax.isValid() && MNew > MaxPressureLimit[PSetID]) { in getUpwardPressureDelta()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegisterClassInfo.cpp172 const int *PSetID = TRI->getRegClassPressureSets(C); in computePSetLimit() local
173 for (; *PSetID != -1; ++PSetID) { in computePSetLimit()
174 if ((unsigned)*PSetID == Idx) in computePSetLimit()
177 if (*PSetID == -1) in computePSetLimit()
DRegisterPressure.cpp1150 unsigned PSetID = PDiffI->getPSet(); in getUpwardPressureDelta() local
1151 unsigned Limit = RCI->getRegPressureSetLimit(PSetID); in getUpwardPressureDelta()
1153 Limit += LiveThruPressure[PSetID]; in getUpwardPressureDelta()
1155 unsigned POld = CurrSetPressure[PSetID]; in getUpwardPressureDelta()
1156 unsigned MOld = P.MaxSetPressure[PSetID]; in getUpwardPressureDelta()
1172 Delta.Excess = PressureChange(PSetID); in getUpwardPressureDelta()
1180 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
1183 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
1186 Delta.CriticalMax = PressureChange(PSetID); in getUpwardPressureDelta()
1192 if (!Delta.CurrentMax.isValid() && MNew > MaxPressureLimit[PSetID]) { in getUpwardPressureDelta()
[all …]
/external/llvm/include/llvm/CodeGen/
DRegisterPressure.h94 uint16_t PSetID; // ID+1. 0=Invalid. variable
97 PressureChange(): PSetID(0), UnitInc(0) {} in PressureChange()
98 PressureChange(unsigned id): PSetID(id+1), UnitInc(0) { in PressureChange()
102 bool isValid() const { return PSetID > 0; } in isValid()
106 return PSetID - 1; in getPSet()
109 unsigned getPSetOrMax() const { return (PSetID - 1) & UINT16_MAX; } in getPSetOrMax()
116 return PSetID == RHS.PSetID && UnitInc == RHS.UnitInc;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DRegisterPressure.h105 uint16_t PSetID = 0; // ID+1. 0=Invalid. variable
110 PressureChange(unsigned id): PSetID(id + 1) { in PressureChange()
114 bool isValid() const { return PSetID > 0; } in isValid()
118 return PSetID - 1; in getPSet()
123 return (PSetID - 1) & std::numeric_limits<uint16_t>::max(); in getPSetOrMax()
131 return PSetID == RHS.PSetID && UnitInc == RHS.UnitInc;
DTargetRegisterInfo.h754 unsigned PSetID) const { in getRegPressureSetScore() argument
755 return PSetID; in getRegPressureSetScore()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp74 static bool hasPressureSet(const int *PSets, unsigned PSetID) { in hasPressureSet() argument
76 if (PSets[i] == (int)PSetID) in hasPressureSet()
82 void SIRegisterInfo::classifyPressureSet(unsigned PSetID, unsigned Reg, in classifyPressureSet() argument
86 if (hasPressureSet(PSets, PSetID)) { in classifyPressureSet()
87 PressureSets.set(PSetID); in classifyPressureSet()
DSIRegisterInfo.h34 void classifyPressureSet(unsigned PSetID, unsigned Reg,
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h714 unsigned PSetID) const { in getRegPressureSetScore() argument
715 return PSetID; in getRegPressureSetScore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp29 static bool hasPressureSet(const int *PSets, unsigned PSetID) { in hasPressureSet() argument
31 if (PSets[i] == (int)PSetID) in hasPressureSet()
37 void SIRegisterInfo::classifyPressureSet(unsigned PSetID, unsigned Reg, in classifyPressureSet() argument
41 if (hasPressureSet(PSets, PSetID)) { in classifyPressureSet()
42 PressureSets.set(PSetID); in classifyPressureSet()
DSIRegisterInfo.h38 void classifyPressureSet(unsigned PSetID, unsigned Reg,