lean4-htt/src/library/compiler/cse.h
Leonardo de Moura fbc1bb4d89 perf(library/compiler): add common subexpression elimination
It addresses a performance problem reported by Brian (huffman@galois.com).
2016-12-11 14:43:51 -08:00

13 lines
392 B
C++

/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "library/compiler/procedure.h"
namespace lean {
/* Common subexpression elimination.
It must be only applied after simp_inductive step. */
void cse(environment const & env, buffer<procedure> & procs);
}