• Home
  • Raw
  • Download

Lines Matching refs:LiveRegs

142   LiveReg *LiveRegs;  member in __anon8828e55e0311::ExeDepsFix
269 assert(LiveRegs && "Must enter basic block first."); in setLiveReg()
271 if (LiveRegs[rx].Value == dv) in setLiveReg()
273 if (LiveRegs[rx].Value) in setLiveReg()
274 release(LiveRegs[rx].Value); in setLiveReg()
275 LiveRegs[rx].Value = retain(dv); in setLiveReg()
281 assert(LiveRegs && "Must enter basic block first."); in kill()
282 if (!LiveRegs[rx].Value) in kill()
285 release(LiveRegs[rx].Value); in kill()
286 LiveRegs[rx].Value = nullptr; in kill()
292 assert(LiveRegs && "Must enter basic block first."); in force()
293 if (DomainValue *dv = LiveRegs[rx].Value) { in force()
302 assert(LiveRegs[rx].Value && "Not live after collapse?"); in force()
303 LiveRegs[rx].Value->addDomain(domain); in force()
322 if (LiveRegs && dv->Refs > 1) in collapse()
324 if (LiveRegs[rx].Value == dv) in collapse()
347 assert(LiveRegs && "no space allocated for live registers"); in merge()
348 if (LiveRegs[rx].Value == B) in merge()
367 if (!LiveRegs) in enterBasicBlock()
368 LiveRegs = new LiveReg[NumRegs]; in enterBasicBlock()
372 LiveRegs[rx].Value = nullptr; in enterBasicBlock()
373 LiveRegs[rx].Def = -(1 << 20); in enterBasicBlock()
383 LiveRegs[rx].Def = -1; in enterBasicBlock()
402 LiveRegs[rx].Def = std::max(LiveRegs[rx].Def, fi->second[rx].Def); in enterBasicBlock()
407 if (!LiveRegs[rx].Value) { in enterBasicBlock()
413 if (LiveRegs[rx].Value->isCollapsed()) { in enterBasicBlock()
415 unsigned Domain = LiveRegs[rx].Value->getFirstDomain(); in enterBasicBlock()
423 merge(LiveRegs[rx].Value, pdv); in enterBasicBlock()
433 assert(LiveRegs && "Must enter basic block first."); in leaveBasicBlock()
436 bool First = LiveOuts.insert(std::make_pair(MBB, LiveRegs)).second; in leaveBasicBlock()
442 LiveRegs[i].Def -= CurInstr; in leaveBasicBlock()
447 release(LiveRegs[i].Value); in leaveBasicBlock()
448 delete[] LiveRegs; in leaveBasicBlock()
450 LiveRegs = nullptr; in leaveBasicBlock()
477 unsigned Clearance = CurInstr - LiveRegs[rx].Def; in shouldBreakDependence()
534 LiveRegs[rx].Def = CurInstr; in processDefs()
611 if (LiveRegs) in visitSoftInstr()
617 DomainValue *dv = LiveRegs[rx].Value; in visitSoftInstr()
651 assert(LiveRegs && "no space allocated for live registers"); in visitSoftInstr()
652 const LiveReg &LR = LiveRegs[rx]; in visitSoftInstr()
692 assert(LiveRegs && "no space allocated for live registers"); in visitSoftInstr()
693 if (LiveRegs[i].Value == Latest) in visitSoftInstr()
713 if (!LiveRegs[rx].Value || (mo.isDef() && LiveRegs[rx].Value != dv)) { in visitSoftInstr()
725 LiveRegs = nullptr; in runOnMachineFunction()