Lines Matching refs:CombinerHelper
48 CombinerHelper::CombinerHelper(GISelChangeObserver &Observer, in CombinerHelper() function in CombinerHelper
58 const TargetLowering &CombinerHelper::getTargetLowering() const { in getTargetLowering()
132 bool CombinerHelper::isPreLegalize() const { return !LI; } in isPreLegalize()
134 bool CombinerHelper::isLegal(const LegalityQuery &Query) const { in isLegal()
139 bool CombinerHelper::isLegalOrBeforeLegalizer( in isLegalOrBeforeLegalizer()
144 bool CombinerHelper::isConstantLegalOrBeforeLegalizer(const LLT Ty) const { in isConstantLegalOrBeforeLegalizer()
155 void CombinerHelper::replaceRegWith(MachineRegisterInfo &MRI, Register FromReg, in replaceRegWith()
167 void CombinerHelper::replaceRegOpWith(MachineRegisterInfo &MRI, in replaceRegOpWith()
178 void CombinerHelper::replaceOpcodeWith(MachineInstr &FromMI, in replaceOpcodeWith()
187 const RegisterBank *CombinerHelper::getRegBank(Register Reg) const { in getRegBank()
191 void CombinerHelper::setRegBank(Register Reg, const RegisterBank *RegBank) { in setRegBank()
196 bool CombinerHelper::tryCombineCopy(MachineInstr &MI) { in tryCombineCopy()
203 bool CombinerHelper::matchCombineCopy(MachineInstr &MI) { in matchCombineCopy()
210 void CombinerHelper::applyCombineCopy(MachineInstr &MI) { in applyCombineCopy()
217 bool CombinerHelper::tryCombineConcatVectors(MachineInstr &MI) { in tryCombineConcatVectors()
227 bool CombinerHelper::matchCombineConcatVectors(MachineInstr &MI, bool &IsUndef, in matchCombineConcatVectors()
272 void CombinerHelper::applyCombineConcatVectors( in applyCombineConcatVectors()
294 bool CombinerHelper::tryCombineShuffleVector(MachineInstr &MI) { in tryCombineShuffleVector()
303 bool CombinerHelper::matchCombineShuffleVector(MachineInstr &MI, in matchCombineShuffleVector()
379 void CombinerHelper::applyCombineShuffleVector(MachineInstr &MI, in applyCombineShuffleVector()
479 bool CombinerHelper::tryCombineExtendingLoads(MachineInstr &MI) { in tryCombineExtendingLoads()
488 bool CombinerHelper::matchCombineExtendingLoads(MachineInstr &MI, in matchCombineExtendingLoads()
563 void CombinerHelper::applyCombineExtendingLoads(MachineInstr &MI, in applyCombineExtendingLoads()
673 bool CombinerHelper::matchCombineLoadWithAndMask(MachineInstr &MI, in matchCombineLoadWithAndMask()
754 bool CombinerHelper::isPredecessor(const MachineInstr &DefMI, in isPredecessor()
770 bool CombinerHelper::dominates(const MachineInstr &DefMI, in dominates()
782 bool CombinerHelper::matchSextTruncSextLoad(MachineInstr &MI) { in matchSextTruncSextLoad()
808 void CombinerHelper::applySextTruncSextLoad(MachineInstr &MI) { in applySextTruncSextLoad()
815 bool CombinerHelper::matchSextInRegOfLoad( in matchSextInRegOfLoad()
867 void CombinerHelper::applySextInRegOfLoad( in applySextInRegOfLoad()
891 bool CombinerHelper::findPostIndexCandidate(MachineInstr &MI, Register &Addr, in findPostIndexCandidate()
959 bool CombinerHelper::findPreIndexCandidate(MachineInstr &MI, Register &Addr, in findPreIndexCandidate()
1020 bool CombinerHelper::tryCombineIndexedLoadStore(MachineInstr &MI) { in tryCombineIndexedLoadStore()
1029 bool CombinerHelper::matchCombineIndexedLoadStore(MachineInstr &MI, IndexedLoadStoreMatchInfo &Matc… in matchCombineIndexedLoadStore()
1050 void CombinerHelper::applyCombineIndexedLoadStore( in applyCombineIndexedLoadStore()
1092 bool CombinerHelper::matchCombineDivRem(MachineInstr &MI, in matchCombineDivRem()
1155 void CombinerHelper::applyCombineDivRem(MachineInstr &MI, in applyCombineDivRem()
1187 bool CombinerHelper::matchOptBrCondByInvertingCond(MachineInstr &MI, in matchOptBrCondByInvertingCond()
1221 void CombinerHelper::applyOptBrCondByInvertingCond(MachineInstr &MI, in applyOptBrCondByInvertingCond()
1253 bool CombinerHelper::tryEmitMemcpyInline(MachineInstr &MI) { in tryEmitMemcpyInline()
1261 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in tryCombineMemCpyFamily()
1311 bool CombinerHelper::matchCombineConstantFoldFpUnary(MachineInstr &MI, in matchCombineConstantFoldFpUnary()
1320 void CombinerHelper::applyCombineConstantFoldFpUnary(MachineInstr &MI, in applyCombineConstantFoldFpUnary()
1331 bool CombinerHelper::matchPtrAddImmedChain(MachineInstr &MI, in matchPtrAddImmedChain()
1393 void CombinerHelper::applyPtrAddImmedChain(MachineInstr &MI, in applyPtrAddImmedChain()
1406 bool CombinerHelper::matchShiftImmedChain(MachineInstr &MI, in matchShiftImmedChain()
1451 void CombinerHelper::applyShiftImmedChain(MachineInstr &MI, in applyShiftImmedChain()
1484 bool CombinerHelper::matchShiftOfShiftedLogic(MachineInstr &MI, in matchShiftOfShiftedLogic()
1565 void CombinerHelper::applyShiftOfShiftedLogic(MachineInstr &MI, in applyShiftOfShiftedLogic()
1599 bool CombinerHelper::matchCombineMulToShl(MachineInstr &MI, in matchCombineMulToShl()
1611 void CombinerHelper::applyCombineMulToShl(MachineInstr &MI, in applyCombineMulToShl()
1624 bool CombinerHelper::matchCombineShlOfExtend(MachineInstr &MI, in matchCombineShlOfExtend()
1661 void CombinerHelper::applyCombineShlOfExtend(MachineInstr &MI, in applyCombineShlOfExtend()
1675 bool CombinerHelper::matchCombineMergeUnmerge(MachineInstr &MI, in matchCombineMergeUnmerge()
1702 bool CombinerHelper::matchCombineUnmergeMergeToPlainValues( in matchCombineUnmergeMergeToPlainValues()
1726 void CombinerHelper::applyCombineUnmergeMergeToPlainValues( in applyCombineUnmergeMergeToPlainValues()
1749 bool CombinerHelper::matchCombineUnmergeConstant(MachineInstr &MI, in matchCombineUnmergeConstant()
1774 void CombinerHelper::applyCombineUnmergeConstant(MachineInstr &MI, in applyCombineUnmergeConstant()
1790 bool CombinerHelper::matchCombineUnmergeUndef( in matchCombineUnmergeUndef()
1804 bool CombinerHelper::matchCombineUnmergeWithDeadLanesToTrunc(MachineInstr &MI) { in matchCombineUnmergeWithDeadLanesToTrunc()
1815 void CombinerHelper::applyCombineUnmergeWithDeadLanesToTrunc(MachineInstr &MI) { in applyCombineUnmergeWithDeadLanesToTrunc()
1836 bool CombinerHelper::matchCombineUnmergeZExtToZExt(MachineInstr &MI) { in matchCombineUnmergeZExtToZExt()
1862 void CombinerHelper::applyCombineUnmergeZExtToZExt(MachineInstr &MI) { in applyCombineUnmergeZExtToZExt()
1896 bool CombinerHelper::matchCombineShiftToUnmerge(MachineInstr &MI, in matchCombineShiftToUnmerge()
1921 void CombinerHelper::applyCombineShiftToUnmerge(MachineInstr &MI, in applyCombineShiftToUnmerge()
1994 bool CombinerHelper::tryCombineShiftToUnmerge(MachineInstr &MI, in tryCombineShiftToUnmerge()
2005 bool CombinerHelper::matchCombineI2PToP2I(MachineInstr &MI, Register &Reg) { in matchCombineI2PToP2I()
2014 void CombinerHelper::applyCombineI2PToP2I(MachineInstr &MI, Register &Reg) { in applyCombineI2PToP2I()
2022 bool CombinerHelper::matchCombineP2IToI2P(MachineInstr &MI, Register &Reg) { in matchCombineP2IToI2P()
2028 void CombinerHelper::applyCombineP2IToI2P(MachineInstr &MI, Register &Reg) { in applyCombineP2IToI2P()
2036 bool CombinerHelper::matchCombineAddP2IToPtrAdd( in matchCombineAddP2IToPtrAdd()
2061 void CombinerHelper::applyCombineAddP2IToPtrAdd( in applyCombineAddP2IToPtrAdd()
2080 bool CombinerHelper::matchCombineConstPtrAddToI2P(MachineInstr &MI, in matchCombineConstPtrAddToI2P()
2101 void CombinerHelper::applyCombineConstPtrAddToI2P(MachineInstr &MI, in applyCombineConstPtrAddToI2P()
2111 bool CombinerHelper::matchCombineAnyExtTrunc(MachineInstr &MI, Register &Reg) { in matchCombineAnyExtTrunc()
2120 bool CombinerHelper::matchCombineZextTrunc(MachineInstr &MI, Register &Reg) { in matchCombineZextTrunc()
2134 bool CombinerHelper::matchCombineExtOfExt( in matchCombineExtOfExt()
2155 void CombinerHelper::applyCombineExtOfExt( in applyCombineExtOfExt()
2186 void CombinerHelper::applyCombineMulByNegativeOne(MachineInstr &MI) { in applyCombineMulByNegativeOne()
2198 bool CombinerHelper::matchCombineFNegOfFNeg(MachineInstr &MI, Register &Reg) { in matchCombineFNegOfFNeg()
2204 bool CombinerHelper::matchCombineFAbsOfFAbs(MachineInstr &MI, Register &Src) { in matchCombineFAbsOfFAbs()
2211 bool CombinerHelper::matchCombineFAbsOfFNeg(MachineInstr &MI, in matchCombineFAbsOfFNeg()
2228 bool CombinerHelper::matchCombineTruncOfExt( in matchCombineTruncOfExt()
2242 void CombinerHelper::applyCombineTruncOfExt( in applyCombineTruncOfExt()
2263 bool CombinerHelper::matchCombineTruncOfShl( in matchCombineTruncOfShl()
2287 void CombinerHelper::applyCombineTruncOfShl( in applyCombineTruncOfShl()
2303 bool CombinerHelper::matchAnyExplicitUseIsUndef(MachineInstr &MI) { in matchAnyExplicitUseIsUndef()
2310 bool CombinerHelper::matchAllExplicitUsesAreUndef(MachineInstr &MI) { in matchAllExplicitUsesAreUndef()
2317 bool CombinerHelper::matchUndefShuffleVectorMask(MachineInstr &MI) { in matchUndefShuffleVectorMask()
2323 bool CombinerHelper::matchUndefStore(MachineInstr &MI) { in matchUndefStore()
2329 bool CombinerHelper::matchUndefSelectCmp(MachineInstr &MI) { in matchUndefSelectCmp()
2335 bool CombinerHelper::matchConstantSelectCmp(MachineInstr &MI, unsigned &OpIdx) { in matchConstantSelectCmp()
2345 bool CombinerHelper::eraseInst(MachineInstr &MI) { in eraseInst()
2350 bool CombinerHelper::matchEqualDefs(const MachineOperand &MOP1, in matchEqualDefs()
2447 bool CombinerHelper::matchConstantOp(const MachineOperand &MOP, int64_t C) { in matchConstantOp()
2456 bool CombinerHelper::replaceSingleDefInstWithOperand(MachineInstr &MI, in replaceSingleDefInstWithOperand()
2467 bool CombinerHelper::replaceSingleDefInstWithReg(MachineInstr &MI, in replaceSingleDefInstWithReg()
2477 bool CombinerHelper::matchSelectSameVal(MachineInstr &MI) { in matchSelectSameVal()
2485 bool CombinerHelper::matchBinOpSameVal(MachineInstr &MI) { in matchBinOpSameVal()
2491 bool CombinerHelper::matchOperandIsZero(MachineInstr &MI, unsigned OpIdx) { in matchOperandIsZero()
2497 bool CombinerHelper::matchOperandIsUndef(MachineInstr &MI, unsigned OpIdx) { in matchOperandIsUndef()
2503 bool CombinerHelper::matchOperandIsKnownToBeAPowerOfTwo(MachineInstr &MI, in matchOperandIsKnownToBeAPowerOfTwo()
2509 bool CombinerHelper::replaceInstWithFConstant(MachineInstr &MI, double C) { in replaceInstWithFConstant()
2517 bool CombinerHelper::replaceInstWithConstant(MachineInstr &MI, int64_t C) { in replaceInstWithConstant()
2525 bool CombinerHelper::replaceInstWithConstant(MachineInstr &MI, APInt C) { in replaceInstWithConstant()
2533 bool CombinerHelper::replaceInstWithUndef(MachineInstr &MI) { in replaceInstWithUndef()
2541 bool CombinerHelper::matchSimplifyAddToSub( in matchSimplifyAddToSub()
2561 bool CombinerHelper::matchCombineInsertVecElts( in matchCombineInsertVecElts()
2602 void CombinerHelper::applyCombineInsertVecElts( in applyCombineInsertVecElts()
2621 void CombinerHelper::applySimplifyAddToSub( in applySimplifyAddToSub()
2630 bool CombinerHelper::matchHoistLogicOpWithSameOpcodeHands( in matchHoistLogicOpWithSameOpcodeHands()
2721 void CombinerHelper::applyBuildInstructionSteps( in applyBuildInstructionSteps()
2736 bool CombinerHelper::matchAshrShlToSextInreg( in matchAshrShlToSextInreg()
2754 void CombinerHelper::applyAshShlToSextInreg( in applyAshShlToSextInreg()
2767 bool CombinerHelper::matchOverlappingAnd( in matchOverlappingAnd()
2793 bool CombinerHelper::matchRedundantAnd(MachineInstr &MI, in matchRedundantAnd()
2848 bool CombinerHelper::matchRedundantOr(MachineInstr &MI, Register &Replacement) { in matchRedundantOr()
2894 bool CombinerHelper::matchRedundantSExtInReg(MachineInstr &MI) { in matchRedundantSExtInReg()
2909 bool CombinerHelper::matchNotCmp(MachineInstr &MI, in matchNotCmp()
2986 void CombinerHelper::applyNotCmp(MachineInstr &MI, in applyNotCmp()
3018 bool CombinerHelper::matchXorOfAndWithSameReg( in matchXorOfAndWithSameReg()
3049 void CombinerHelper::applyXorOfAndWithSameReg( in applyXorOfAndWithSameReg()
3063 bool CombinerHelper::matchPtrAddZero(MachineInstr &MI) { in matchPtrAddZero()
3082 void CombinerHelper::applyPtrAddZero(MachineInstr &MI) { in applyPtrAddZero()
3090 void CombinerHelper::applySimplifyURemByPow2(MachineInstr &MI) { in applySimplifyURemByPow2()
3104 bool CombinerHelper::matchFoldBinOpIntoSelect(MachineInstr &MI, in matchFoldBinOpIntoSelect()
3158 bool CombinerHelper::applyFoldBinOpIntoSelect(MachineInstr &MI, in applyFoldBinOpIntoSelect()
3201 CombinerHelper::findCandidatesForLoadOrCombine(const MachineInstr *Root) const { in findCandidatesForLoadOrCombine()
3299 CombinerHelper::findLoadOffsetsForLoadOrCombine( in findLoadOffsetsForLoadOrCombine()
3432 bool CombinerHelper::matchLoadOrCombine( in matchLoadOrCombine()
3613 bool CombinerHelper::matchTruncStoreMerge(MachineInstr &MI, in matchTruncStoreMerge()
3786 void CombinerHelper::applyTruncStoreMerge(MachineInstr &MI, in applyTruncStoreMerge()
3813 bool CombinerHelper::matchExtendThroughPhis(MachineInstr &MI, in matchExtendThroughPhis()
3868 void CombinerHelper::applyExtendThroughPhis(MachineInstr &MI, in applyExtendThroughPhis()
3913 bool CombinerHelper::matchExtractVecEltBuildVec(MachineInstr &MI, in matchExtractVecEltBuildVec()
3950 void CombinerHelper::applyExtractVecEltBuildVec(MachineInstr &MI, in applyExtractVecEltBuildVec()
3968 bool CombinerHelper::matchExtractAllEltsFromBuildVector( in matchExtractAllEltsFromBuildVector()
4010 void CombinerHelper::applyExtractAllEltsFromBuildVector( in applyExtractAllEltsFromBuildVector()
4022 void CombinerHelper::applyBuildFn( in applyBuildFn()
4029 void CombinerHelper::applyBuildFnNoErase( in applyBuildFnNoErase()
4035 bool CombinerHelper::matchOrShiftToFunnelShift(MachineInstr &MI, in matchOrShiftToFunnelShift()
4089 bool CombinerHelper::matchFunnelShiftToRotate(MachineInstr &MI) { in matchFunnelShiftToRotate()
4101 void CombinerHelper::applyFunnelShiftToRotate(MachineInstr &MI) { in applyFunnelShiftToRotate()
4113 bool CombinerHelper::matchRotateOutOfRange(MachineInstr &MI) { in matchRotateOutOfRange()
4128 void CombinerHelper::applyRotateOutOfRange(MachineInstr &MI) { in applyRotateOutOfRange()
4143 bool CombinerHelper::matchICmpToTrueFalseKnownBits(MachineInstr &MI, in matchICmpToTrueFalseKnownBits()
4196 bool CombinerHelper::matchICmpToLHSKnownBits( in matchICmpToLHSKnownBits()
4239 bool CombinerHelper::matchAndOrDisjointMask( in matchAndOrDisjointMask()
4274 bool CombinerHelper::matchBitfieldExtractFromSExtInReg( in matchBitfieldExtractFromSExtInReg()
4303 bool CombinerHelper::matchBitfieldExtractFromAnd( in matchBitfieldExtractFromAnd()
4339 bool CombinerHelper::matchBitfieldExtractFromShr( in matchBitfieldExtractFromShr()
4388 bool CombinerHelper::matchBitfieldExtractFromShrAnd( in matchBitfieldExtractFromShrAnd()
4446 bool CombinerHelper::reassociationCanBreakAddressingModePattern( in reassociationCanBreakAddressingModePattern()
4514 bool CombinerHelper::matchReassocConstantInnerRHS(GPtrAdd &MI, in matchReassocConstantInnerRHS()
4538 bool CombinerHelper::matchReassocConstantInnerLHS(GPtrAdd &MI, in matchReassocConstantInnerLHS()
4567 bool CombinerHelper::matchReassocFoldConstantsInSubTree(GPtrAdd &MI, in matchReassocFoldConstantsInSubTree()
4596 bool CombinerHelper::matchReassocPtrAdd(MachineInstr &MI, in matchReassocPtrAdd()
4629 bool CombinerHelper::matchConstantFold(MachineInstr &MI, APInt &MatchInfo) { in matchConstantFold()
4639 bool CombinerHelper::matchNarrowBinopFeedingAnd( in matchNarrowBinopFeedingAnd()
4730 bool CombinerHelper::matchMulOBy2(MachineInstr &MI, BuildFnTy &MatchInfo) { in matchMulOBy2()
4748 bool CombinerHelper::matchMulOBy0(MachineInstr &MI, BuildFnTy &MatchInfo) { in matchMulOBy0()
4766 bool CombinerHelper::matchAddOBy0(MachineInstr &MI, BuildFnTy &MatchInfo) { in matchAddOBy0()
4784 MachineInstr *CombinerHelper::buildUDivUsingMul(MachineInstr &MI) { in buildUDivUsingMul()
4890 bool CombinerHelper::matchUDivByConst(MachineInstr &MI) { in matchUDivByConst()
4933 void CombinerHelper::applyUDivByConst(MachineInstr &MI) { in applyUDivByConst()
4938 bool CombinerHelper::matchUMulHToLShr(MachineInstr &MI) { in matchUMulHToLShr()
4954 void CombinerHelper::applyUMulHToLShr(MachineInstr &MI) { in applyUMulHToLShr()
4971 bool CombinerHelper::matchRedundantNegOperands(MachineInstr &MI, in matchRedundantNegOperands()
5033 bool CombinerHelper::canCombineFMadOrFMA(MachineInstr &MI, in canCombineFMadOrFMA()
5066 bool CombinerHelper::matchCombineFAddFMulToFMadOrFMA( in matchCombineFAddFMulToFMadOrFMA()
5114 bool CombinerHelper::matchCombineFAddFpExtFMulToFMadOrFMA( in matchCombineFAddFpExtFMulToFMadOrFMA()
5173 bool CombinerHelper::matchCombineFAddFMAFMulToFMadOrFMA( in matchCombineFAddFMAFMulToFMadOrFMA()
5238 bool CombinerHelper::matchCombineFAddFpExtFMulToFMadOrFMAAggressive( in matchCombineFAddFpExtFMulToFMadOrFMAAggressive()
5364 bool CombinerHelper::matchCombineFSubFMulToFMadOrFMA( in matchCombineFSubFMulToFMadOrFMA()
5416 bool CombinerHelper::matchCombineFSubFNegFMulToFMadOrFMA( in matchCombineFSubFNegFMulToFMadOrFMA()
5463 bool CombinerHelper::matchCombineFSubFpExtFMulToFMadOrFMA( in matchCombineFSubFpExtFMulToFMadOrFMA()
5514 bool CombinerHelper::matchCombineFSubFpExtFNegFMulToFMadOrFMA( in matchCombineFSubFpExtFNegFMulToFMadOrFMA()
5573 bool CombinerHelper::matchSelectToLogical(MachineInstr &MI, in matchSelectToLogical()
5629 bool CombinerHelper::matchCombineFMinMaxNaN(MachineInstr &MI, in matchCombineFMinMaxNaN()
5657 bool CombinerHelper::matchAddSubSameReg(MachineInstr &MI, Register &Src) { in matchAddSubSameReg()
5673 bool CombinerHelper::tryCombine(MachineInstr &MI) { in tryCombine()