Home
last modified time | relevance | path

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

/freebsd/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()
2554 std::swap(VariantOp, InvariantOp); in hoistAdd()
2555 if (L.isLoopInvariant(VariantOp) || !L.isLoopInvariant(InvariantOp)) in hoistAdd()
2564 computeOverflowForSignedSub(InvariantRHS, InvariantOp, in hoistAdd()
2572 Value *NewCmpOp = Builder.CreateSub(InvariantRHS, InvariantOp, "invariant.op", in hoistAdd()
2594 Value *VariantOp, *InvariantOp; in hoistSub() local
2595 if (!match(VariantLHS, m_NSWSub(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistSub()
2603 std::swap(VariantOp, InvariantOp); in hoistSub()
2607 if (L.isLoopInvariant(VariantOp) || !L.isLoopInvariant(InvariantOp)) in hoistSub()
[all …]