--- [ Binary expressions ] -------------------------------------------------- ~~~ [ add ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExprAdd is an LLVM IR add expression.
| 14 | |
| 15 | // ExprAdd is an LLVM IR add expression. |
| 16 | type ExprAdd struct { |
| 17 | // Operands. |
| 18 | X, Y Constant // integer scalar or vector constants |
| 19 | |
| 20 | // extra. |
| 21 | |
| 22 | // Type of result produced by the constant expression. |
| 23 | Typ types.Type |
| 24 | // (optional) Integer overflow flags. |
| 25 | OverflowFlags []enum.OverflowFlag |
| 26 | } |
| 27 | |
| 28 | // NewAdd returns a new add expression based on the given operands. |
| 29 | func NewAdd(x, y Constant) *ExprAdd { |
nothing calls this directly
no outgoing calls
no test coverage detected