mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-06 14:38:54 +01:00
Add OpLogicalNot and OpBitcast
This commit is contained in:
parent
4f66fb18e9
commit
9c7f96a809
4 changed files with 46 additions and 0 deletions
|
|
@ -243,6 +243,11 @@ class Module {
|
|||
/// Result is true if Operand is false. Result is false if Operand is true.
|
||||
Id OpLogicalNot(Id result_type, Id operand);
|
||||
|
||||
// Conversion
|
||||
|
||||
/// Bit pattern-preserving type conversion.
|
||||
Id OpBitcast(Id result_type, Id operand);
|
||||
|
||||
private:
|
||||
Id AddCode(std::unique_ptr<Op> op);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue