Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAGHVX.cpp617 struct OpRef { struct
618 OpRef(SDValue V) : OpV(V) {} in OpRef() argument
619 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 …]