MCPcopy Create free account
hub / github.com/llir/llvm / NewModule

Function NewModule

ir/module.go:62–66  ·  view source on GitHub ↗

NewModule returns a new LLVM IR module.

()

Source from the content-addressed store, hash-verified

60
61// NewModule returns a new LLVM IR module.
62func NewModule() *Module {
63 return &Module{
64 NamedMetadataDefs: make(map[string]*metadata.NamedDef),
65 }
66}
67
68// String returns the string representation of the module in LLVM IR assembly
69// syntax.

Callers 4

newGeneratorFunction · 0.92
TestAssignGlobalIDsFunction · 0.92
ExampleFunction · 0.92
Example_mainFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestAssignGlobalIDsFunction · 0.74
ExampleFunction · 0.74
Example_mainFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…