Home
last modified time | relevance | path

Searched refs:m_Deferred (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1027 AddOp, m_OneUse(m_BinOp(MulOp, m_Value(A), m_Deferred(A))), in matchesSquareSum()
1030 m_c_BinOp(AddOp, m_BinOp(Mul2Op, m_Deferred(A), M2Rhs), in matchesSquareSum()
1032 m_Deferred(B)))))) in matchesSquareSum()
1047 m_c_BinOp(AddOp, m_BinOp(MulOp, m_Deferred(A), m_Deferred(A)), in matchesSquareSum()
1048 m_BinOp(MulOp, m_Deferred(B), m_Deferred(B)))))); in matchesSquareSum()
1241 m_Deferred(Y)))) in foldToUnsignedSaturatedAdd()
1607 if (match(&I, m_c_Add(m_And(m_Value(A), m_APInt(C1)), m_Deferred(A))) && in visitAdd()
1621 if (match(&I, m_c_BinOp(m_ZExt(m_Value(A)), m_SExt(m_Deferred(A)))) && in visitAdd()
1636 m_c_And(m_Deferred(A), m_Deferred(B))))) in visitAdd()
1642 m_c_And(m_Deferred(A), m_Deferred(B))))) { in visitAdd()
[all …]
H A DInstCombineAndOrXor.cpp1852 m_Not(m_c_And(m_Deferred(A), m_Deferred(B)))))) in foldAndToXor()
1861 m_c_Or(m_Not(m_Deferred(A)), m_Deferred(B))))) in foldAndToXor()
2175 m_AddLike(m_Deferred(ShAmt), in foldBinOpOfDisplacedShifts()
2370 m_c_Add(m_Value(X), m_Deferred(Y)), in visitAnd()
2371 m_Sub(m_Value(X), m_Deferred(Y)))))) && in visitAnd()
3581 m_Deferred(X)))) { in visitOr()
3849 m_Deferred(X)))) { in visitOr()
3862 if (match(Lhs, m_c_Xor(m_And(m_Value(A), m_Value(B)), m_Deferred(A))) && in visitOr()
3891 m_Deferred(UMulWithOv)), in visitOr()
3915 m_OneUse(m_ICmp(Pred, m_ExtractValue<0>(m_Deferred(WOV)), in visitOr()
[all …]
H A DInstCombineMulDivRem.cpp520 m_Deferred(X)))) { in visitMul()
624 m_Deferred(X)))) { in foldPowiReassoc()
795 m_Deferred(X)))) { in foldFMulReassoc()
968 m_c_Intrinsic<Intrinsic::minimum>(m_Deferred(X), in visitFMul()
969 m_Deferred(Y))))) { in visitFMul()
1670 m_Deferred(X)))) { in visitSDiv()
1972 (match(&I, m_FDiv(m_Value(X), m_FAbs(m_Deferred(X)))) || in visitFDiv()
1973 match(&I, m_FDiv(m_FAbs(m_Value(X)), m_Deferred(X))))) { in visitFDiv()
H A DInstCombineShifts.cpp224 m_LShr(m_Shl(m_AllOnes(), m_Value(MaskShAmt)), m_Deferred(MaskShAmt)); in dropRedundantMaskingOfLeftShiftInput()
268 m_Deferred(MaskShAmt)))) { in dropRedundantMaskingOfLeftShiftInput()
1453 if (match(Op0, m_OneUse(m_c_Or(m_Neg(m_Value(X)), m_Deferred(X))))) in visitLShr()
1622 m_ZExtOrSelf(m_Deferred(NBits)))))) || in foldVariableSignZeroExtensionOfVariableHighBitExtract()
1735 if (match(Op0, m_OneUse(m_c_Or(m_Neg(m_Value(X)), m_Deferred(X))))) in visitAShr()
H A DInstCombineCompares.cpp1644 m_AShr(m_Deferred(X), m_APInt(ShiftC)))))) in foldICmpXorShiftConst()
1892 if (match(And, m_c_And(m_Neg(m_Value(X)), m_Deferred(X)))) { in foldICmpAndConstant()
2087 match(Or, m_c_Or(m_Add(m_Value(X), m_AllOnes()), m_Deferred(X)))) { in foldICmpOrConstant()
4216 return match(V, m_c_Xor(m_Value(X), m_Neg(m_Deferred(X)))); in isMaskOrZero()
4219 return match(V, m_c_Xor(m_Value(X), m_Add(m_Deferred(X), m_AllOnes()))); in isMaskOrZero()
4428 m_Deferred(X)))) in foldICmpWithTruncSignExtendedVal()
4696 m_OneUse(m_IDiv(m_CombineAnd(m_c_Mul(m_Deferred(Y), in foldMultiplicationOverflowCheck()
4699 m_Deferred(X))), in foldMultiplicationOverflowCheck()
4741 if (match(&I, m_c_ICmp(Pred, m_NSWNeg(m_Value(X)), m_Deferred(X)))) { in foldICmpXNegX()
4755 if (match(&I, m_c_ICmp(Pred, m_OneUse(m_Neg(m_Value(X))), m_Deferred(X))) && in foldICmpXNegX()
[all …]
H A DInstCombineSelect.cpp3032 m_OneUse(m_Select(m_Deferred(InnerCond), in foldSelectOfSymmetricSelect()
3033 m_Deferred(InnerFalseVal), in foldSelectOfSymmetricSelect()
3034 m_Deferred(InnerTrueVal)))))) in foldSelectOfSymmetricSelect()
3276 m_c_LogicalOr(m_Deferred(A), m_Deferred(B))))) in foldSelectOfBools()
H A DInstCombineCalls.cpp520 if (match(Op0, m_c_And(m_Neg(m_Value(X)), m_Deferred(X)))) in foldCttzCtlz()
650 match(Op0, m_c_Or(m_Value(X), m_Neg(m_Deferred(X))))) { in foldCtpop()
660 m_c_And(m_Not(m_Value(X)), m_Add(m_Deferred(X), m_AllOnes())))) { in foldCtpop()
1645 if (match(IIOperand, m_Select(m_Value(), m_Value(X), m_Neg(m_Deferred(X))))) in visitCallInst()
1647 if (match(IIOperand, m_Select(m_Value(), m_Neg(m_Value(X)), m_Deferred(X)))) in visitCallInst()
H A DInstCombineCasts.cpp760 m_Deferred(X))))) { in visitTrunc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp87 m_Sub(m_SpecificInt(Width), m_Deferred(ShAmt))))))) { in foldGuardedFunnelShift()
96 m_LShr(m_Value(ShVal1), m_Deferred(ShAmt)))))) { in foldGuardedFunnelShift()
322 m_Deferred(ShiftOp0)), in tryToRecognizePopCount()
328 m_And(m_LShr(m_Deferred(AndOp0), m_SpecificInt(2)), in tryToRecognizePopCount()
570 m_LShr(m_Mul(m_c_And(m_Neg(m_Value(X1)), m_Deferred(X1)), in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp62 m_Deferred(Divisor)))) in matchExpandedRem()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h893 inline deferredval_ty<Value> m_Deferred(Value *const &V) { return V; } in m_Deferred() function
894 inline deferredval_ty<const Value> m_Deferred(const Value *const &V) { in m_Deferred() function
1010 inline deferredval_ty<BasicBlock> m_Deferred(BasicBlock *const &BB) { in m_Deferred() function
1014 m_Deferred(const BasicBlock *const &BB) { in m_Deferred() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDPatternMatch.h122 inline DeferredValue_match m_Deferred(SDValue &V) { in m_Deferred() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.cpp818 m_Deferred(Ptr)))))) in getPredicatedAddrSpace()
H A DAMDGPUCodeGenPrepare.cpp2154 m_Intrinsic<Intrinsic::floor>(m_Deferred(FloorSrc))))) in matchFractPat()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp211 m_c_Xor(m_c_And(m_Specific(LHS), m_Value(Y)), m_Deferred(Y))) && in haveNoCommonBitsSetSpecialCases()
916 if (HasKnownOne && match(I, m_c_And(m_Value(X), m_Neg(m_Deferred(X))))) { in getKnownBitsFromAndXorOr()
937 match(I, m_c_Xor(m_Value(X), m_Add(m_Deferred(X), m_AllOnes())))) { in getKnownBitsFromAndXorOr()
953 (match(I, m_c_BinOp(m_Value(X), m_c_Add(m_Deferred(X), m_Value(Y)))) || in getKnownBitsFromAndXorOr()
954 match(I, m_c_BinOp(m_Value(X), m_Sub(m_Deferred(X), m_Value(Y)))) || in getKnownBitsFromAndXorOr()
955 match(I, m_c_BinOp(m_Value(X), m_Sub(m_Value(Y), m_Deferred(X)))))) { in getKnownBitsFromAndXorOr()
H A DInstructionSimplify.cpp2214 m_c_Or(m_Deferred(X), m_Value(Y))))) && in simplifyAndInst()
4697 m_CombineOr(m_FShl(m_Value(X), m_Deferred(X), m_Value(ShAmt)), in simplifySelectWithICmpCond()
4698 m_FShr(m_Value(X), m_Deferred(X), m_Value(ShAmt))); in simplifySelectWithICmpCond()
5356 m_Sub(m_Value(X), m_PtrToInt(m_Deferred(Ptr))))) && in simplifyCastInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2571 m_Srl(m_Xor(m_Deferred(A), m_Deferred(B)), in foldSubToAvg()
2577 m_Sra(m_Xor(m_Deferred(A), m_Deferred(B)), in foldSubToAvg()
2936 m_Srl(m_Xor(m_Deferred(A), m_Deferred(B)), in foldAddToAvg()
2942 m_Sra(m_Xor(m_Deferred(A), m_Deferred(B)), in foldAddToAvg()
4517 m_Deferred(X)))) { in visitMUL()
6845 m_OneUse(m_Sra(m_Deferred(X), in foldAndToUsubsat()
6848 m_OneUse(m_Sra(m_Deferred(X), in foldAndToUsubsat()
H A DSelectionDAG.cpp4419 if (sd_match(Val, m_And(m_Value(X), m_Neg(m_Deferred(X))))) in isKnownToBeAPowerOfTwo()