@@ -110,8 +110,16 @@ pub trait BuilderMethods<'a, 'tcx>:
110110fn frem ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
111111fn frem_fast ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
112112fn frem_algebraic ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
113+ /// Generate a left-shift. Both operands must have the same size. The right operand must be
114+ /// interpreted as unsigned and can be assumed to be less than the size of the left operand.
113115fn shl ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
116+ /// Generate a logical right-shift. Both operands must have the same size. The right operand
117+ /// must be interpreted as unsigned and can be assumed to be less than the size of the left
118+ /// operand.
114119fn lshr ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
120+ /// Generate an arithmetic right-shift. Both operands must have the same size. The right operand
121+ /// must be interpreted as unsigned and can be assumed to be less than the size of the left
122+ /// operand.
115123fn ashr ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
116124fn unchecked_sadd ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;
117125fn unchecked_uadd ( & mut self , lhs : Self :: Value , rhs : Self :: Value ) ->Self :: Value ;