Searched refs:RegRec (Results 1 – 2 of 2) sorted by relevance
227 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument228 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()229 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize()230 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()231 return RegRec->getValueAsListOfDefs("RegTypes")[0]->getValueAsInt("Size"); in getRegOperandSize()324 Record *RegRec = RegInst->TheDef; in operator ()() local328 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()()329 !equalBitsInits(RegRec->getValueAsBitsInit("Opcode"), in operator ()()332 RegRec->getValueAsDef("OpPrefix") != in operator ()()334 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()()[all …]
161 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument162 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()163 return RegRec->getValueAsInt("Alignment"); in getRegOperandSize()164 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()165 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()