Function splatValue [src]

Prototype

pub fn splatValue(self: *Builder, ty: Type, val: Constant) Allocator.Error!Value

Parameters

self: *Builderty: Typeval: Constant

Source

pub fn splatValue(self: *Builder, ty: Type, val: Constant) Allocator.Error!Value { return (try self.splatConst(ty, val)).toValue(); }