Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Rec

69     Record *Rec = Arg->getDef();
76 if (Rec->isSubClassOf("RegisterOperand")) {
77 PrintMethod = Rec->getValueAsString("PrintMethod");
78 OperandType = Rec->getValueAsString("OperandType");
79 OperandNamespace = Rec->getValueAsString("OperandNamespace");
80 } else if (Rec->isSubClassOf("Operand")) {
81 PrintMethod = Rec->getValueAsString("PrintMethod");
82 OperandType = Rec->getValueAsString("OperandType");
83 OperandNamespace = Rec->getValueAsString("OperandNamespace");
85 EncoderMethod = Rec->getValueAsString("EncoderMethod");
86 MIOpInfo = Rec->getValueAsDag("MIOperandInfo");
91 PrintFatalError("Bad value for MIOperandInfo in operand '" + Rec->getName() +
99 if (Rec->isSubClassOf("PredicateOp"))
101 else if (Rec->isSubClassOf("OptionalDefOperand"))
103 } else if (Rec->getName() == "variable_ops") {
106 } else if (Rec->isSubClassOf("RegisterClass")) {
108 } else if (!Rec->isSubClassOf("PointerLikeRegClass") &&
109 !Rec->isSubClassOf("unknown_class"))
110 PrintFatalError("Unknown operand class '" + Rec->getName() +
121 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod,
565 Record *Rec = getRecord();
566 if (!Rec->isSubClassOf("Operand"))
569 DagInit *MIOpInfo = Rec->getValueAsDag("MIOperandInfo");
626 Record *InstOpRec = ResultInst->Operands[i].Rec;