Lines Matching refs:HalfTy

4072                                              const LLT HalfTy, const LLT AmtTy) {  in narrowScalarShiftByConstant()  argument
4074 Register InL = MRI.createGenericVirtualRegister(HalfTy); in narrowScalarShiftByConstant()
4075 Register InH = MRI.createGenericVirtualRegister(HalfTy); in narrowScalarShiftByConstant()
4084 LLT NVT = HalfTy; in narrowScalarShiftByConstant()
4085 unsigned NVTBits = HalfTy.getSizeInBits(); in narrowScalarShiftByConstant()
4184 const LLT HalfTy = LLT::scalar(NewBitSize); in narrowScalarShift() local
4190 MI, KShiftAmt->getOperand(1).getCImm()->getValue(), HalfTy, ShiftAmtTy); in narrowScalarShift()
4198 Register InL = MRI.createGenericVirtualRegister(HalfTy); in narrowScalarShift()
4199 Register InH = MRI.createGenericVirtualRegister(HalfTy); in narrowScalarShift()
4213 auto LoS = MIRBuilder.buildShl(HalfTy, InL, Amt); in narrowScalarShift()
4215 auto LoOr = MIRBuilder.buildLShr(HalfTy, InL, AmtLack); in narrowScalarShift()
4216 auto HiOr = MIRBuilder.buildShl(HalfTy, InH, Amt); in narrowScalarShift()
4217 auto HiS = MIRBuilder.buildOr(HalfTy, LoOr, HiOr); in narrowScalarShift()
4220 auto LoL = MIRBuilder.buildConstant(HalfTy, 0); // Lo part is zero. in narrowScalarShift()
4221 auto HiL = MIRBuilder.buildShl(HalfTy, InL, AmtExcess); // Hi from Lo part. in narrowScalarShift()
4223 auto Lo = MIRBuilder.buildSelect(HalfTy, IsShort, LoS, LoL); in narrowScalarShift()
4225 HalfTy, IsZero, InH, MIRBuilder.buildSelect(HalfTy, IsShort, HiS, HiL)); in narrowScalarShift()
4234 auto HiS = MIRBuilder.buildInstr(MI.getOpcode(), {HalfTy}, {InH, Amt}); in narrowScalarShift()
4236 auto LoOr = MIRBuilder.buildLShr(HalfTy, InL, Amt); in narrowScalarShift()
4237 auto HiOr = MIRBuilder.buildShl(HalfTy, InH, AmtLack); in narrowScalarShift()
4238 auto LoS = MIRBuilder.buildOr(HalfTy, LoOr, HiOr); in narrowScalarShift()
4243 HiL = MIRBuilder.buildConstant(HalfTy, 0); // Hi part is zero. in narrowScalarShift()
4246 HiL = MIRBuilder.buildAShr(HalfTy, InH, ShiftAmt); // Sign of Hi part. in narrowScalarShift()
4248 auto LoL = MIRBuilder.buildInstr(MI.getOpcode(), {HalfTy}, in narrowScalarShift()
4252 HalfTy, IsZero, InL, MIRBuilder.buildSelect(HalfTy, IsShort, LoS, LoL)); in narrowScalarShift()
4254 auto Hi = MIRBuilder.buildSelect(HalfTy, IsShort, HiS, HiL); in narrowScalarShift()