Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Kind

150     /// Invalid kind, for use as a sentinel value.
165 /// Kind - The class kind, which is either a predefined kind, or (UserClass0 +
167 unsigned Kind;
200 /// For custom match classes: the diagnostic kind for when the predicate fails.
205 return Kind >= RegisterClass0 && Kind < UserClass0;
210 return Kind >= UserClass0;
217 if (Kind == Token || RHS.Kind == Token)
218 return Kind == Token && RHS.Kind == Token;
276 // Unrelated classes can be ordered by kind.
278 return Kind < RHS.Kind;
280 switch (Kind) {
282 llvm_unreachable("Invalid kind!");
353 } Kind;
377 X.Kind = RenderAsmOperand;
385 X.Kind = TiedOperand;
393 X.Kind = ImmOperand;
401 X.Kind = RegOperand;
566 // by checking that either (a) a token or operand kind discriminates them,
572 if (AsmOperands[i].Class->Kind != RHS.AsmOperands[i].Class->Kind ||
573 AsmOperands[i].Class->Kind == ClassInfo::Token)
779 if (Op.Kind == ResOperand::RenderAsmOperand &&
791 switch(Op.Kind) {
1053 Entry->Kind = ClassInfo::Token;
1187 CI->Kind = ClassInfo::RegisterClass0 + Index;
1261 CI->Kind = ClassInfo::UserClass0 + Index;
1696 switch (CGA.ResultOperands[AliasOpNo].Kind) {
1756 << "convertToMCInst(unsigned Kind, MCInst &Inst, "
1760 << " assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n"
1761 << " const uint8_t *Converter = ConversionTable[Kind];\n"
1778 << "convertToMapAndConstraints(unsigned Kind,\n";
1781 << " assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n"
1783 << " const uint8_t *Converter = ConversionTable[Kind];\n"
1815 // Remember this converter for the kind enum.
1847 switch (OpInfo.Kind) {
1862 // Add the conversion kind, if necessary, and get the associated ID
1872 // Add the operand entry to the instruction kind conversion row.
1879 // This is a new operand kind. Add a handler for it to the
1920 // Add the operand entry to the instruction kind conversion row.
1952 // Add the operand entry to the instruction kind conversion row.
1994 // Output the operand conversion kind enum.
2001 // Output the instruction conversion kind enum.
2046 if (CI.Kind == ClassInfo::Token) {
2067 << "MatchClassKind Kind) {\n";
2072 OS << " if (Kind == InvalidMatchClass)\n";
2078 OS << " return isSubclass(matchTokenString(Operand.getToken()), Kind) ?\n"
2089 OS << " if (Kind == " << CI.Name << ") {\n";
2108 OS << " return isSubclass(OpKind, Kind) ? "
2182 if (CI.Kind == ClassInfo::Token)
2702 OS << " void convertToMCInst(unsigned Kind, MCInst &Inst, "
2706 OS << " void convertToMapAndConstraints(unsigned Kind,\n ";