Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:ResNo

109   unsigned ResNo;     // Which return value of the node we are using.
111 SDValue() : Node(nullptr), ResNo(0) {}
112 SDValue(SDNode *node, unsigned resno);
115 unsigned getResNo() const { return ResNo; }
126 return Node == O.Node && ResNo == O.ResNo;
132 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
184 /// Return true if there are no nodes using value ResNo of Node.
187 /// Return true if there is exactly one node using value ResNo of Node.
195 V.ResNo = -1U;
200 V.ResNo = -2U;
299 /// leaving the ResNo portion unmodified.
726 EVT getValueType(unsigned ResNo) const {
727 assert(ResNo < NumValues && "Illegal result number!");
728 return ValueList[ResNo];
732 MVT getSimpleValueType(unsigned ResNo) const {
733 return getValueType(ResNo).getSimpleVT();
736 /// Returns MVT::getSizeInBits(getValueType(ResNo)).
737 unsigned getValueSizeInBits(unsigned ResNo) const {
738 return getValueType(ResNo).getSizeInBits();
861 inline SDValue::SDValue(SDNode *node, unsigned resno)
862 : Node(node), ResNo(resno) {
863 assert((!Node || ResNo < Node->getNumValues()) &&
865 assert(ResNo < -2U && "Cannot use result numbers reserved for DenseMaps.");
872 return Node->getValueType(ResNo);
899 return !Node->hasAnyUseOfValue(ResNo);
902 return Node->hasNUsesOfValue(1, ResNo);