Lines Matching defs:ResNo
149 unsigned ResNo = 0; // Which return value of the node we are using.
156 unsigned getResNo() const { return ResNo; }
167 return Node == O.Node && ResNo == O.ResNo;
173 return std::tie(Node, ResNo) < std::tie(O.Node, O.ResNo);
232 /// Return true if there are no nodes using value ResNo of Node.
235 /// Return true if there is exactly one node using value ResNo of Node.
242 V.ResNo = -1U;
248 V.ResNo = -2U;
350 /// leaving the ResNo portion unmodified.
1006 EVT getValueType(unsigned ResNo) const {
1007 assert(ResNo < NumValues && "Illegal result number!");
1008 return ValueList[ResNo];
1012 MVT getSimpleValueType(unsigned ResNo) const {
1013 return getValueType(ResNo).getSimpleVT();
1016 /// Returns MVT::getSizeInBits(getValueType(ResNo)).
1021 TypeSize getValueSizeInBits(unsigned ResNo) const {
1022 return getValueType(ResNo).getSizeInBits();
1148 : Node(node), ResNo(resno) {
1149 // Explicitly check for !ResNo to avoid use-after-free, because there are
1152 assert((!Node || !ResNo || ResNo < Node->getNumValues()) &&
1154 assert(ResNo < -2U && "Cannot use result numbers reserved for DenseMaps.");
1162 return Node->getValueType(ResNo);
1202 return !Node->hasAnyUseOfValue(ResNo);
1206 return Node->hasNUsesOfValue(1, ResNo);