Improved ssa compiler
All checks were successful
/ test (push) Successful in 15s

This commit is contained in:
Eduard Urbach 2025-07-02 16:55:24 +02:00
parent c9c6b94c18
commit 3301cf5542
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
49 changed files with 690 additions and 262 deletions

View file

@ -6,13 +6,24 @@ import (
)
type Value interface {
AddUse(Value)
Alive() int
Dependencies() []Value
End() token.Position
Equals(Value) bool
// Essentials
Debug() string
ID() int
IsConst() bool
SetID(int)
String() string
Start() token.Position
Type() types.Type
// Arguments
Dependencies() []Value
Equals(Value) bool
// Liveness
AddUser(Value)
CountUsers() int
// Source
SetSource(token.List)
Start() token.Position
End() token.Position
}