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

Method String

ir/func.go:98–100  ·  view source on GitHub ↗

String returns the LLVM syntax representation of the function as a type-value pair.

()

Source from the content-addressed store, hash-verified

96// String returns the LLVM syntax representation of the function as a type-value
97// pair.
98func (f *Func) String() string {
99 return fmt.Sprintf("%s %s", f.Type(), f.Ident())
100}
101
102// Type returns the type of the function.
103func (f *Func) Type() types.Type {

Callers 9

TestParseFileFunction · 0.45
TestModuleStringFunction · 0.45
LLStringMethod · 0.45
headerStringFunction · 0.45
bodyStringFunction · 0.45
genCallgraphFunction · 0.45
TestModuleFunction · 0.45
TestTypeCheckTruncFunction · 0.45
mainFunction · 0.45

Calls 2

TypeMethod · 0.95
IdentMethod · 0.65

Tested by 5

TestParseFileFunction · 0.36
TestModuleStringFunction · 0.36
genCallgraphFunction · 0.36
TestModuleFunction · 0.36
TestTypeCheckTruncFunction · 0.36