q/src/ssa/Type.go
Eduard Urbach 14bccadd0f
All checks were successful
/ test (push) Successful in 16s
Implemented a basic API for SSA
2025-06-20 23:42:58 +02:00

35 lines
No EOL
249 B
Go

package ssa
// Type represents the instruction type.
type Type byte
const (
None Type = iota
// Values
Int
Float
String
// Binary
Add
Sub
Mul
Div
Mod
// Bitwise
And
Or
Xor
Shl
Shr
// Branch
If
Jump
// Special
Call
Phi
)