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

Struct Array

ir/constant/const_array.go:14–19  ·  view source on GitHub ↗

--- [ Array constants ] ----------------------------------------------------- Array is an LLVM IR array constant.

Source from the content-addressed store, hash-verified

12
13// Array is an LLVM IR array constant.
14type Array struct {
15 // Array type.
16 Typ *types.ArrayType
17 // Array elements.
18 Elems []Constant
19}
20
21// NewArray returns a new array constant based on the given array type and
22// elements. The array type is infered from the type of the elements if t is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected