Lines Matching refs:ResNo
1616 unsigned &ResNo) { in getOperandNum() argument
1619 ResNo = OpNo; in getOperandNum()
1646 unsigned ResNo = 0; // The result number being referenced. in ApplyTypeConstraint() local
1647 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1653 return NodeToApply->UpdateNodeType(ResNo, VVT, TP); in ApplyTypeConstraint()
1656 return NodeToApply->UpdateNodeType(ResNo, MVT::iPTR, TP); in ApplyTypeConstraint()
1659 return TI.EnforceInteger(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1662 return TI.EnforceFloatingPoint(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1665 return TI.EnforceVector(NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1670 return (int)NodeToApply->UpdateNodeType(ResNo, in ApplyTypeConstraint()
1673 NodeToApply->getExtType(ResNo), TP); in ApplyTypeConstraint()
1703 return TI.EnforceSmallerThan(NodeToApply->getExtType(ResNo), in ApplyTypeConstraint()
1714 NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1725 NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1728 return TI.EnforceVectorEltTypeIs(NodeToApply->getExtType(ResNo), VVT); in ApplyTypeConstraint()
1736 NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1744 NodeToApply->getExtType(ResNo)); in ApplyTypeConstraint()
1753 bool TreePatternNode::UpdateNodeTypeFromInst(unsigned ResNo, in UpdateNodeTypeFromInst() argument
1765 return UpdateNodeType(ResNo, getValueTypeByHwMode(R, T.getHwModes()), TP); in UpdateNodeTypeFromInst()
1770 return UpdateNodeType(ResNo, MVT::iPTR, TP); in UpdateNodeTypeFromInst()
1782 return UpdateNodeType(ResNo, Tgt.getRegisterClass(RC).getValueTypes(), TP); in UpdateNodeTypeFromInst()
1851 MVT::SimpleValueType SDNodeInfo::getKnownType(unsigned ResNo) const { in getKnownType()
1855 assert(ResNo == 0 && "Only handles single result nodes so far"); in getKnownType()
2236 static TypeSetByHwMode getImplicitType(Record *R, unsigned ResNo, in getImplicitType() argument
2244 assert(ResNo == 0 && "Regoperand ref only has one result!"); in getImplicitType()
2254 assert(ResNo == 0 && "Regclass ref only has one result!"); in getImplicitType()
2269 assert(ResNo == 0 && "FIXME: PatFrag with multiple results?"); in getImplicitType()
2275 assert(ResNo == 0 && "Registers only produce one result!"); in getImplicitType()
2283 assert(ResNo == 0 && "SubRegisterIndices only produce one result!"); in getImplicitType()
2288 assert(ResNo == 0 && "This node only has one result!"); in getImplicitType()
2307 assert(ResNo == 0 && "This node only has one result!"); in getImplicitType()
2313 assert(ResNo == 0 && "FIXME: ComplexPattern with multiple results?"); in getImplicitType()
2321 assert(ResNo == 0 && "Regclass can only have one result!"); in getImplicitType()
2581 for (unsigned ResNo = 0; ResNo != NumResultsToAdd; ++ResNo) in ApplyTypeConstraints() local
2582 MadeChange |= UpdateNodeTypeFromInst(ResNo, Inst.getResult(ResNo), TP); in ApplyTypeConstraints()
2587 unsigned ResNo = NumResultsToAdd; in ApplyTypeConstraints() local
2595 MadeChange |= UpdateNodeType(ResNo, VT, TP); in ApplyTypeConstraints()