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

Method Type

ir/inst_binary.go:112–118  ·  view source on GitHub ↗

Type returns the type of the instruction.

()

Source from the content-addressed store, hash-verified

110
111// Type returns the type of the instruction.
112func (inst *InstFAdd) Type() types.Type {
113 // Cache type if not present.
114 if inst.Typ == nil {
115 inst.Typ = inst.X.Type()
116 }
117 return inst.Typ
118}
119
120// LLString returns the LLVM syntax representation of the instruction.
121//

Callers 2

NewFAddFunction · 0.95
StringMethod · 0.95

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected