Lines Matching defs:VL
959 /// vector length VL.
960 static MachineInstrBuilder buildAllOnesMask(LLT VecTy, const SrcOp &VL,
964 return MIB.buildInstr(RISCV::G_VMSET_VL, {MaskTy}, {VL});
967 /// Gets the two common "VL" operands: an all-ones mask and the vector length.
974 auto VL = MIB.buildConstant(XLenTy, -1);
975 auto Mask = buildAllOnesMask(VecTy, VL, MIB, MRI);
976 return {Mask, VL};
981 Register Hi, const SrcOp &VL, MachineIRBuilder &MIB,
992 {Passthru, Lo, Hi, VL});
997 const SrcOp &Scalar, const SrcOp &VL,
1002 Unmerge.getReg(1), VL, MIB, MRI);
1024 auto [_, VL] = buildDefaultVLOps(MRI.getType(Dst), MIB, MRI);
1025 buildSplatSplitS64WithVL(Dst, MIB.buildUndef(VecTy), SplatVal, VL, MIB,
1034 auto VL = buildDefaultVLOps(VecTy, MIB, MRI).second;
1035 MIB.buildInstr(RISCV::G_VMSET_VL, {Dst}, {VL});
1040 auto VL = buildDefaultVLOps(VecTy, MIB, MRI).second;
1041 MIB.buildInstr(RISCV::G_VMCLR_VL, {Dst}, {VL});
1145 auto [Mask, VL] = buildDefaultVLOps(LitTy, MIB, MRI);
1149 {MIB.buildUndef(InterLitTy), Vec, SlidedownAmt, Mask, VL, Policy});
1228 // OFFSET<=i<VL set to the "subvector" and vl<=i<VLMAX set to the tail policy
1230 // where OFFSET is the insertion offset, and the VL is the OFFSET plus the
1249 auto VL = MIB.buildVScale(XLenTy, LitTy.getElementCount().getKnownMinValue());
1260 {AlignedExtract, Insert, VL});
1264 VL = MIB.buildAdd(XLenTy, SlideupAmt, VL);
1275 {AlignedExtract, Insert, SlideupAmt, Mask, VL, Policy});