Lines Matching full:sri
144 for (CodeGenSubRegIndex *SRI : SubIdx->ConcatenationOf) in computeConcatTransitiveClosure()
145 assert(SRI->ConcatenationOf.empty() && "No transitive closure?"); in computeConcatTransitiveClosure()
181 for (const auto &[SRI, SR] : zip_equal(SRIs, SRs)) { in buildObjectGraph()
182 ExplicitSubRegIndices.push_back(RegBank.getSubRegIdx(SRI)); in buildObjectGraph()
266 SubRegMap::const_iterator SRI = Map.find(Key); in computeSubRegs() local
267 if (SRI == Map.end()) in computeSubRegs()
269 // Add `Val` as a name for the subreg SRI->second, assuming it is in computeSubRegs()
271 if (SubRegs.count(Val) || !Orphans.erase(SRI->second)) in computeSubRegs()
274 SubRegs.try_emplace(Val, SRI->second); in computeSubRegs()
299 for (const auto &[SRI, SubReg] : Map) in computeSubRegs()
301 SubRegs[RegBank.getCompositeSubRegIndex(Idx, SRI)] = SubReg; in computeSubRegs()
305 for (auto &[SRI, SubReg] : SubRegs) { in computeSubRegs()
316 SRI->AllSuperRegsCovered = false; in computeSubRegs()
320 SubReg2Idx.try_emplace(SubReg, SRI).first; in computeSubRegs()
321 if (Ins->second == SRI) in computeSubRegs()
329 SRI->getName() + " and " + Ins->second->getName()); in computeSubRegs()
412 for (auto [SRI, SubReg] : SubRegs) in computeSecondarySubRegs()
413 SubRegQueue.emplace(SRI, SubReg); in computeSecondarySubRegs()
473 for (auto [SRI, SubReg] : NewSubReg->SubRegs) { in computeSecondarySubRegs()
479 NewIdx->addComposite(SRI, SubIdx, RegBank.getHwModes()); in computeSecondarySubRegs()
1138 for (const Record *SRI : Records.getAllDerivedDefinitions("SubRegIndex")) in CodeGenRegBank() local
1139 getSubRegIdx(SRI); in CodeGenRegBank()
1198 for (CodeGenSubRegIndex &SRI : SubRegIndices) { in CodeGenRegBank()
1199 SRI.computeConcatTransitiveClosure(); in CodeGenRegBank()
1200 if (!SRI.ConcatenationOf.empty()) in CodeGenRegBank()
1202 SmallVector<CodeGenSubRegIndex *, 8>(SRI.ConcatenationOf.begin(), in CodeGenRegBank()
1203 SRI.ConcatenationOf.end()), in CodeGenRegBank()
1204 &SRI); in CodeGenRegBank()
1222 for (auto [SRI, SR] : Reg.getSubRegs()) { in CodeGenRegBank()
1224 SRI->Artificial = false; in CodeGenRegBank()
1407 for (auto [SRI, SubReg] : SM) in computeComposites()
1408 SubRegAction[SRI].try_emplace(&R, SubReg); in computeComposites()
1853 for (auto SRI : SRM) { in normalizeWeight() local
1854 if (SRI.second == Reg) in normalizeWeight()
1857 Changed |= normalizeWeight(SRI.second, UberSets, RegSets, NormalRegs, in normalizeWeight()