Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:ResNo

127   unsigned ResNo = 0;     // Which return value of the node we are using.
131 SDValue(SDNode *node, unsigned resno);
134 unsigned getResNo() const { return ResNo; }
145 return Node == O.Node && ResNo == O.ResNo;
151 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
203 /// Return true if there are no nodes using value ResNo of Node.
206 /// Return true if there is exactly one node using value ResNo of Node.
213 V.ResNo = -1U;
219 V.ResNo = -2U;
321 /// leaving the ResNo portion unmodified.
896 EVT getValueType(unsigned ResNo) const {
897 assert(ResNo < NumValues && "Illegal result number!");
898 return ValueList[ResNo];
902 MVT getSimpleValueType(unsigned ResNo) const {
903 return getValueType(ResNo).getSimpleVT();
906 /// Returns MVT::getSizeInBits(getValueType(ResNo)).
907 unsigned getValueSizeInBits(unsigned ResNo) const {
908 return getValueType(ResNo).getSizeInBits();
1030 inline SDValue::SDValue(SDNode *node, unsigned resno)
1031 : Node(node), ResNo(resno) {
1032 // Explicitly check for !ResNo to avoid use-after-free, because there are
1035 assert((!Node || !ResNo || ResNo < Node->getNumValues()) &&
1037 assert(ResNo < -2U && "Cannot use result numbers reserved for DenseMaps.");
1045 return Node->getValueType(ResNo);
1081 return !Node->hasAnyUseOfValue(ResNo);
1085 return Node->hasNUsesOfValue(1, ResNo);