Lines Matching refs:StackOffset
9 // This file contains the declaration of the StackOffset class, which is used to
23 /// StackOffset is a wrapper around scalable and non-scalable offsets and is
27 /// StackOffset(1, MVT::nxv16i8)
34 /// StackOffset(1, MVT::nxv16i8) + StackOffset(1, MVT::i64)
38 class StackOffset {
47 StackOffset() : Bytes(0), ScalableBytes(0) {}
49 StackOffset(int64_t Offset, MVT::SimpleValueType T) : StackOffset() {
54 StackOffset(const StackOffset &Other)
57 StackOffset &operator=(const StackOffset &) = default;
59 StackOffset &operator+=(const StackOffset::Part &Other) {
68 StackOffset &operator+=(const StackOffset &Other) {
74 StackOffset operator+(const StackOffset &Other) const {
75 StackOffset Res(*this);
80 StackOffset &operator-=(const StackOffset &Other) {
86 StackOffset operator-(const StackOffset &Other) const {
87 StackOffset Res(*this);
92 StackOffset operator-() const {
93 StackOffset Res = {};
94 const StackOffset Other(*this);