Lines Matching full:register
1 //===- RegisterCoalescer.h - Register Coalescing Interface ------*- C++ -*-===//
9 // This file contains the abstract interface for register coalescers,
10 // allowing them to interact with and query register allocators.
17 #include "llvm/CodeGen/Register.h"
25 /// A helper class for register coalescers. When deciding if
31 /// The register that will be left after coalescing. It can be a
32 /// virtual or physical register.
33 Register DstReg;
35 /// The virtual register that will be coalesced into dstReg.
36 Register SrcReg;
38 /// The sub-register index of the old DstReg in the new coalesced register.
41 /// The sub-register index of the old SrcReg in the new coalesced register.
54 /// The register class of the coalesced register, or NULL if DstReg
55 /// is a physreg. This register class may be a super-register of both
64 CoalescerPair(Register VirtReg, MCRegister PhysReg, in CoalescerPair()
73 /// because DstReg is a physical register, or SubIdx is set.
80 /// Return true if DstReg is a physical register.
84 /// the full register, but was a subreg operation.
88 /// register class than DstReg's.
91 /// Return true when getSrcReg is the register being defined by
95 /// Return the register (virtual or physical) that will remain
97 Register getDstReg() const { return DstReg; } in getDstReg()
99 /// Return the virtual register that will be coalesced away.
100 Register getSrcReg() const { return SrcReg; } in getSrcReg()
108 /// Return the register class of the coalesced register.