Home
last modified time | relevance | path

Searched refs:m_FNeg (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1490 if (match(&I, m_c_FAdd(m_FNeg(m_Value(X)), m_Value(Y)))) in visitFAdd()
1496 if (match(&I, m_c_FAdd(m_OneUse(m_c_FMul(m_FNeg(m_Value(X)), m_Value(Y))), in visitFAdd()
1503 if (match(&I, m_c_FAdd(m_OneUse(m_FDiv(m_FNeg(m_Value(X)), m_Value(Y))), in visitFAdd()
1505 match(&I, m_c_FAdd(m_OneUse(m_FDiv(m_Value(X), m_FNeg(m_Value(Y)))), in visitFAdd()
2126 if (match(&I, m_FNeg(m_OneUse(m_FMul(m_Value(X), m_Constant(C)))))) in foldFNegIntoConstant()
2129 if (match(&I, m_FNeg(m_OneUse(m_FDiv(m_Value(X), m_Constant(C)))))) in foldFNegIntoConstant()
2132 if (match(&I, m_FNeg(m_OneUse(m_FDiv(m_Constant(C), m_Value(X)))))) in foldFNegIntoConstant()
2141 if (!match(&I, m_FNeg(m_Value(FNeg)))) in hoistFNegAboveFMulFDiv()
2226 if (match(Op1, m_FNeg(m_Value(Y)))) in visitFSub()
2232 if (match(Op1, m_OneUse(m_FPTrunc(m_FNeg(m_Value(Y)))))) in visitFSub()
[all …]
DInstCombineMulDivRem.cpp418 if (match(Op0, m_FNeg(m_Value(X))) && match(Op1, m_FNeg(m_Value(Y)))) in visitFMul()
423 if (match(Op0, m_FNeg(m_Value(X))) && match(Op1, m_Constant(C))) in visitFMul()
1148 if (match(I.getOperand(0), m_FNeg(m_Value(X)))) in foldFDivConstantDivisor()
1177 if (match(I.getOperand(1), m_FNeg(m_Value(X)))) in foldFDivConstantDividend()
1279 if (match(Op0, m_FNeg(m_Value(X))) && match(Op1, m_FNeg(m_Value(Y)))) { in visitFDiv()
DInstCombineSelect.cpp338 if (match(TI, m_FNeg(m_Value(X))) && match(FI, m_FNeg(m_Value(Y))) && in foldSelectOpOp()
2493 match(TrueVal, m_FNeg(m_Specific(FalseVal))) && in visitSelectInst()
2505 match(FalseVal, m_FNeg(m_Specific(TrueVal))) && in visitSelectInst()
DInstCombineCalls.cpp2169 if (match(Arg0, m_FNeg(m_Value(X))) && match(Arg1, m_FNeg(m_Value(Y))) && in visitCallInst()
2262 if (match(Src0, m_FNeg(m_Value(X))) && match(Src1, m_FNeg(m_Value(Y)))) { in visitCallInst()
2347 if (match(Src, m_FNeg(m_Value(X))) || match(Src, m_FAbs(m_Value(X)))) { in visitCallInst()
2357 if (match(II->getArgOperand(0), m_OneUse(m_FNeg(m_Value(X))))) { in visitCallInst()
DInstCombineInternal.h86 match(V, m_Not(m_Value())) || match(V, m_FNeg(m_Value()))) in getComplexity()
DInstCombineCompares.cpp6091 if (match(Op0, m_FNeg(m_Value(X))) && match(Op1, m_FNeg(m_Value(Y)))) in visitFCmpInst()
6152 if (match(Op0, m_FNeg(m_Value(X)))) { in visitFCmpInst()
DInstCombineCasts.cpp1632 if (match(Op, m_FNeg(m_Value(X)))) { in visitFPTrunc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp211 !match(I, m_FNeg(m_Value()))) in getRank()
584 (Opcode == Instruction::FMul && match(Tmp, m_FNeg(m_Value())))) { in LinearizeExprTree()
858 if (!match(U, m_Neg(m_Value())) && !match(U, m_FNeg(m_Value()))) in NegateValue()
925 if (match(Sub, m_Neg(m_Value())) || match(Sub, m_FNeg(m_Value()))) in ShouldBreakUpSubtract()
1487 !match(TheOp, m_FNeg(m_Value(X)))) in OptimizeAdd()
1496 (match(TheOp, m_Neg(m_Value())) || match(TheOp, m_FNeg(m_Value())))) in OptimizeAdd()
2148 } else if (match(I, m_FNeg(m_Value()))) { in OptimizeInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4541 if (match(Op, m_FNeg(m_Value(X)))) in simplifyFNegInst()
4607 if (match(Op0, m_FNeg(m_Specific(Op1))) || in SimplifyFAddInst()
4608 match(Op1, m_FNeg(m_Specific(Op0)))) in SimplifyFAddInst()
4646 match(Op1, m_FNeg(m_Value(X)))) in SimplifyFSubInst()
4653 match(Op1, m_FNeg(m_Value(X))))) in SimplifyFSubInst()
5169 if (match(Op0, m_FNeg(m_Specific(Op1))) || in simplifyBinaryIntrinsic()
5170 match(Op1, m_FNeg(m_Specific(Op0)))) in simplifyBinaryIntrinsic()
DInlineCost.cpp1360 !match(&I, m_FNeg(m_Value()))) in visitBinaryOperator()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4650 if (match(LHSI, m_FNeg(m_Value(Op)))) in visitFCmpInst()
4704 if (match(Op0, m_FNeg(m_Value(X))) && match(Op1, m_FNeg(m_Value(Y)))) in visitFCmpInst()
/external/llvm/include/llvm/IR/
DPatternMatch.h900 template <typename LHS> inline fneg_match<LHS> m_FNeg(const LHS &L) { in m_FNeg() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1414 if (match(Call->getArgOperand(0), m_OneUse(m_FNeg(m_Value(X))))) in optimizeTrigReflections()
1421 if (match(Call->getArgOperand(0), m_FNeg(m_Value(X)))) in optimizeTrigReflections()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h839 m_FNeg(const OpTy &X) { in m_FNeg() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1804 if (match(I, m_FNeg(m_Value(X)))) in selectOperator()