Searched defs:OpRef (Results 1 – 1 of 1) sorted by relevance
617 struct OpRef { struct618 OpRef(SDValue V) : OpV(V) {} in OpRef() argument619 bool isValue() const { return OpV.getNode() != nullptr; } in isValue()620 bool isValid() const { return isValue() || !(OpN & Invalid); } in isValid()621 static OpRef res(int N) { return OpRef(Whole | (N & Index)); } in res()622 static OpRef fail() { return OpRef(Invalid); } in fail()624 static OpRef lo(const OpRef &R) { in lo()628 static OpRef hi(const OpRef &R) { in hi()632 static OpRef undef(MVT Ty) { return OpRef(Undef | Ty.SimpleTy); } in undef()635 SDValue OpV = SDValue();[all …]