Home
last modified time | relevance | path

Searched refs:PSets (Results 1 – 4 of 4) sorted by relevance

/external/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp284 std::vector<std::vector<int>> PSets(NumRCUnitSets); in EmitRegUnitPressure() local
288 PSets[i].reserve(PSetIDs.size()); in EmitRegUnitPressure()
291 PSets[i].push_back(RegBank.getRegPressureSet(*PSetI).Order); in EmitRegUnitPressure()
293 std::sort(PSets[i].begin(), PSets[i].end()); in EmitRegUnitPressure()
294 PSetsSeqs.add(PSets[i]); in EmitRegUnitPressure()
312 OS << PSetsSeqs.get(PSets[i]) << ","; in EmitRegUnitPressure()
329 OS << PSetsSeqs.get(PSets[RegBank.getRegUnit(UnitIdx).RegClassUnitSetsIdx]) in EmitRegUnitPressure()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp290 std::vector<std::vector<int>> PSets(NumRCUnitSets); in EmitRegUnitPressure() local
294 PSets[i].reserve(PSetIDs.size()); in EmitRegUnitPressure()
297 PSets[i].push_back(RegBank.getRegPressureSet(*PSetI).Order); in EmitRegUnitPressure()
299 llvm::sort(PSets[i].begin(), PSets[i].end()); in EmitRegUnitPressure()
300 PSetsSeqs.add(PSets[i]); in EmitRegUnitPressure()
318 OS << PSetsSeqs.get(PSets[i]) << ","; in EmitRegUnitPressure()
335 OS << PSetsSeqs.get(PSets[RegBank.getRegUnit(UnitIdx).RegClassUnitSetsIdx]) in EmitRegUnitPressure()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp29 static bool hasPressureSet(const int *PSets, unsigned PSetID) { in hasPressureSet() argument
30 for (unsigned i = 0; PSets[i] != -1; ++i) { in hasPressureSet()
31 if (PSets[i] == (int)PSetID) in hasPressureSet()
40 const int *PSets = getRegUnitPressureSets(*U); in classifyPressureSet() local
41 if (hasPressureSet(PSets, PSetID)) { in classifyPressureSet()
83 const int *PSets = getRegUnitPressureSets(i); in SIRegisterInfo() local
84 for (unsigned j = 0; PSets[j] != -1; ++j) { in SIRegisterInfo()
85 ++PressureSetRegUnits[PSets[j]]; in SIRegisterInfo()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp74 static bool hasPressureSet(const int *PSets, unsigned PSetID) { in hasPressureSet() argument
75 for (unsigned i = 0; PSets[i] != -1; ++i) { in hasPressureSet()
76 if (PSets[i] == (int)PSetID) in hasPressureSet()
85 const int *PSets = getRegUnitPressureSets(*U); in classifyPressureSet() local
86 if (hasPressureSet(PSets, PSetID)) { in classifyPressureSet()