Home | History | Annotate | Download | only in ssa

Lines Matching defs:last

107 // lastLoc returns the last VarLoc for slot, or nil if it has none.
109 return b.Variables[slot].last()
122 // last returns the last location in the list.
123 func (l *VarLocList) last() *VarLoc {
157 // the last block, where there's no later Prog, it will be nil to indicate
332 last := locList.last()
333 if last == nil || last.End != nil {
336 last.End = BlockEnd
387 last := locList.last()
388 if last == nil || last.End != BlockEnd {
393 loc.OnStack = last.OnStack
394 loc.StackLocation = last.StackLocation
395 loc.Registers = last.Registers
409 liveLoc := liveVar.last()
414 predLoc := blockLocs[p.ID].Variables[SlotID(slot)].last()
439 loc := locList.last()
479 last := locs.lastLoc(slot)
480 if last == nil {
487 if last.End != nil {
488 state.unexpected(v, "regkill of dead slot, died at %v\n", last.End)
490 last.End = v
492 regs := last.Registers &^ (1 << uint8(vReg.num))
493 if !last.OnStack && regs == 0 {
498 loc.OnStack = last.OnStack
499 loc.StackLocation = last.StackLocation
505 if last := locs.lastLoc(slot); last != nil {
507 last.End = v
521 last := locs.lastLoc(slot)
522 if last == nil {
526 last.End = v
531 loc.Registers = last.Registers
556 last := locs.lastLoc(slot)
557 if last != nil && last.End == nil {
558 last.End = v
563 if last != nil {
564 loc.OnStack = last.OnStack
565 loc.StackLocation = last.StackLocation
566 loc.Registers = last.Registers