/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 61 EXPECT_TRUE(m_OneUse(m_Value(V)).match(One)); in TEST_F() 64 EXPECT_FALSE(m_OneUse(m_Value()).match(Two)); in TEST_F() 65 EXPECT_FALSE(m_OneUse(m_Value()).match(Leaf)); in TEST_F() 75 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 81 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 87 EXPECT_FALSE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 91 EXPECT_FALSE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 95 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 101 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F() 114 EXPECT_TRUE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 604 } else if (!match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper() 614 } else if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) { in foldLogOpOfMaskedICmpsHelper() 638 if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper() 658 if (!match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper() 924 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps() 928 } else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps() 1179 if (match(Op0, m_OneUse(m_Xor(m_ZExt(m_Value(A)), m_ConstantInt(C1)))) && in matchDeMorgansLaws() 1180 match(Op1, m_OneUse(m_Xor(m_ZExt(m_Value(B)), m_Specific(C1))))) { in matchDeMorgansLaws() 1221 if ((match(Op0, m_BitCast(m_Value(BC))) && match(Op1, m_Constant(C)))) { in foldCastedBitwiseLogic() 1286 if (match(Op1, m_SExt(m_Value())) || match(Op1, m_Not(m_Value()))) { in foldBoolSextMaskToSelect() [all …]
|
D | InstCombineAddSub.cpp | 987 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand() 990 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand() 992 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 995 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand() 998 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 1001 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand() 1015 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1021 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1023 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand() 1062 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() [all …]
|
D | InstCombineMulDivRem.cpp | 40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero() 201 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul() 216 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul() 255 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 257 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul() 283 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul() 287 if (!match(Mul, m_Mul(m_Value(), m_Value()))) in visitMul() 297 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul() 298 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul() 353 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul() [all …]
|
D | InstCombineCompares.cpp | 1549 match(LHSI->getOperand(0), m_Signum(m_Value(V)))) in visitICmpInstWithInstAndIntCst() 1791 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst() 1792 match(LShr, m_LShr(m_Specific(X), m_Value(Y)))) { in visitICmpInstWithInstAndIntCst() 1879 match(LHSI, m_Signum(m_Value(V)))) in visitICmpInstWithInstAndIntCst() 1887 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst() 1927 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst() 2766 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) { in ProcessUMulZExtIdiom() 3177 if (match(Op0, m_Select(m_Value(Cond), m_Value(SelectTrue), in visitICmpInst() 3178 m_Value(SelectFalse)))) { in visitICmpInst() 3264 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst() [all …]
|
D | InstCombineShifts.cpp | 46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms() 129 if ((IsLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted() 130 (!IsLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted() 428 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), in FoldShiftByConstant() 448 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant() 464 match(Op0BO->getOperand(0), m_Shr(m_Value(V1), in FoldShiftByConstant() 483 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))), in FoldShiftByConstant() 731 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl() 801 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
|
D | InstCombineSelect.cpp | 324 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr() 387 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz() 388 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz() 564 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in visitSelectInstWithICmp() 719 if (match(V, m_Not(m_Value(NotV)))) { in FoldSPFofSPF() 781 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd() 1158 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst() 1159 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst() 1160 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value()))); in visitSelectInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 210 if (match(LHS, m_Mul(m_Value(W), m_Value(X))) && in visitAdd() 211 match(RHS, m_Mul(m_Value(Y), m_Value(Z)))) { in visitAdd() 232 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X in visitAdd() 237 match(LHS, m_And(m_Value(X), m_ConstantInt(C2))) && in visitAdd() 277 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 281 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 558 if (match(Op1, m_Not(m_Value(X)))) in visitSub() 565 if (match(Op1, m_LShr(m_Value(X), m_ConstantInt(CI))) && in visitSub() 570 if (match(Op1, m_AShr(m_Value(X), m_ConstantInt(CI))) && in visitSub() [all …]
|
D | InstCombineAndOrXor.cpp | 585 if (match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper() 586 if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) in foldLogOpOfMaskedICmpsHelper() 590 if (!match(L2, m_And(m_Value(L11), m_Value(L12)))) in foldLogOpOfMaskedICmpsHelper() 600 if (match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper() 609 if (!ok && match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper() 782 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps() 788 else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps() 1132 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd() 1166 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd() 1167 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() [all …]
|
D | InstCombineMulDivRem.cpp | 37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero() 38 m_Value(B))) && in simplifyValueKnownNonZero() 133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { in visitMul() 150 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 152 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul() 226 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) in visitMul() 228 if (match(Op1, m_Shl(m_One(), m_Value(Y)))) in visitMul() 412 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms() 467 if (match(Op1, m_Shl(m_Power2(CI), m_Value(N)))) { in visitUDiv() 479 if (match(Op1, m_Select(m_Value(Cond), m_Power2(C1), m_Power2(C2)))) { in visitUDiv() [all …]
|
D | InstCombineCompares.cpp | 1222 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst() 1861 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst() 1868 match(Op0, m_Sub(m_Value(A), m_Value(B)))) { in visitICmpInst() 1961 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst() 1968 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 1978 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 1998 if (!match(Op0, m_And(m_Value(LHS), m_ConstantInt(LHSC))) || in visitICmpInst() 2005 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 2015 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 2446 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst() [all …]
|
D | InstCombineShifts.cpp | 44 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms() 82 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted() 83 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted() 416 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), in FoldShiftByConstant() 432 m_And(m_Shr(m_Value(V1), m_Specific(Op1)), in FoldShiftByConstant() 449 match(Op0BO->getOperand(0), m_Shr(m_Value(V1), in FoldShiftByConstant() 464 m_And(m_Shr(m_Value(V1), m_Value(V2)), in FoldShiftByConstant() 660 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl() 723 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
|
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/ |
D | Settings.cs | 15 private static Settings m_Value; field in LzmaAlone.Properties.Settings 23 if ((Settings.m_Value == null)) 26 if ((Settings.m_Value == null)) 30 Settings.m_Value = new Settings(); 38 return Settings.m_Value;
|
/external/pdfium/fpdfsdk/javascript/ |
D | JS_Value.cpp | 193 : m_bIsSetting(0), m_Value(pRuntime), m_pJSRuntime(pRuntime) {} in CJS_PropValue() 196 : m_bIsSetting(0), m_Value(value), m_pJSRuntime(pRuntime) {} in CJS_PropValue() 202 m_Value = CJS_Value(m_pJSRuntime, iValue); in operator <<() 207 iValue = m_Value.ToInt(m_pJSRuntime); in operator >>() 212 m_Value = CJS_Value(m_pJSRuntime, bValue); in operator <<() 217 bValue = m_Value.ToBool(m_pJSRuntime); in operator >>() 222 m_Value = CJS_Value(m_pJSRuntime, dValue); in operator <<() 227 dValue = m_Value.ToDouble(m_pJSRuntime); in operator >>() 232 m_Value = CJS_Value(m_pJSRuntime, pObj); in operator <<() 237 ppObj = m_Value.ToCJSObject(m_pJSRuntime); in operator >>() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 568 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 569 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 644 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in SimplifySubInst() 668 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in SimplifySubInst() 692 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst() 759 if ((match(Op0, m_IDiv(m_Value(X), m_Value(Y))) && Y == Op1) || // (X / Y) * Y in SimplifyMulInst() 760 (match(Op1, m_IDiv(m_Value(X), m_Value(Y))) && Y == Op0)) { // Y * (X / Y) in SimplifyMulInst() 843 if (match(Op0, m_Mul(m_Value(X), m_Value(Y))) && (X == Op1 || Y == Op1)) { in SimplifyDiv() 857 if ((isSigned && match(Op0, m_SRem(m_Value(), m_Specific(Op1)))) || in SimplifyDiv() 858 (!isSigned && match(Op0, m_URem(m_Value(), m_Specific(Op1))))) in SimplifyDiv() [all …]
|
D | ValueTracking.cpp | 722 if (match(V, m_Shl(m_One(), m_Value()))) in isPowerOfTwo() 727 if (match(V, m_LShr(m_SignBit(), m_Value()))) in isPowerOfTwo() 744 if (match(V, m_LShr(m_Value(), m_Value())) || in isPowerOfTwo() 745 match(V, m_UDiv(m_Value(), m_Value()))) { in isPowerOfTwo() 777 if (match(V, m_Or(m_Value(X), m_Value(Y)))) in isKnownNonZero() 786 if (BitWidth && match(V, m_Shl(m_Value(X), m_Value(Y)))) { in isKnownNonZero() 800 else if (match(V, m_Shr(m_Value(X), m_Value(Y)))) { in isKnownNonZero() 812 else if (match(V, m_IDiv(m_Value(X), m_Value()))) { in isKnownNonZero() 818 else if (match(V, m_Add(m_Value(X), m_Value(Y)))) { in isKnownNonZero()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 551 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 552 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 689 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in SimplifySubInst() 711 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in SimplifySubInst() 733 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst() 744 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst() 745 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst() 755 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst() 756 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst() 844 if (match(Op0, m_NegZero()) && match(Op1, m_FSub(m_NegZero(), m_Value(X)))) in SimplifyFSubInst() [all …]
|
D | ValueTracking.cpp | 566 if (match(Arg, m_c_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 574 m_c_ICmp(Pred, m_c_And(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume() 587 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume() 588 m_Value(A))) && in computeKnownBitsFromAssume() 602 m_c_ICmp(Pred, m_c_Or(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume() 615 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume() 616 m_Value(A))) && in computeKnownBitsFromAssume() 630 m_c_ICmp(Pred, m_c_Xor(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume() 646 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume() 647 m_Value(A))) && in computeKnownBitsFromAssume() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 94 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 101 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 109 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), in INITIALIZE_PASS_DEPENDENCY() 118 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 125 Match = match(In, m_And(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 132 Match = match(In, m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 139 Match = match(In, m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 401 if (m_UMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 403 else if (m_UMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 405 else if (m_SMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 407 else if (m_SMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 409 else if (m_OrdFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 411 else if (m_OrdFMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 413 else if (m_UnordFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 415 else if (m_UnordFMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 368 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd() 371 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd() 386 return (match(A, m_Add(m_Value(B), m_ConstantInt(C))) || in matchesAdd() 387 match(A, m_Add(m_ConstantInt(C), m_Value(B)))); in matchesAdd() 392 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr() 393 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr() 468 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 472 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 517 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
|
D | SeparateConstOffsetFromGEP.cpp | 1123 if (match(I, m_Add(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS)))) || in reuniteExts() 1124 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts() 1139 if (match(I, m_NSWAdd(m_Value(LHS), m_Value(RHS))) || in reuniteExts() 1140 match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) { in reuniteExts()
|
D | GuardWidening.cpp | 413 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon() 490 if (match(CheckCond, m_And(m_Value(AndLHS), m_Value(AndRHS)))) in parseRangeChecks() 531 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks() 537 m_Or(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
|
D | NaryReassociate.cpp | 501 return match(V, m_Add(m_Value(Op1), m_Value(Op2))); in matchTernaryOp() 503 return match(V, m_Mul(m_Value(Op1), m_Value(Op2))); in matchTernaryOp()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/ |
D | knobs.template | 60 const T& Value() const { return m_Value; } 61 const T& Value(const T& newValue) { m_Value = newValue; return Value(); } 64 Knob(const T& defaultValue) : m_Value(defaultValue) {} 67 T m_Value;
|