Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2537 static bool hoistAdd(ICmpInst::Predicate Pred, Value *VariantLHS, in hoistAdd() argument
2542 assert(!L.isLoopInvariant(VariantLHS) && "Precondition."); in hoistAdd()
2548 if (!match(VariantLHS, m_NSWAdd(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistAdd()
2577 eraseInstruction(cast<Instruction>(*VariantLHS), SafetyInfo, MSSAU); in hoistAdd()
2584 static bool hoistSub(ICmpInst::Predicate Pred, Value *VariantLHS, in hoistSub() argument
2589 assert(!L.isLoopInvariant(VariantLHS) && "Precondition."); in hoistSub()
2595 if (!match(VariantLHS, m_NSWSub(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistSub()
2640 eraseInstruction(cast<Instruction>(*VariantLHS), SafetyInfo, MSSAU); in hoistSub()
H A DInductiveRangeCheckElimination.cpp166 static bool reassociateSubLHS(Loop *L, Value *VariantLHS, Value *InvariantRHS,
368 Loop *L, Value *VariantLHS, Value *InvariantRHS, ICmpInst::Predicate Pred,
371 if (!match(VariantLHS, m_Sub(m_Value(LHS), m_Value(RHS)))) in reassociateSubLHS()
447 cast<Instruction>(VariantLHS))) in reassociateSubLHS()
370 reassociateSubLHS(Loop * L,Value * VariantLHS,Value * InvariantRHS,ICmpInst::Predicate Pred,ScalarEvolution & SE,const SCEVAddRecExpr * & Index,const SCEV * & End) reassociateSubLHS() argument