[llvm] Introduce CounterExpressionBuilder::replace(C, Map) (PR #112698)

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 20:12:56 PST 2024


================
@@ -213,6 +214,11 @@ class CounterExpressionBuilder {
   /// Return a counter that represents the expression that subtracts RHS from
   /// LHS.
   Counter subtract(Counter LHS, Counter RHS, bool Simplify = true);
+
+  using ReplaceMap = std::map<Counter, Counter>;
----------------
ornata wrote:

I'm ok with revisiting this later.

https://github.com/llvm/llvm-project/pull/112698


More information about the llvm-commits mailing list