Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RC

70   // Compute all information about RC.
71 void compute(const TargetRegisterClass *RC) const;
73 // Return an up-to-date RCInfo for RC.
74 const RCInfo &get(const TargetRegisterClass *RC) const {
75 const RCInfo &RCI = RegClass[RC->getID()];
77 compute(RC);
89 /// registers in RC in the current function.
90 unsigned getNumAllocatableRegs(const TargetRegisterClass *RC) const {
91 return get(RC).NumRegs;
94 /// getOrder - Returns the preferred allocation order for RC. The order
97 ArrayRef<MCPhysReg> getOrder(const TargetRegisterClass *RC) const {
98 return get(RC);
101 /// isProperSubClass - Returns true if RC has a legal super-class with more
107 bool isProperSubClass(const TargetRegisterClass *RC) const {
108 return get(RC).ProperSubClass;
120 /// Get the minimum register cost in RC's allocation order.
122 /// the registers in getOrder(RC).
123 unsigned getMinCost(const TargetRegisterClass *RC) {
124 return get(RC).MinCost;
127 /// Get the position of the last cost change in getOrder(RC).
129 /// All registers in getOrder(RC).slice(getLastCostChange(RC)) will have the
131 unsigned getLastCostChange(const TargetRegisterClass *RC) {
132 return get(RC).LastCostChange;