reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
149 delete State; 153 assert(!State); 154 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB); 157 std::vector<unsigned> &KillIndices = State->GetKillIndices(); 158 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 166 State->UnionGroups(Reg, 0); 184 State->UnionGroups(AliasReg, 0); 192 delete State; 193 State = nullptr; 209 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 217 if (State->IsLive(Reg)) { 218 LLVM_DEBUG(if (State->GetGroup(Reg) != 0) dbgs() 219 << " " << printReg(Reg, TRI) << "=g" << State->GetGroup(Reg) 221 State->UnionGroups(Reg, 0); 305 std::vector<unsigned> &KillIndices = State->GetKillIndices(); 306 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 308 RegRefs = State->GetRegRefs(); 315 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) { 320 if (!State->IsLive(Reg)) { 324 State->LeaveGroup(Reg); 329 LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << tag); 336 if (!State->IsLive(SubregReg)) { 340 State->LeaveGroup(SubregReg); 346 << State->GetGroup(SubregReg) << tag); 356 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 358 RegRefs = State->GetRegRefs(); 382 << State->GetGroup(Reg)); 391 LLVM_DEBUG(if (State->GetGroup(Reg) != 0) dbgs() << "->g0(alloc-req)"); 392 State->UnionGroups(Reg, 0); 399 if (State->IsLive(AliasReg)) { 400 State->UnionGroups(Reg, AliasReg); 401 LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << "(via " 435 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) 447 RegRefs = State->GetRegRefs(); 478 << State->GetGroup(Reg)); 486 LLVM_DEBUG(if (State->GetGroup(Reg) != 0) dbgs() << "->g0(alloc-req)"); 487 State->UnionGroups(Reg, 0); 514 State->UnionGroups(FirstReg, Reg); 521 LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(FirstReg) << '\n'); 532 for (const auto &Q : make_range(State->GetRegRefs().equal_range(Reg))) { 554 std::vector<unsigned> &KillIndices = State->GetKillIndices(); 555 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 557 RegRefs = State->GetRegRefs(); 563 State->GetGroupRegs(AntiDepGroupIndex, Regs, &RegRefs); 683 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { 690 if (State->IsLive(AliasReg) || 759 std::vector<unsigned> &KillIndices = State->GetKillIndices(); 760 std::vector<unsigned> &DefIndices = State->GetDefIndices(); 762 RegRefs = State->GetRegRefs(); 801 if (!State->IsLive(Reg)) 949 const unsigned GroupIndex = State->GetGroup(AntiDepReg); 989 State->UnionGroups(NewReg, 0); 994 State->UnionGroups(CurrReg, 0);