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

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


================
@@ -135,6 +135,38 @@ Counter CounterExpressionBuilder::subtract(Counter LHS, Counter RHS,
   return Simplify ? simplify(Cnt) : Cnt;
 }
 
+Counter CounterExpressionBuilder::replace(Counter C, const ReplaceMap &Map) {
----------------
ornata wrote:

OK gotcha

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


More information about the llvm-commits mailing list