Lines Matching refs:LegalizerHelper

89 LegalizerHelper::LegalizerHelper(MachineFunction &MF,  in LegalizerHelper()  function in LegalizerHelper
98 LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI, in LegalizerHelper() function in LegalizerHelper
105 LegalizerHelper::LegalizeResult
106 LegalizerHelper::legalizeInstrStep(MachineInstr &MI) { in legalizeInstrStep()
149 void LegalizerHelper::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts()
156 bool LegalizerHelper::extractParts(Register Reg, LLT RegTy, in extractParts()
201 void LegalizerHelper::insertParts(Register DstReg, in insertParts()
258 void LegalizerHelper::extractGCDType(SmallVectorImpl<Register> &Parts, in extractGCDType()
272 LLT LegalizerHelper::extractGCDType(SmallVectorImpl<Register> &Parts, LLT DstTy, in extractGCDType()
280 LLT LegalizerHelper::buildLCMMergePieces(LLT DstTy, LLT NarrowTy, LLT GCDTy, in buildLCMMergePieces()
371 void LegalizerHelper::buildWidenedRemergeToDst(Register DstReg, LLT LCMTy, in buildWidenedRemergeToDst()
524 LegalizerHelper::LegalizeResult
537 return LegalizerHelper::UnableToLegalize; in createLibcall()
539 return LegalizerHelper::Legalized; in createLibcall()
542 LegalizerHelper::LegalizeResult
553 static LegalizerHelper::LegalizeResult
565 LegalizerHelper::LegalizeResult
599 return LegalizerHelper::UnableToLegalize; in createMemLibcall()
612 return LegalizerHelper::UnableToLegalize; in createMemLibcall()
628 return LegalizerHelper::Legalized; in createMemLibcall()
653 static LegalizerHelper::LegalizeResult
661 LegalizerHelper::LegalizeResult
662 LegalizerHelper::libcall(MachineInstr &MI) { in libcall()
767 LegalizerHelper::LegalizeResult LegalizerHelper::narrowScalar(MachineInstr &MI, in narrowScalar()
1279 Register LegalizerHelper::coerceToScalar(Register Val) { in coerceToScalar()
1301 void LegalizerHelper::widenScalarSrc(MachineInstr &MI, LLT WideTy, in widenScalarSrc()
1308 void LegalizerHelper::narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, in narrowScalarSrc()
1315 void LegalizerHelper::widenScalarDst(MachineInstr &MI, LLT WideTy, in widenScalarDst()
1324 void LegalizerHelper::narrowScalarDst(MachineInstr &MI, LLT NarrowTy, in narrowScalarDst()
1333 void LegalizerHelper::moreElementsVectorDst(MachineInstr &MI, LLT WideTy, in moreElementsVectorDst()
1340 void LegalizerHelper::moreElementsVectorSrc(MachineInstr &MI, LLT MoreTy, in moreElementsVectorSrc()
1370 void LegalizerHelper::bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastSrc()
1375 void LegalizerHelper::bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastDst()
1383 LegalizerHelper::LegalizeResult
1384 LegalizerHelper::widenScalarMergeValues(MachineInstr &MI, unsigned TypeIdx, in widenScalarMergeValues()
1505 Register LegalizerHelper::widenWithUnmerge(LLT WideTy, Register OrigReg) { in widenWithUnmerge()
1539 LegalizerHelper::LegalizeResult
1540 LegalizerHelper::widenScalarUnmergeValues(MachineInstr &MI, unsigned TypeIdx, in widenScalarUnmergeValues()
1668 LegalizerHelper::LegalizeResult
1669 LegalizerHelper::widenScalarExtract(MachineInstr &MI, unsigned TypeIdx, in widenScalarExtract()
1746 LegalizerHelper::LegalizeResult
1747 LegalizerHelper::widenScalarInsert(MachineInstr &MI, unsigned TypeIdx, in widenScalarInsert()
1758 LegalizerHelper::LegalizeResult
1759 LegalizerHelper::widenScalarAddSubShlSat(MachineInstr &MI, unsigned TypeIdx, in widenScalarAddSubShlSat()
1802 LegalizerHelper::LegalizeResult
1803 LegalizerHelper::widenScalar(MachineInstr &MI, unsigned TypeIdx, LLT WideTy) { in widenScalar()
2346 LegalizerHelper::LegalizeResult
2347 LegalizerHelper::lowerBitcast(MachineInstr &MI) { in lowerBitcast()
2442 LegalizerHelper::LegalizeResult
2443 LegalizerHelper::bitcastExtractVectorElt(MachineInstr &MI, unsigned TypeIdx, in bitcastExtractVectorElt()
2581 LegalizerHelper::LegalizeResult
2582 LegalizerHelper::bitcastInsertVectorElt(MachineInstr &MI, unsigned TypeIdx, in bitcastInsertVectorElt()
2645 LegalizerHelper::LegalizeResult
2646 LegalizerHelper::lowerLoad(MachineInstr &MI) { in lowerLoad()
2736 LegalizerHelper::LegalizeResult
2737 LegalizerHelper::lowerStore(MachineInstr &MI) { in lowerStore()
2784 LegalizerHelper::LegalizeResult
2785 LegalizerHelper::bitcast(MachineInstr &MI, unsigned TypeIdx, LLT CastTy) { in bitcast()
2842 void LegalizerHelper::changeOpcode(MachineInstr &MI, unsigned NewOpcode) { in changeOpcode()
2848 LegalizerHelper::LegalizeResult
2849 LegalizerHelper::lower(MachineInstr &MI, unsigned TypeIdx, LLT LowerHintTy) { in lower()
3144 Align LegalizerHelper::getStackTemporaryAlignment(LLT Ty, in getStackTemporaryAlignment()
3155 LegalizerHelper::createStackTemporary(TypeSize Bytes, Align Alignment, in createStackTemporary()
3185 Register LegalizerHelper::getVectorElementPointer(Register VecPtr, LLT VecTy, in getVectorElementPointer()
3204 LegalizerHelper::LegalizeResult LegalizerHelper::fewerElementsVectorImplicitDef( in fewerElementsVectorImplicitDef()
3232 LegalizerHelper::LegalizeResult
3233 LegalizerHelper::fewerElementsVectorMultiEltType( in fewerElementsVectorMultiEltType()
3315 LegalizerHelper::LegalizeResult
3316 LegalizerHelper::fewerElementsVectorCasts(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorCasts()
3363 LegalizerHelper::LegalizeResult
3364 LegalizerHelper::fewerElementsVectorCmp(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorCmp()
3430 LegalizerHelper::LegalizeResult
3431 LegalizerHelper::fewerElementsVectorSelect(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorSelect()
3502 LegalizerHelper::LegalizeResult
3503 LegalizerHelper::fewerElementsVectorPhi(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorPhi()
3569 LegalizerHelper::LegalizeResult
3570 LegalizerHelper::fewerElementsVectorUnmergeValues(MachineInstr &MI, in fewerElementsVectorUnmergeValues()
3624 LegalizerHelper::LegalizeResult
3625 LegalizerHelper::fewerElementsVectorMerge(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorMerge()
3648 LegalizerHelper::LegalizeResult
3649 LegalizerHelper::fewerElementsVectorExtractInsertVectorElt(MachineInstr &MI, in fewerElementsVectorExtractInsertVectorElt()
3721 LegalizerHelper::LegalizeResult
3722 LegalizerHelper::reduceLoadStoreWidth(MachineInstr &MI, unsigned TypeIdx, in reduceLoadStoreWidth()
3815 LegalizerHelper::LegalizeResult
3816 LegalizerHelper::reduceOperationWidth(MachineInstr &MI, unsigned int TypeIdx, in reduceOperationWidth()
3926 LegalizerHelper::LegalizeResult
3927 LegalizerHelper::fewerElementsVectorSextInReg(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVectorSextInReg()
3948 LegalizerHelper::LegalizeResult
3949 LegalizerHelper::fewerElementsVector(MachineInstr &MI, unsigned TypeIdx, in fewerElementsVector()
4070 LegalizerHelper::LegalizeResult
4071 LegalizerHelper::narrowScalarShiftByConstant(MachineInstr &MI, const APInt &Amt, in narrowScalarShiftByConstant()
4159 LegalizerHelper::LegalizeResult
4160 LegalizerHelper::narrowScalarShift(MachineInstr &MI, unsigned TypeIdx, in narrowScalarShift()
4269 LegalizerHelper::LegalizeResult
4270 LegalizerHelper::moreElementsVectorPhi(MachineInstr &MI, unsigned TypeIdx, in moreElementsVectorPhi()
4288 LegalizerHelper::LegalizeResult
4289 LegalizerHelper::moreElementsVector(MachineInstr &MI, unsigned TypeIdx, in moreElementsVector()
4384 void LegalizerHelper::multiplyRegisters(SmallVectorImpl<Register> &DstRegs, in multiplyRegisters()
4447 LegalizerHelper::LegalizeResult
4448 LegalizerHelper::narrowScalarMul(MachineInstr &MI, LLT NarrowTy) { in narrowScalarMul()
4482 LegalizerHelper::LegalizeResult
4483 LegalizerHelper::narrowScalarExtract(MachineInstr &MI, unsigned TypeIdx, in narrowScalarExtract()
4549 LegalizerHelper::LegalizeResult
4550 LegalizerHelper::narrowScalarInsert(MachineInstr &MI, unsigned TypeIdx, in narrowScalarInsert()
4624 LegalizerHelper::LegalizeResult
4625 LegalizerHelper::narrowScalarBasic(MachineInstr &MI, unsigned TypeIdx, in narrowScalarBasic()
4665 LegalizerHelper::LegalizeResult
4666 LegalizerHelper::narrowScalarExt(MachineInstr &MI, unsigned TypeIdx, in narrowScalarExt()
4687 LegalizerHelper::LegalizeResult
4688 LegalizerHelper::narrowScalarSelect(MachineInstr &MI, unsigned TypeIdx, in narrowScalarSelect()
4733 LegalizerHelper::LegalizeResult
4734 LegalizerHelper::narrowScalarCTLZ(MachineInstr &MI, unsigned TypeIdx, in narrowScalarCTLZ()
4769 LegalizerHelper::LegalizeResult
4770 LegalizerHelper::narrowScalarCTTZ(MachineInstr &MI, unsigned TypeIdx, in narrowScalarCTTZ()
4805 LegalizerHelper::LegalizeResult
4806 LegalizerHelper::narrowScalarCTPOP(MachineInstr &MI, unsigned TypeIdx, in narrowScalarCTPOP()
4830 LegalizerHelper::LegalizeResult
4831 LegalizerHelper::lowerBitCount(MachineInstr &MI) { in lowerBitCount()
4995 LegalizerHelper::LegalizeResult
4996 LegalizerHelper::lowerU64ToF32BitOps(MachineInstr &MI) { in lowerU64ToF32BitOps()
5052 LegalizerHelper::LegalizeResult LegalizerHelper::lowerUITOFP(MachineInstr &MI) { in lowerUITOFP()
5080 LegalizerHelper::LegalizeResult LegalizerHelper::lowerSITOFP(MachineInstr &MI) { in lowerSITOFP()
5126 LegalizerHelper::LegalizeResult LegalizerHelper::lowerFPTOUI(MachineInstr &MI) { in lowerFPTOUI()
5169 LegalizerHelper::LegalizeResult LegalizerHelper::lowerFPTOSI(MachineInstr &MI) { in lowerFPTOSI()
5237 LegalizerHelper::LegalizeResult
5238 LegalizerHelper::lowerFPTRUNC_F64_TO_F16(MachineInstr &MI) { in lowerFPTRUNC_F64_TO_F16()
5342 LegalizerHelper::LegalizeResult
5343 LegalizerHelper::lowerFPTRUNC(MachineInstr &MI) { in lowerFPTRUNC()
5360 LegalizerHelper::LegalizeResult LegalizerHelper::lowerFPOWI(MachineInstr &MI) { in lowerFPOWI()
5387 LegalizerHelper::LegalizeResult LegalizerHelper::lowerMinMax(MachineInstr &MI) { in lowerMinMax()
5402 LegalizerHelper::LegalizeResult
5403 LegalizerHelper::lowerFCopySign(MachineInstr &MI) { in lowerFCopySign()
5450 LegalizerHelper::LegalizeResult
5451 LegalizerHelper::lowerFMinNumMaxNum(MachineInstr &MI) { in lowerFMinNumMaxNum()
5481 LegalizerHelper::LegalizeResult LegalizerHelper::lowerFMad(MachineInstr &MI) { in lowerFMad()
5494 LegalizerHelper::LegalizeResult
5495 LegalizerHelper::lowerIntrinsicRound(MachineInstr &MI) { in lowerIntrinsicRound()
5527 LegalizerHelper::LegalizeResult
5528 LegalizerHelper::lowerFFloor(MachineInstr &MI) { in lowerFFloor()
5554 LegalizerHelper::LegalizeResult
5555 LegalizerHelper::lowerMergeValues(MachineInstr &MI) { in lowerMergeValues()
5595 LegalizerHelper::LegalizeResult
5596 LegalizerHelper::lowerUnmergeValues(MachineInstr &MI) { in lowerUnmergeValues()
5635 LegalizerHelper::LegalizeResult
5636 LegalizerHelper::lowerExtractInsertVectorElt(MachineInstr &MI) { in lowerExtractInsertVectorElt()
5690 LegalizerHelper::LegalizeResult
5691 LegalizerHelper::lowerShuffleVector(MachineInstr &MI) { in lowerShuffleVector()
5746 LegalizerHelper::LegalizeResult
5747 LegalizerHelper::lowerDynStackAlloc(MachineInstr &MI) { in lowerDynStackAlloc()
5783 LegalizerHelper::LegalizeResult
5784 LegalizerHelper::lowerExtract(MachineInstr &MI) { in lowerExtract()
5816 LegalizerHelper::LegalizeResult LegalizerHelper::lowerInsert(MachineInstr &MI) { in lowerInsert()
5868 LegalizerHelper::LegalizeResult
5869 LegalizerHelper::lowerSADDO_SSUBO(MachineInstr &MI) { in lowerSADDO_SSUBO()
5904 LegalizerHelper::LegalizeResult
5905 LegalizerHelper::lowerAddSubSatToMinMax(MachineInstr &MI) { in lowerAddSubSatToMinMax()
5981 LegalizerHelper::LegalizeResult
5982 LegalizerHelper::lowerAddSubSatToAddoSubo(MachineInstr &MI) { in lowerAddSubSatToAddoSubo()
6049 LegalizerHelper::LegalizeResult
6050 LegalizerHelper::lowerShlSat(MachineInstr &MI) { in lowerShlSat()
6083 LegalizerHelper::LegalizeResult
6084 LegalizerHelper::lowerBswap(MachineInstr &MI) { in lowerBswap()
6129 LegalizerHelper::LegalizeResult
6130 LegalizerHelper::lowerBitreverse(MachineInstr &MI) { in lowerBitreverse()
6160 LegalizerHelper::LegalizeResult
6161 LegalizerHelper::lowerReadWriteRegister(MachineInstr &MI) { in lowerReadWriteRegister()
6186 LegalizerHelper::LegalizeResult
6187 LegalizerHelper::lowerSMULH_UMULH(MachineInstr &MI) { in lowerSMULH_UMULH()
6208 LegalizerHelper::LegalizeResult LegalizerHelper::lowerSelect(MachineInstr &MI) { in lowerSelect()