Home
last modified time | relevance | path

Searched defs:OpRef (Results 1 – 1 of 1) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp622 struct OpRef { struct
623 OpRef(SDValue V) : OpV(V) {} in OpRef() argument
624 bool isValue() const { return OpV.getNode() != nullptr; } in isValue()
625 bool isValid() const { return isValue() || !(OpN & Invalid); } in isValid()
626 bool isUndef() const { return OpN & Undef; } in isUndef()
627 static OpRef res(int N) { return OpRef(Whole | (N & Index)); } in res()
628 static OpRef fail() { return OpRef(Invalid); } in fail()
630 static OpRef lo(const OpRef &R) { in lo()
634 static OpRef hi(const OpRef &R) { in hi()
638 static OpRef undef(MVT Ty) { return OpRef(Undef | Ty.SimpleTy); } in undef()
[all …]