• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/

Lines Matching refs:ResNo

1507 /// N, and the result number in ResNo.
1510 unsigned &ResNo) {
1513 ResNo = OpNo;
1540 unsigned ResNo = 0; // The result number being referenced.
1541 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo);
1547 return NodeToApply->UpdateNodeType(ResNo, VVT, TP);
1550 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP);
1553 return TI.EnforceInteger(NodeToApply->getExtType(ResNo));
1556 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo));
1559 return TI.EnforceVector(NodeToApply->getExtType(ResNo));
1564 return NodeToApply->UpdateNodeType(ResNo, OtherNode->getExtType(OResNo),TP)|
1565 OtherNode->UpdateNodeType(OResNo,NodeToApply->getExtType(ResNo),TP);
1594 return TI.EnforceSmallerThan(NodeToApply->getExtType(ResNo),
1605 NodeToApply->getExtType(ResNo));
1616 NodeToApply->getExtType(ResNo));
1619 return TI.EnforceVectorEltTypeIs(NodeToApply->getExtType(ResNo), VVT);
1627 NodeToApply->getExtType(ResNo));
1635 NodeToApply->getExtType(ResNo));
1644 bool TreePatternNode::UpdateNodeTypeFromInst(unsigned ResNo,
1656 return UpdateNodeType(ResNo, getValueTypeByHwMode(R, T.getHwModes()), TP);
1661 return UpdateNodeType(ResNo, MVT::iPTR, TP);
1673 return UpdateNodeType(ResNo, Tgt.getRegisterClass(RC).getValueTypes(), TP);
1742 MVT::SimpleValueType SDNodeInfo::getKnownType(unsigned ResNo) const {
1746 assert(ResNo == 0 && "Only handles single result nodes so far");
2124 static TypeSetByHwMode getImplicitType(Record *R, unsigned ResNo,
2132 assert(ResNo == 0 && "Regoperand ref only has one result!");
2142 assert(ResNo == 0 && "Regclass ref only has one result!");
2157 assert(ResNo == 0 && "FIXME: PatFrag with multiple results?");
2163 assert(ResNo == 0 && "Registers only produce one result!");
2171 assert(ResNo == 0 && "SubRegisterIndices only produce one result!");
2176 assert(ResNo == 0 && "This node only has one result!");
2195 assert(ResNo == 0 && "This node only has one result!");
2201 assert(ResNo == 0 && "FIXME: ComplexPattern with multiple results?");
2207 assert(ResNo == 0 && "Regclass can only have one result!");
2467 for (unsigned ResNo = 0; ResNo != NumResultsToAdd; ++ResNo)
2468 MadeChange |= UpdateNodeTypeFromInst(ResNo, Inst.getResult(ResNo), TP);
2473 unsigned ResNo = NumResultsToAdd;
2481 MadeChange |= UpdateNodeType(ResNo, VT, TP);