Lines Matching refs:RegisterClasses
60 ArrayRef<CodeGenRegisterClass*> RegisterClasses = Bank.getRegClasses(); in runEnums() local
61 if (!RegisterClasses.empty()) { in runEnums()
66 for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) { in runEnums()
68 OS << " " << RegisterClasses[i]->getName() << "RegClassID"; in runEnums()
333 ArrayRef<CodeGenRegisterClass*> RegisterClasses = RegBank.getRegClasses(); in runMCDesc() local
339 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runMCDesc()
340 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runMCDesc()
372 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runMCDesc()
373 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runMCDesc()
394 << RegisterClasses.size() << ");\n\n"; in runMCDesc()
448 ArrayRef<CodeGenRegisterClass*> RegisterClasses = RegBank.getRegClasses(); in runTargetHeader() local
450 if (!RegisterClasses.empty()) { in runTargetHeader()
451 OS << "namespace " << RegisterClasses[0]->Namespace in runTargetHeader()
454 for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) { in runTargetHeader()
455 const CodeGenRegisterClass &RC = *RegisterClasses[i]; in runTargetHeader()
496 ArrayRef<CodeGenRegisterClass*> RegisterClasses = RegBank.getRegClasses(); in runTargetDesc() local
502 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
503 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
513 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
514 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
531 if (!RegisterClasses.empty()) { in runTargetDesc()
532 OS << "namespace " << RegisterClasses[0]->Namespace in runTargetDesc()
534 for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) in runTargetDesc()
535 OS << " " << RegisterClasses[i]->getName() << "Class\t" in runTargetDesc()
536 << RegisterClasses[i]->getName() << "RegClass;\n"; in runTargetDesc()
547 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
548 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
560 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
561 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
577 const CodeGenRegisterClass &RC2 = *RegisterClasses[*II]; in runTargetDesc()
591 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
592 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
603 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) { in runTargetDesc()
604 const CodeGenRegisterClass &RC = *RegisterClasses[rc]; in runTargetDesc()
619 for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) { in runTargetDesc()
620 const CodeGenRegisterClass &RC = *RegisterClasses[i]; in runTargetDesc()
664 for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) in runTargetDesc()
665 OS << " &" << RegisterClasses[i]->getQualifiedName() in runTargetDesc()
792 if (RegisterClasses.size() < UINT8_MAX) in runTargetDesc()
794 else if (RegisterClasses.size() < UINT16_MAX) in runTargetDesc()
798 OS << RegisterClasses.size() << "][" << SubRegIndices.size() << "] = {\n"; in runTargetDesc()
799 for (unsigned rci = 0, rce = RegisterClasses.size(); rci != rce; ++rci) { in runTargetDesc()
800 const CodeGenRegisterClass &RC = *RegisterClasses[rci]; in runTargetDesc()
826 << ", RegisterClasses, RegisterClasses+" << RegisterClasses.size() <<",\n" in runTargetDesc()
830 << RegisterClasses.size() << ");\n\n"; in runTargetDesc()