Function splatValue [src]
Prototype
pub fn splatValue(self: *Builder, ty: Type, val: Constant) Allocator.Error!Value
Parameters
self: *Builder
ty: Type
val: Constant
Source
pub fn splatValue(self: *Builder, ty: Type, val: Constant) Allocator.Error!Value {
return (try self.splatConst(ty, val)).toValue();
}