Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:ResNo

122   unsigned ResNo = 0;     // Which return value of the node we are using.
126 SDValue(SDNode *node, unsigned resno);
129 unsigned getResNo() const { return ResNo; }
140 return Node == O.Node && ResNo == O.ResNo;
146 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
198 /// Return true if there are no nodes using value ResNo of Node.
201 /// Return true if there is exactly one node using value ResNo of Node.
208 V.ResNo = -1U;
214 V.ResNo = -2U;
314 /// leaving the ResNo portion unmodified.
813 EVT getValueType(unsigned ResNo) const {
814 assert(ResNo < NumValues && "Illegal result number!");
815 return ValueList[ResNo];
819 MVT getSimpleValueType(unsigned ResNo) const {
820 return getValueType(ResNo).getSimpleVT();
823 /// Returns MVT::getSizeInBits(getValueType(ResNo)).
824 unsigned getValueSizeInBits(unsigned ResNo) const {
825 return getValueType(ResNo).getSizeInBits();
946 inline SDValue::SDValue(SDNode *node, unsigned resno)
947 : Node(node), ResNo(resno) {
948 // Explicitly check for !ResNo to avoid use-after-free, because there are
951 assert((!Node || !ResNo || ResNo < Node->getNumValues()) &&
953 assert(ResNo < -2U && "Cannot use result numbers reserved for DenseMaps.");
961 return Node->getValueType(ResNo);
997 return !Node->hasAnyUseOfValue(ResNo);
1001 return Node->hasNUsesOfValue(1, ResNo);