Lines Matching refs:LiveRegs
72 assert(!LiveRegs.empty() && "Must enter basic block first."); in setLiveReg()
74 if (LiveRegs[rx] == dv) in setLiveReg()
76 if (LiveRegs[rx]) in setLiveReg()
77 release(LiveRegs[rx]); in setLiveReg()
78 LiveRegs[rx] = retain(dv); in setLiveReg()
83 assert(!LiveRegs.empty() && "Must enter basic block first."); in kill()
84 if (!LiveRegs[rx]) in kill()
87 release(LiveRegs[rx]); in kill()
88 LiveRegs[rx] = nullptr; in kill()
93 assert(!LiveRegs.empty() && "Must enter basic block first."); in force()
94 if (DomainValue *dv = LiveRegs[rx]) { in force()
103 assert(LiveRegs[rx] && "Not live after collapse?"); in force()
104 LiveRegs[rx]->addDomain(domain); in force()
121 if (!LiveRegs.empty() && dv->Refs > 1) in collapse()
123 if (LiveRegs[rx] == dv) in collapse()
145 assert(!LiveRegs.empty() && "no space allocated for live registers"); in merge()
146 if (LiveRegs[rx] == B) in merge()
159 if (LiveRegs.empty()) in enterBasicBlock()
160 LiveRegs.assign(NumRegs, nullptr); in enterBasicBlock()
182 if (!LiveRegs[rx]) { in enterBasicBlock()
188 if (LiveRegs[rx]->isCollapsed()) { in enterBasicBlock()
190 unsigned Domain = LiveRegs[rx]->getFirstDomain(); in enterBasicBlock()
198 merge(LiveRegs[rx], pdv); in enterBasicBlock()
210 assert(!LiveRegs.empty() && "Must enter basic block first."); in leaveBasicBlock()
218 MBBOutRegsInfos[MBBNumber] = LiveRegs; in leaveBasicBlock()
219 LiveRegs.clear(); in leaveBasicBlock()
289 if (!LiveRegs.empty()) in visitSoftInstr()
297 DomainValue *dv = LiveRegs[rx]; in visitSoftInstr()
331 assert(!LiveRegs.empty() && "no space allocated for live registers"); in visitSoftInstr()
332 DomainValue *&LR = LiveRegs[rx]; in visitSoftInstr()
352 dv = LiveRegs[Regs.pop_back_val()]; in visitSoftInstr()
359 DomainValue *Latest = LiveRegs[Regs.pop_back_val()]; in visitSoftInstr()
368 assert(!LiveRegs.empty() && "no space allocated for live registers"); in visitSoftInstr()
369 if (LiveRegs[i] == Latest) in visitSoftInstr()
387 if (!LiveRegs[rx] || (mo.isDef() && LiveRegs[rx] != dv)) { in visitSoftInstr()
419 LiveRegs.clear(); in runOnMachineFunction()