Home
last modified time | relevance | path

Searched refs:RegRec (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp227 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument
228 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 ()() local
328 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 …]
DX86EVEX2VEXTablesEmitter.cpp161 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument
162 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()