Lines Matching refs:Seg

188       Segment(const Segment &Seg) = default;
189 Segment &operator=(const Segment &Seg) = default;
196 Block(Value *Val, int Len, int Pos) : Seg(Val, 0, Len), Pos(Pos) {} in Block()
198 : Seg(Val, Off, Len), Pos(Pos) {} in Block()
201 Segment Seg; // Value segment. member
281 OS << " @" << B.Pos << " [" << B.Seg.Start << ',' << B.Seg.Size << "] " in operator <<()
282 << *B.Seg.Val << '\n'; in operator <<()
337 int Max = Blocks[0].Pos + Blocks[0].Seg.Size; in extent()
340 Max = std::max(Max, Blocks[i].Pos + Blocks[i].Seg.Size); in extent()
349 int R = std::min(B.Pos + B.Seg.Size, Start + Length); // Right end+1. in section()
353 Section.Blocks.emplace_back(B.Seg.Val, B.Seg.Start + Off, R - L, L); in section()
368 Values[i] = Blocks[i].Seg.Val; in values()
807 ASpan[j].Seg.Val = HVC.vralignb(Builder, ASpan[j].Seg.Val, in realignGroup()
808 ASpan[j + 1].Seg.Val, AlignVal); in realignGroup()
813 ByteSpan ASection = ASpan.section(B.Pos, B.Seg.Size).shift(-B.Pos); in realignGroup()
814 Value *Accum = UndefValue::get(HVC.getByteTy(B.Seg.Size)); in realignGroup()
816 Value *Pay = HVC.vbytes(Builder, getPayload(S.Seg.Val)); in realignGroup()
818 HVC.insertb(Builder, Accum, Pay, S.Seg.Start, S.Seg.Size, S.Pos); in realignGroup()
826 Type *ValTy = getPayload(B.Seg.Val)->getType(); in realignGroup()
828 Value *Sel = Builder.CreateSelect(getMask(B.Seg.Val), Cast, in realignGroup()
829 getPassThrough(B.Seg.Val)); in realignGroup()
830 B.Seg.Val->replaceAllUsesWith(Sel); in realignGroup()
855 Value *Pay = getPayload(S.Seg.Val); in realignGroup()
856 Value *Mask = HVC.rescale(Builder, MakeVec(Builder, getMask(S.Seg.Val)), in realignGroup()
859 S.Seg.Start, S.Seg.Size, S.Pos); in realignGroup()
861 S.Seg.Start, S.Seg.Size, S.Pos); in realignGroup()
870 ASpanV[j - 1].Seg.Val = HVC.vlalignb(Builder, ASpanV[j - 1].Seg.Val, in realignGroup()
871 ASpanV[j].Seg.Val, AlignVal); in realignGroup()
872 ASpanM[j - 1].Seg.Val = HVC.vlalignb(Builder, ASpanM[j - 1].Seg.Val, in realignGroup()
873 ASpanM[j].Seg.Val, AlignVal); in realignGroup()
879 Value *Val = ASpanV[i].Seg.Val; in realignGroup()
880 Value *Mask = ASpanM[i].Seg.Val; // bytes in realignGroup()