Searched defs:OpRef (Results 1 – 1 of 1) sorted by relevance
618 struct OpRef { struct619 OpRef(SDValue V) : OpV(V) {} in OpRef() function620 bool isValue() const { return OpV.getNode() != nullptr; } in isValue()621 bool isValid() const { return isValue() || !(OpN & Invalid); } in isValid()622 static OpRef res(int N) { return OpRef(Whole | (N & Index)); } in res()623 static OpRef fail() { return OpRef(Invalid); } in fail()625 static OpRef lo(const OpRef &R) { in lo()629 static OpRef hi(const OpRef &R) { in hi()633 static OpRef undef(MVT Ty) { return OpRef(Undef | Ty.SimpleTy); } in undef()636 SDValue OpV = SDValue();[all …]