Lines Matching refs:Head
203 MachineOperand *const Head = HeadRef; in addRegOperandToUseList() local
210 if (!Head) { in addRegOperandToUseList()
216 assert(MO->getReg() == Head->getReg() && "Different regs on the same list!"); in addRegOperandToUseList()
219 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList()
222 Head->Contents.Reg.Prev = MO; in addRegOperandToUseList()
229 MO->Contents.Reg.Next = Head; in addRegOperandToUseList()
242 MachineOperand *const Head = HeadRef; in removeRegOperandFromUseList() local
243 assert(Head && "List already empty"); in removeRegOperandFromUseList()
250 if (MO == Head) in removeRegOperandFromUseList()
255 (Next ? Next : Head)->Contents.Reg.Prev = Prev; in removeRegOperandFromUseList()
287 MachineOperand *&Head = getRegUseDefListHead(Src->getReg()); in moveOperands() local
290 assert(Head && "List empty, but operand is chained"); in moveOperands()
295 if (Src == Head) in moveOperands()
296 Head = Dst; in moveOperands()
302 (Next ? Next : Head)->Contents.Reg.Prev = Dst; in moveOperands()