Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2547 Value *VariantOp, *InvariantOp; in hoistAdd() local
2548 if (!match(VariantLHS, m_NSWAdd(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistAdd()
2553 if (L.isLoopInvariant(VariantOp)) in hoistAdd()
2554 std::swap(VariantOp, InvariantOp); in hoistAdd()
2555 if (L.isLoopInvariant(VariantOp) || !L.isLoopInvariant(InvariantOp)) in hoistAdd()
2575 ICmp.setOperand(0, VariantOp); in hoistAdd()
2594 Value *VariantOp, *InvariantOp; in hoistSub() local
2595 if (!match(VariantLHS, m_NSWSub(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistSub()
2602 if (L.isLoopInvariant(VariantOp)) { in hoistSub()
2603 std::swap(VariantOp, InvariantOp); in hoistSub()
[all …]