/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1027 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 D | InstCombineAndOrXor.cpp | 1852 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 D | InstCombineMulDivRem.cpp | 520 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 D | InstCombineShifts.cpp | 224 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 D | InstCombineCompares.cpp | 1644 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 D | InstCombineSelect.cpp | 3032 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 D | InstCombineCalls.cpp | 520 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 D | InstCombineCasts.cpp | 760 m_Deferred(X))))) { in visitTrunc()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 87 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 D | DivRemPairs.cpp | 62 m_Deferred(Divisor)))) in matchExpandedRem()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 893 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 D | SDPatternMatch.h | 122 inline DeferredValue_match m_Deferred(SDValue &V) { in m_Deferred() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetMachine.cpp | 818 m_Deferred(Ptr)))))) in getPredicatedAddrSpace()
|
H A D | AMDGPUCodeGenPrepare.cpp | 2154 m_Intrinsic<Intrinsic::floor>(m_Deferred(FloorSrc))))) in matchFractPat()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 211 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 D | InstructionSimplify.cpp | 2214 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 D | DAGCombiner.cpp | 2571 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 D | SelectionDAG.cpp | 4419 if (sd_match(Val, m_And(m_Value(X), m_Neg(m_Deferred(X))))) in isKnownToBeAPowerOfTwo()
|