Function gepValue [src]

Prototype

pub fn gepValue( self: *Builder, comptime kind: Constant.GetElementPtr.Kind, ty: Type, base: Constant, inrange: ?u16, indices: []const Constant, ) Allocator.Error!Value

Parameters

self: *Builderkind: Constant.GetElementPtr.Kindty: Typebase: Constantinrange: ?u16indices: []const Constant

Source

pub fn gepValue( self: *Builder, comptime kind: Constant.GetElementPtr.Kind, ty: Type, base: Constant, inrange: ?u16, indices: []const Constant, ) Allocator.Error!Value { return (try self.gepConst(kind, ty, base, inrange, indices)).toValue(); }