MCPcopy Create free account
hub / github.com/google/gapid / Builder

Struct Builder

core/codegen/builder.go:31–39  ·  view source on GitHub ↗

Builder is provided to the callback of Build() for building a function's body.

Source from the content-addressed store, hash-verified

29
30// Builder is provided to the callback of Build() for building a function's body.
31type 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().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected