func arrayElementSize(t types.T) int32 { ret := t.Size() if t.RegSizeAlign() { return types.RegSizeAlignUp(ret) } return ret }
func (b *builder) newLocal(t types.T, name string) ir.Ref { return b.f.NewLocal(t.Size(), name, types.IsByte(t), t.RegSizeAlign(), ) }
func (b *builder) newGlobalVar(t types.T, name string) ir.Ref { name = b.anonyName(name) return b.p.NewGlobalVar(t.Size(), name, types.IsByte(t), t.RegSizeAlign()) }
func (b *builder) newTempIR(t types.T) ir.Ref { return b.f.NewTemp(t.Size(), types.IsByte(t), t.RegSizeAlign()) }