NewInsertElement returns a new insertelement expression based on the given vector, element and element index.
(x, elem, index Constant)
| 77 | // NewInsertElement returns a new insertelement expression based on the given |
| 78 | // vector, element and element index. |
| 79 | func NewInsertElement(x, elem, index Constant) *ExprInsertElement { |
| 80 | e := &ExprInsertElement{X: x, Elem: elem, Index: index} |
| 81 | // Compute type. |
| 82 | e.Type() |
| 83 | return e |
| 84 | } |
| 85 | |
| 86 | // String returns the LLVM syntax representation of the constant expression as a |
| 87 | // type-value pair. |
no test coverage detected
searching dependent graphs…