redream/src/jit/ir/passes/constant_propagation_pass.h

18 lines
295 B
C++

#ifndef CONSTANT_PROPAGATION_PASS_H
#define CONSTANT_PROPAGATION_PASS_H
#include "jit/ir/passes/pass_runner.h"
class ConstantPropagationPass : public Pass {
public:
static const char *NAME = "constprop";
const char *name() {
return NAME;
}
void Run(struct ir_s *ir);
};
#endif