Lines Matching refs:Rec
78 Record *Rec = Arg->getDef(); in CGIOperandList() local
85 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList()
86 PrintMethod = std::string(Rec->getValueAsString("PrintMethod")); in CGIOperandList()
87 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
88 OperandNamespace = std::string(Rec->getValueAsString("OperandNamespace")); in CGIOperandList()
89 EncoderMethod = std::string(Rec->getValueAsString("EncoderMethod")); in CGIOperandList()
90 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
91 PrintMethod = std::string(Rec->getValueAsString("PrintMethod")); in CGIOperandList()
92 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
93 OperandNamespace = std::string(Rec->getValueAsString("OperandNamespace")); in CGIOperandList()
95 EncoderMethod = std::string(Rec->getValueAsString("EncoderMethod")); in CGIOperandList()
96 MIOpInfo = Rec->getValueAsDag("MIOperandInfo"); in CGIOperandList()
103 Rec->getName() + "'\n"); in CGIOperandList()
110 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
112 else if (Rec->isSubClassOf("OptionalDefOperand")) in CGIOperandList()
114 } else if (Rec->getName() == "variable_ops") { in CGIOperandList()
119 } else if (Rec->isSubClassOf("RegisterClass")) { in CGIOperandList()
121 } else if (!Rec->isSubClassOf("PointerLikeRegClass") && in CGIOperandList()
122 !Rec->isSubClassOf("unknown_class")) { in CGIOperandList()
123 PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() + in CGIOperandList()
140 Rec, std::string(ArgName), std::string(PrintMethod), in CGIOperandList()
303 Record *Rec) { in ParseConstraint() argument
313 Rec->getLoc(), "Illegal format for @earlyclobber constraint in '" + in ParseConstraint()
314 Rec->getName() + "': '" + CStr + "'"); in ParseConstraint()
321 Rec->getLoc(), "Operand '" + Name + "' of '" + Rec->getName() + in ParseConstraint()
332 Rec->getLoc(), "Unrecognized constraint '" + CStr + in ParseConstraint()
333 "' in '" + Rec->getName() + "'"); in ParseConstraint()
340 Rec->getLoc(), "Illegal format for tied-to constraint in '" + in ParseConstraint()
341 Rec->getName() + "': '" + CStr + "'"); in ParseConstraint()
348 Rec->getLoc(), "Illegal format for tied-to constraint: '" + CStr + "'"); in ParseConstraint()
364 Rec->getLoc(), "Input operands '" + LHSOpName + "' and '" + RHSOpName + in ParseConstraint()
365 "' of '" + Rec->getName() + "' cannot be tied!"); in ParseConstraint()
368 Rec->getLoc(), "Output operands '" + LHSOpName + "' and '" + RHSOpName + in ParseConstraint()
369 "' of '" + Rec->getName() + "' cannot be tied!"); in ParseConstraint()
376 Rec->getLoc(), "Operand '" + SrcOpName + "' of '" + Rec->getName() + in ParseConstraint()
388 Rec->getLoc(), "Operand '" + DestOpName + "' of '" + Rec->getName() + in ParseConstraint()
395 static void ParseConstraints(StringRef CStr, CGIOperandList &Ops, Record *Rec) { in ParseConstraints() argument
407 ParseConstraint(CStr.substr(bidx, eidx - bidx), Ops, Rec); in ParseConstraints()