Lines Matching full:classes

81   /// equivalence classes.
83 bool findComponents(IntEqClasses &Classes,
89 void distribute(const IntEqClasses &Classes,
94 void computeMainRangesFixFlags(const IntEqClasses &Classes,
99 void rewriteOperands(const IntEqClasses &Classes,
128 IntEqClasses Classes; in INITIALIZE_PASS_DEPENDENCY() local
129 if (!findComponents(Classes, SubRangeInfos, LI)) in INITIALIZE_PASS_DEPENDENCY()
137 LLVM_DEBUG(dbgs() << printReg(Reg) << ": Found " << Classes.getNumClasses() in INITIALIZE_PASS_DEPENDENCY()
138 << " equivalence classes.\n"); in INITIALIZE_PASS_DEPENDENCY()
140 for (unsigned I = 1, NumClasses = Classes.getNumClasses(); I < NumClasses; in INITIALIZE_PASS_DEPENDENCY()
149 rewriteOperands(Classes, SubRangeInfos, Intervals); in INITIALIZE_PASS_DEPENDENCY()
150 distribute(Classes, SubRangeInfos, Intervals); in INITIALIZE_PASS_DEPENDENCY()
151 computeMainRangesFixFlags(Classes, SubRangeInfos, Intervals); in INITIALIZE_PASS_DEPENDENCY()
155 bool RenameIndependentSubregs::findComponents(IntEqClasses &Classes, in findComponents() argument
174 // Next step: Build union-find structure over all subranges and merge classes in findComponents()
177 Classes.grow(NumComponents); in findComponents()
201 MergedID = MergedID == ~0u ? ID : Classes.join(MergedID, ID); in findComponents()
206 Classes.compress(); in findComponents()
207 unsigned NumClasses = Classes.getNumClasses(); in findComponents()
211 void RenameIndependentSubregs::rewriteOperands(const IntEqClasses &Classes, in rewriteOperands() argument
241 ID = Classes[LocalID + SRInfo.Index]; in rewriteOperands()
260 // TODO: We could attempt to recompute new register classes while visiting in rewriteOperands()
262 // classes than the original vreg. in rewriteOperands()
265 void RenameIndependentSubregs::distribute(const IntEqClasses &Classes, in distribute() argument
268 unsigned NumClasses = Classes.getNumClasses(); in distribute()
282 unsigned ID = Classes[LocalID + SRInfo.Index]; in distribute()
300 const IntEqClasses &Classes, in computeMainRangesFixFlags() argument