Home
last modified time | relevance | path

Searched refs:PSets (Results 1 – 2 of 2) 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/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()