Builder is provided to the callback of Build() for building a function's body.
| 29 | |
| 30 | // Builder is provided to the callback of Build() for building a function's body. |
| 31 | type Builder struct { |
| 32 | function *Function // The function being built. |
| 33 | params []*Value // Function parameter values. |
| 34 | entry llvm.BasicBlock // Function entry block. |
| 35 | exit llvm.BasicBlock // Function exit block. |
| 36 | result llvm.Value // Function return value. |
| 37 | llvm llvm.Builder |
| 38 | m *Module |
| 39 | } |
| 40 | |
| 41 | // buildFailure is a special type thrown as a panic by fail(). |
| 42 | // They are caught in Build(). |
nothing calls this directly
no outgoing calls
no test coverage detected