Home
last modified time | relevance | path

Searched refs:AmtTy (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp379 LLT AmtTy = MRI.getType(AmtReg); in applyCanonicalizeZextShiftAmt() local
385 ExtAmtTy, maskTrailingOnes<uint64_t>(AmtTy.getScalarSizeInBits())); in applyCanonicalizeZextShiftAmt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5880 const LLT HalfTy, const LLT AmtTy) { in narrowScalarShiftByConstant() argument
5903 MIRBuilder.buildConstant(AmtTy, Amt - NVTBits)); in narrowScalarShiftByConstant()
5908 Lo = MIRBuilder.buildShl(NVT, InL, MIRBuilder.buildConstant(AmtTy, Amt)); in narrowScalarShiftByConstant()
5910 MIRBuilder.buildShl(NVT, InH, MIRBuilder.buildConstant(AmtTy, Amt)); in narrowScalarShiftByConstant()
5912 NVT, InL, MIRBuilder.buildConstant(AmtTy, -Amt + NVTBits)); in narrowScalarShiftByConstant()
5920 MIRBuilder.buildConstant(AmtTy, Amt - NVTBits)); in narrowScalarShiftByConstant()
5926 auto ShiftAmtConst = MIRBuilder.buildConstant(AmtTy, Amt); in narrowScalarShiftByConstant()
5930 NVT, InH, MIRBuilder.buildConstant(AmtTy, -Amt + NVTBits)); in narrowScalarShiftByConstant()
5938 NVT, InH, MIRBuilder.buildConstant(AmtTy, NVTBits - 1)); in narrowScalarShiftByConstant()
5941 MIRBuilder.buildConstant(AmtTy, Amt - NVTBits)); in narrowScalarShiftByConstant()
[all …]
H A DCombinerHelper.cpp4435 LLT AmtTy = MRI.getType(Amt); in matchOrShiftToFunnelShift() local
4436 if (!isLegalOrBeforeLegalizer({FshOpc, {Ty, AmtTy}})) in matchOrShiftToFunnelShift()
4491 LLT AmtTy = MRI.getType(Amt); in applyRotateOutOfRange() local
4492 auto Bits = Builder.buildConstant(AmtTy, Bitsize); in applyRotateOutOfRange()
4493 Amt = Builder.buildURem(AmtTy, MI.getOperand(2).getReg(), Bits).getReg(0); in applyRotateOutOfRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp200 const auto &AmtTy = Query.Types[1]; in AArch64LegalizerInfo() local
202 AmtTy.getSizeInBits() == 32; in AArch64LegalizerInfo()
1568 LLT AmtTy = MRI.getType(AmtReg); in legalizeRotate() local
1569 (void)AmtTy; in legalizeRotate()
1570 assert(AmtTy.isScalar() && "Expected a scalar rotate"); in legalizeRotate()
1571 assert(AmtTy.getSizeInBits() < 64 && "Expected this rotate to be legal"); in legalizeRotate()