Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp215 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument
216 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()
217 RegRec = RegRec->getValueAsDef("RegClass"); in getRegOperandSize()
218 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()
219 return RegRec->getValueAsListOfDefs("RegTypes")[0]->getValueAsInt("Size"); in getRegOperandSize()
318 Record *RegRec = RegInst->TheDef; in operator ()() local
322 if (RegRec->getValueAsDef("OpEnc") != MemRec->getValueAsDef("OpEnc") || in operator ()()
323 !equalBitsInits(RegRec->getValueAsBitsInit("Opcode"), in operator ()()
326 RegRec->getValueAsDef("OpPrefix") != in operator ()()
328 RegRec->getValueAsDef("OpMap") != MemRec->getValueAsDef("OpMap") || in operator ()()
[all …]
DX86EVEX2VEXTablesEmitter.cpp178 static inline unsigned int getRegOperandSize(const Record *RegRec) { in getRegOperandSize() argument
179 if (RegRec->isSubClassOf("RegisterClass")) in getRegOperandSize()
180 return RegRec->getValueAsInt("Alignment"); in getRegOperandSize()
181 if (RegRec->isSubClassOf("RegisterOperand")) in getRegOperandSize()
182 return RegRec->getValueAsDef("RegClass")->getValueAsInt("Alignment"); in getRegOperandSize()