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

Method Type

ir/inst_binary.go:48–54  ·  view source on GitHub ↗

Type returns the type of the instruction.

()

Source from the content-addressed store, hash-verified

46
47// Type returns the type of the instruction.
48func (inst *InstAdd) Type() types.Type {
49 // Cache type if not present.
50 if inst.Typ == nil {
51 inst.Typ = inst.X.Type()
52 }
53 return inst.Typ
54}
55
56// LLString returns the LLVM syntax representation of the instruction.
57//

Callers 2

NewAddFunction · 0.95
StringMethod · 0.95

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected