Lines Matching defs:tail
183 std::string getLocation(TrailingDirectives &tail);
498 auto tail = getTrailingDirectives(tree);
499 if (tail.returnType)
501 auto locToUse = getLocation(tail);
515 for (int i = 0, e = tree.getNumArgs() - tail.numDirectives; i != e; ++i) {
522 for (int i = 0, e = tree.getNumArgs() - tail.numDirectives; i != e; ++i) {
1408 auto tail = getTrailingDirectives(tree);
1409 if (tail.returnType)
1411 auto locToUse = getLocation(tail);
1413 for (int i = 0, e = tree.getNumArgs() - tail.numDirectives; i != e; ++i) {
1485 TrailingDirectives tail = {DagNode(nullptr), DagNode(nullptr), 0};
1502 ++tail.numDirectives;
1504 if (tail.location)
1507 tail.location = dagArg;
1509 if (tail.returnType)
1512 tail.returnType = dagArg;
1516 return tail;
1520 PatternEmitter::getLocation(PatternEmitter::TrailingDirectives &tail) {
1521 if (tail.location)
1522 return handleLocationDirective(tail.location);
1538 auto tail = getTrailingDirectives(tree);
1539 auto locToUse = getLocation(tail);
1541 auto inPattern = numPatArgs - tail.numDirectives;
1581 for (int i = 0, e = tree.getNumArgs() - tail.numDirectives; i != e; ++i) {
1617 if (!tail.returnType && (isSameOperandsAndResultType || useFirstAttr)) {
1634 if (!tail.returnType && (usePartialResults || depth > 0 || resultIndex < 0)) {
1657 if (depth == 0 && resultIndex >= 0 && tail.returnType)
1669 if (tail.returnType) {
1670 auto numRetTys = tail.returnType.getNumArgs();
1672 auto varName = handleReturnTypeArg(tail.returnType, i, depth + 1);