Home
last modified time | relevance | path

Searched refs:m_Value (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/unittests/IR/
DPatternMatch.cpp61 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/
DInstCombineAndOrXor.cpp618 } else if (!match(L1, m_And(m_Value(L11), m_Value(L12)))) { in foldLogOpOfMaskedICmpsHelper()
628 } else if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) { in foldLogOpOfMaskedICmpsHelper()
652 if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
672 if (!match(R2, m_And(m_Value(R11), m_Value(R12)))) { in foldLogOpOfMaskedICmpsHelper()
943 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
947 } else if (match(Val, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
1310 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
1344 if (match(Op0, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
1345 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1350 if (match(Op1, m_Or(m_Value(A), m_Value(B))) && in visitAnd()
[all …]
DInstCombineAddSub.cpp1007 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand()
1010 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand()
1012 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1015 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand()
1018 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
1021 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
1035 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1041 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1043 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
1082 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
[all …]
DInstCombineMulDivRem.cpp40 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero()
194 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
209 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
244 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul()
246 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul()
272 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul()
276 if (!match(Mul, m_Mul(m_Value(), m_Value()))) in visitMul()
286 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul()
287 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul()
342 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul()
[all …]
DInstCombineCompares.cpp1386 if (match(Or, m_Or(m_Value(LShr), m_Value(X))) && in visitICmpInstWithInstAndIntCst()
1387 match(LShr, m_LShr(m_Specific(X), m_Value(Y)))) { in visitICmpInstWithInstAndIntCst()
1456 if (match(LHSI, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) { in visitICmpInstWithInstAndIntCst()
1496 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst()
2313 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) { in ProcessUMulZExtIdiom()
2673 if (match(Op0, m_Select(m_Value(Cond), m_Value(SelectTrue), in visitICmpInst()
2674 m_Value(SelectFalse)))) { in visitICmpInst()
2757 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in visitICmpInst()
2767 match(Op0, m_Sub(m_Value(A), m_Value(B)))) in visitICmpInst()
2772 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
[all …]
DInstCombineShifts.cpp46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
84 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || in CanEvaluateShifted()
85 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { in CanEvaluateShifted()
427 match(Op0BO->getOperand(1), m_Shr(m_Value(V1), in FoldShiftByConstant()
447 m_And(m_OneUse(m_Shr(m_Value(V1), m_Specific(Op1))), in FoldShiftByConstant()
463 match(Op0BO->getOperand(0), m_Shr(m_Value(V1), in FoldShiftByConstant()
482 m_And(m_OneUse(m_Shr(m_Value(V1), m_Value(V2))), in FoldShiftByConstant()
730 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl()
800 if (match(Op0, m_Shl(m_Value(X), m_Specific(Op1)))) { in visitAShr()
DInstCombineCalls.cpp393 if (match(IIOperand, m_BSwap(m_Value(X)))) in visitCallInst()
397 if (match(IIOperand, m_Trunc(m_BSwap(m_Value(X))))) { in visitCallInst()
526 if (match(Arg1, m_FMin(m_Value(X), m_Value(Y)))) { in visitCallInst()
533 if (match(Arg0, m_FMin(m_Value(X), m_Value(Y)))) { in visitCallInst()
549 if (match(Arg1, m_FMax(m_Value(X), m_Value(Y)))) { in visitCallInst()
556 if (match(Arg0, m_FMax(m_Value(X), m_Value(Y)))) { in visitCallInst()
1134 if (match(IIOperand, m_And(m_Value(A), m_Value(B)))) { in visitCallInst()
1140 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
DInstCombineSelect.cpp406 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr()
469 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz()
470 match(Count, m_Trunc(m_Value(V)))) in foldSelectCttzCtlz()
682 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in visitSelectInstWithICmp()
851 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS)))) in foldSelectICmpAnd()
1176 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst()
1177 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst()
1178 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value()))); in visitSelectInst()
DInstCombineCasts.cpp473 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
497 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
867 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
873 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
874 match(And, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Specific(C)))) && in visitZExt()
883 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
1128 if (match(Src, m_AShr(m_Shl(m_Trunc(m_Value(A)), m_ConstantInt(BA)), in visitSExt()
1698 if (match(Src, m_Trunc(m_BitCast(m_Value(VecInput)))) && in OptimizeIntToFloatBitCast()
1721 if (match(Src, m_Trunc(m_LShr(m_BitCast(m_Value(VecInput)), in OptimizeIntToFloatBitCast()
DInstructionCombining.cpp1515 m_AShr(m_Value(V), m_ConstantInt(C)))) { in visitGetElementPtrInst()
1519 m_SDiv(m_Value(V), m_ConstantInt(C)))) { in visitGetElementPtrInst()
1529 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
1538 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
2022 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
2041 if (match(&BI, m_Br(m_FCmp(FPred, m_Value(X), m_Value(Y)), in visitBranchInst()
2057 if (match(&BI, m_Br(m_ICmp(IPred, m_Value(X), m_Value(Y)), in visitBranchInst()
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/
DSettings.cs15 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/llvm/lib/Analysis/
DInstructionSimplify.cpp555 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst()
556 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst()
691 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in SimplifySubInst()
713 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in SimplifySubInst()
735 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst()
746 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in SimplifySubInst()
747 match(Op1, m_Trunc(m_Value(Y)))) in SimplifySubInst()
757 if (match(Op0, m_PtrToInt(m_Value(X))) && in SimplifySubInst()
758 match(Op1, m_PtrToInt(m_Value(Y)))) in SimplifySubInst()
853 if (match(Op1, m_FSub(m_NegZero(), m_Value(X)))) in SimplifyFSubInst()
[all …]
DValueTracking.cpp721 if (match(Arg, m_c_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume()
729 m_c_ICmp(Pred, m_c_And(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume()
741 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume()
742 m_Value(A))) && in computeKnownBitsFromAssume()
755 m_c_ICmp(Pred, m_c_Or(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume()
767 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume()
768 m_Value(A))) && in computeKnownBitsFromAssume()
781 m_c_ICmp(Pred, m_c_Xor(m_V, m_Value(B)), m_Value(A))) && in computeKnownBitsFromAssume()
796 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume()
797 m_Value(A))) && in computeKnownBitsFromAssume()
[all …]
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DFade.frag4 uniform float m_Value;
9 gl_FragColor = texVal * m_Value;
DFade15.frag4 uniform float m_Value;
10 gl_FragColor = texVal * m_Value;
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp390 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
393 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
411 if (match(LHS, m_Add(m_Value(B), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForMul()
473 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
477 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
516 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx)))) in allocateCandidatesAndFindBasisForGEP()
DNaryReassociate.cpp214 if (LHS->hasOneUse() && match(LHS, m_Add(m_Value(A), m_Value(B)))) { in tryReassociateAdd()
DGVN.cpp2152 if ((isKnownTrue && match(LHS, m_And(m_Value(A), m_Value(B)))) || in propagateEquality()
2153 (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) { in propagateEquality()
DInductiveRangeCheckElimination.cpp334 if (match(Condition, m_And(m_Value(A), m_Value(B)))) { in parseRangeCheck()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToHTMLStream.java2139 Object ret = node.m_Value; in put()
2141 node.m_Value = value; in put()
2182 return node.m_Value; in get()
2224 return node.m_Value; in get()
2242 m_Value = null; in Node()
2249 Object m_Value; field in ToHTMLStream.Trie.Node
2307 return node.m_Value; in get2()
2337 return node.m_Value; in get2()
/external/pdfium/core/src/fxcrt/
Dfx_xml_parser.cpp645 value = item.m_Value; in GetAttrByIndex()
790 return &item.m_Value; in Lookup()
800 item.m_Value = value; in SetAt()
813 pItem->m_Value = value; in SetAt()
/external/llvm/include/llvm/IR/
DPatternMatch.h64 inline class_match<Value> m_Value() { return class_match<Value>(); } in m_Value() function
296 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() function
1125 if (!m_ICmp(Pred, m_Value(ICmpLHS), m_Value(ICmpRHS)).match(V)) in match()
1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4260 if (m_UMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4262 else if (m_UMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4264 else if (m_SMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4266 else if (m_SMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4268 else if (m_OrdFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4270 else if (m_OrdFMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4272 else if (m_UnordFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
4274 else if (m_UnordFMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern()
/external/pdfium/core/include/fxcrt/
Dfx_xml.h17 CFX_WideString m_Value; variable
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp758 m_UAddWithOverflow(m_Value(A), m_Value(B), m_Instruction(AddI)))) in CombineUAddWithOverflow()
2159 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in MatchScaledValue()
4589 if (match(LogicOp, m_And(m_OneUse(m_Value(Cond1)), in splitBranchCondition()
4590 m_OneUse(m_Value(Cond2))))) in splitBranchCondition()
4592 else if (match(LogicOp, m_Or(m_OneUse(m_Value(Cond1)), in splitBranchCondition()
4593 m_OneUse(m_Value(Cond2))))) in splitBranchCondition()

12