Documentation
¶
Overview ¶
Package gep computes the result type of getelementptr instructions and constant expressions.
ref: https://llvm.org/docs/GetElementPtr.html ref: https://llvm.org/docs/LangRef.html#getelementptr-instruction
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Index ¶
type Index struct {
// HasVal specifies whether Val has a valid value. If index is a constant
// integer or a constant integer vector of which all elements have the same
// value, then HasVal is set. Note, this is a requirement to index into
// structure types.
HasVal bool
// Index integer value. Val is only valid if HasVal is set.
Val int64
// Length of index vector; or 0 if index is scalar. VectorLen may be non-zero
// even if HasVal is false.
VectorLen uint64
}
Index is a gep index.
Click to show internal directories.
Click to hide internal directories.