Searched refs:InvariantRHS (Results 1 – 3 of 3) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ ! |
| H A D | LICM.cpp | 2538 Value *InvariantRHS, ICmpInst &ICmp, Loop &L, in hoistAdd() argument 2543 assert(L.isLoopInvariant(InvariantRHS) && "Precondition."); in hoistAdd() 2564 computeOverflowForSignedSub(InvariantRHS, InvariantOp, in hoistAdd() 2572 Value *NewCmpOp = Builder.CreateSub(InvariantRHS, InvariantOp, "invariant.op", in hoistAdd() 2585 Value *InvariantRHS, ICmpInst &ICmp, Loop &L, in hoistSub() argument 2590 assert(L.isLoopInvariant(InvariantRHS) && "Precondition."); in hoistSub() 2619 if (computeOverflowForSignedSub(InvariantOp, InvariantRHS, SQ) != in hoistSub() 2624 if (computeOverflowForSignedAdd(InvariantOp, InvariantRHS, SQ) != in hoistSub() 2633 ? Builder.CreateSub(InvariantOp, InvariantRHS, "invariant.op", in hoistSub() 2635 : Builder.CreateAdd(InvariantOp, InvariantRHS, "invariant.op", in hoistSub()
|
| H A D | InductiveRangeCheckElimination.cpp | 166 static bool reassociateSubLHS(Loop *L, Value *VariantLHS, Value *InvariantRHS, 368 Loop *L, Value *VariantLHS, Value *InvariantRHS, ICmpInst::Predicate Pred, in reassociateSubLHS() argument 376 const SCEV *Limit = SE.getSCEV(InvariantRHS); in reassociateSubLHS()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ ! |
| H A D | SimplifyIndVar.cpp | 226 const SCEV *InvariantRHS = LIP->RHS; in makeIVComparisonInvariant() local 230 if (Rewriter.isHighCostExpansion({InvariantLHS, InvariantRHS}, L, in makeIVComparisonInvariant() 233 !Rewriter.isSafeToExpandAt(InvariantRHS, PHTerm)) in makeIVComparisonInvariant() 238 Rewriter.expandCodeFor(InvariantRHS, IVOperand->getType(), PHTerm); in makeIVComparisonInvariant()
|