30 const int maxShiftWidth = 5;
31 const IR::Expression *shift(
const IR::Operation_Binary *expression)
const;
36 setName(
"LowerExpressions");
39 const IR::Node *postorder(IR::Shl *expression)
override {
return shift(expression); }
40 const IR::Node *postorder(IR::Shr *expression)
override {
return shift(expression); }
41 const IR::Node *postorder(IR::Expression *expression)
override;
42 const IR::Node *postorder(IR::Slice *expression)
override;
43 const IR::Node *postorder(IR::Concat *expression)
override;
44 const IR::Node *postorder(IR::Cast *expression)
override;