Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Operands

359   // Both operands must be integer or FP, but we don't care which.
873 /// constraint to the nodes operands. This returns true if it makes a
983 // Both RegisterClass and RegisterOperand operands derive their types from a
1115 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs ? 1 : 0;
1293 // Verify that we are passing the right number of operands.
1296 utostr(Frag->getNumArgs()) + " operands!");
1595 // Types of operands must match.
1623 utostr(NumParamVTs) + " operands, not " +
1624 utostr(getNumChildren() - 1) + " operands!");
1644 // Check that the number of operands is sane. Negative operands -> varargs.
1648 itostr(NI.getNumOperands()) + " operands!");
1668 unsigned NumResultsToAdd = InstInfo.Operands.NumDefs ? 1 : 0;
1705 // Verify that we didn't run out of provided operands.
1708 "' expects more operands than were provided.");
1715 // If the operand has sub-operands, they may be provided by distinct
1729 // And the remaining sub-operands against subsequent children.
1733 "' expects more operands than were provided.");
1754 "' was provided too many operands!");
1836 // Scan all of the operands of the node and make sure that only the last one
2008 // Parse all the operands.
2047 error("All ComplexPattern operands must appear consistently: "
2308 // Parse the operands list.
2309 DagInit *OpsList = Fragments[i]->getValueAsDag("Operands");
2317 P->error("Operands
2324 P->error("Operands list should all be 'node' values.");
2326 P->error("Operands list should have names for each operand!");
2335 P->error("Operands list does not contain an entry for operand '" +
2393 // Copy the operands over into a DAGDefaultOperand.
2514 I->error("set requires operands!");
2697 // call arguments as operands, but a CALL instruction is not variadic - it
2802 // Now that we have inputs and outputs of the pattern, inspect the operands
2803 // list for the instruction. This determines the order that operands are
2807 // Parse the operands list from the (ops) list, validating it.
2814 if (i == CGI.Operands.size())
2817 const std::string &OpName = CGI.Operands[i].Name;
2831 if (!checkOperandClass(CGI.Operands[i], R))
2835 Results.push_back(CGI.Operands[i].Rec);
2846 std::vector<Record*> Operands;
2847 for (unsigned i = NumResults, e = CGI.Operands.size(); i != e; ++i) {
2848 CGIOperandList::OperandInfo &Op = CGI.Operands[i];
2851 I->error("Operand #" + utostr(i) + " in operands list has no name!");
2874 Operands.push_back(Op.Rec);
2895 " occurs in pattern but not in operands list!");
2906 DAGInstruction TheInst(I, Results, Operands, InstImpResults);
2941 std::vector<Record*> Operands;
2945 if (InstInfo.Operands.size() != 0) {
2946 if (InstInfo.Operands.NumDefs == 0) {
2948 for (unsigned j = 0, e = InstInfo.Operands.size(); j < e; ++j)
2949 Operands.push_back(InstInfo.Operands[j].Rec);
2952 Results.push_back(InstInfo.Operands[0].Rec);
2955 for (unsigned j = 1, e = InstInfo.Operands.size(); j < e; ++j)
2956 Operands.push_back(InstInfo.Operands[j].Rec);
2963 DAGInstruction(nullptr, Results, Operands, ImpResults)));
3595 // operands are the commutative operands, and there might be more operands