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

Method Ident

ir/constant/expr_binary.go:192–195  ·  view source on GitHub ↗

Ident returns the identifier associated with the constant expression.

()

Source from the content-addressed store, hash-verified

190
191// Ident returns the identifier associated with the constant expression.
192func (e *ExprFSub) Ident() string {
193 // 'fsub' '(' X=TypeConst ',' Y=TypeConst ')'
194 return fmt.Sprintf("fsub (%s, %s)", e.X, e.Y)
195}
196
197// ~~~ [ mul ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198

Callers 1

StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected